CentOS7 安装并汉化 GitLab

33次阅读

共计 422 个字符,预计需要花费 2 分钟才能阅读完成。

一、安装 GitLab
当前版本为 8.8.5

准备安装环境
curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash

安装 GitLab
# –nogpgcheck 防止因没有签名导致无法安装的问题
sudo yum install gitlab-ce-8.8.5-ce.1.el7.x86_64 –nogpgcheck

配置 GitLab
# 执行结束浏览器中输入本机 IP 地址即可正常访问
sudo gitlab-ctl reconfigure

二、汉化 GitLab

安装 Git
yum install -y git

下载汉化包
# 下载 8-8-zh 分支
git clone https://gitlab.com/larryli/gitlab.git -b 8-8-zh
# 进入目录
cd gitlab

停止 GitLab 服务
gitlab-ctl stop

参考链接

GitLab 下载
汉化下载

正文完
 0