centos7安装gitlab
- 安装依赖:
yum -y install curl policycoreutils-python openssh-serversystemctl enable sshdsystemctl start sshdyum -y install postfixsystemctl enable postfixsystemctl start postfixfirewall-cmd --permanent --add-service=httpsystemctl reload firewalld
- 安装:
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | bashyum -y install gitlab-ee
- 启动:a. 加载配置:
gitlab-ctl reconfigure
b. 启动:
gitlab-ctl start
- 常用命令:a. 加载配置:
gitlab-ctl reconfigure
b. 启动:
gitlab-ctl start
c. 停止:
gitlab-ctl stop
d. 重启:
gitlab-ctl restart
e. 查看状态:
gitlab-ctl status
- 修改密码并登录:
访问:172.20.10.11用户名:root
文章同步发布: