CentOs7 安装 gitlab并汉化(踩坑)

我安装的是gitlat-13.5.1-ee

首先,注意停用nginx,因为gitlab自带的nginx会与它(80端口)冲突,我把gitlab自带的nginx设置到别的端口,root设置密码时,会提示密码验证不通过,可能是我没有把端口彻底设置好吧

1.安装

参考 https://www.jianshu.com/p/ade38a53b1ac

2.汉化

参考1 git下载出错,如何处理
RPC failed; result=18

解决:
//调整缓存大小
git config --global http.postBuffer 1048576000

//增加最低速度时间解决
git config --global http.lowSpeedLimit 0
git config --global http.lowSpeedTime 99999999

参考2 遇到的错误直接回车跳过 https://www.cnblogs.com/yanjieli/p/10605381.html
注意 :gitlab版本为 13.x的不需要汉化
设置参考:https://blog.whsir.com/post-5459.html

查看gitlab版本 命令:cat /opt/gitlab/embedded/service/gitlab-rails/VERSION

如果想在页面查看
在这里插入图片描述

3.最终效果

在这里插入图片描述