部署 GitLab 服务器
下载地址
官方教程
[root@root ~]
[root@root ~]
[root@root ~]
[root@root ~]
[root@root ~]
[root@root ~]
[root@root ~]
inet_interfaces = localhost 改成 inet_interfaces = all
[root@root ~]
[root@root ~]
阿里云添加安全组规则
汉化GitLab
下载地址(选择对应版本)
cat /opt/gitlab/embedded/service/gitlab-rails/VERSION
wget方式(指定版本)
wget https://gitlab.com/xhang/gitlab/-/archive/11-9-stable/gitlab-11-9-stable.tar.gz
tar -axvf gitlab-11-9-stable.tar.gz
解压后可以直接删除下载的压缩文件了
cat gitlab-11-9-stable/VERSION
或者
cat gitlab/VERSION
cd /opt/gitlab/embedded/service
mv gitlab-rails pre // 将原配置文件更名为 pre
mv /home/vagrant/gitlab-11-9-stable/ gitlab-rails // 将下载的汉化包,移动过来,并更名
sudo gitlab-ctl reconfigure
sudo gitlab-ctl restart