安装
安装方法一
- 安装教程
- 首页
- 管理员账户:
root|rokevin123 - 版本:gitlab-ce-9.5.3-ce.0.el6.x86_64.rpm
- SMTP邮箱:
gitlab@rokevin.cn|RokevinGitLab123
环境需要
/bin/sh
/bin/sh
openssh-server
policycoreutils-python
scp上传文件命令
scp -P 9846 /Users/wonderworld/Downloads/gitlab-ce-9.5.3-ce.0.el6.x86_64.rpm root@115.28.190.250:/root/
rpm安装命令:
rpm -i gitlab-ce-9.5.3-ce.0.el6.x86_64.rpm
安装必要的依赖
按照官网的安装教程继续安装,修改配置文件后重载配置文件
安装方法二
https://about.gitlab.com/installation/#centos-7?version=ce
修改/etc/gitlab/gitlab.rb 配置
nginx配置
迁移gitlab
升级:
https://about.gitlab.com/update/#centos-7
注意
gitlab需要系统UTF-8编码
vi /etc/locale.conf
语言要为
LANG=en_US.UTF-8