centos直接安装gitLab教程1. 安装依赖软件【CentOS直接安装gitLab教程】yum -y install policycoreutils openssh-server openssh-clients postfix2.设置postfix开机自启,并启动,postfix支持gitlab发信功能systemctl enable postfix && systemctl start postfix# 如果执行这步报错,则按照下面操作vim /etc/postfix/main.cfinet_protocols = ipv4inet_interfaces = all3.下载gitlab安装包,然后安装centos6系统的下载地址:https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6centos7系统的下载地址:https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7# 下载rpm包并安装:wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-8.0.0-ce.0.el7.x86_64.rpmrpm -i gitlab-ce-8.0.0-ce.0.el7.x86_64.rpm --force --nodeps4.修改gitlab配置文件指定服务器ip和自定义端口vim/etc/gitlab/gitlab.rbexternal_url项配置5.重置并启动GitLabgitlab-ctl reconfiguregitlab-ctl restart#执行gitlab-ctl reconfigure可能会卡死,则ctrl+c强制退出运行:systemctl restart gitlab-runsvdir;再次执行:gitlab-ctl reconfigure6. 默认账户和密码# 账户root# 密码5iveL!fe
推荐阅读
- 替换CentOS的5个免费Linux发行版
- vmware workstation 安装centos-vmware workstation安装linux系统-
- MySql安装全攻略,如果想好好学习,一篇就够了
- 5款电视上安装的浏览器,你家是哪款?
- Ubuntu20.04各种软件的安装
- win10镜像文件安装教程?Windows10镜像
- 厌食症|DOTA2:减肥是有钱人的特权?zard翔哥看到这句话直接怒了
- AutoCAD2016安装失败怎么回事 原因与解决办法
- 谷歌浏览器Chrome听歌插件Listen 1安装方法
- 新手教程,Linux系统下MySQL的安装
