参考文档:https://blog.youkuaiyun.com/wzx19840423/article/details/52350512
https://www.cnblogs.com/straycats/p/7637373.html
1、安装和配置必须的依赖
sudo yum install curl openssh-server openssh-clients postfix cronie policycoreutils-python
sudo service postfix start
sudo chkconfig postfix on
sudo lokkit -s http -s ssh
2、部署汉化的gitlab
2.1 安装git
yum install -y git
2.2 克隆获取汉化版本库
下载最新的汉化包
git clone https://gitlab.com/xhang/gitlab.git
如果是要下载老版本的汉化包,需要加上老版本的分支,比如今天已经是10.0.4,我依旧想下载10.0.2,可以运行下面的语句
git clone https://gitlab.com/xhang/gitlab.git -b v10.0.2-zh
2.3 查看该汉化补丁的版本
cat gitlab/VERSION
2.4 获取gitlab的安装包
wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-10.0.2-ce.0.el7.x86_64.rpm