本文共 556 字,大约阅读时间需要 1 分钟。
选择合适的版本进行下载即可。
下载完成后。安装包下载可能会非常缓慢,需要一些耐心等待下载完成。
#使用yum安装#> yum install -y gitlab-ce-11.6.10-ce.0.el7.x86_64.rpm#使用rpm安装#>rpm -ivh gitlab-ce-11.6.10-ce.0.el7.x86_64.rpm
# 重新配置#>gitlab-ctl reconfigure#>gitlab-ctl start#>gitlab-ctl stop
1.gitlab-ctl reconfigure命令时,80端口被nginx占用,导致无法启动服务
由于安装gitlab之前我已经安装了nginx,所以80端口已经被占用了,导致无法启动gitlab。
解决方案:修改gitlab默认端口。#>vim /etc/gitlab/gitlab.rb#添加如下:external_url 'http:192.168.50.18:8082'
转载于:https://blog.51cto.com/4837471/2386523