#参考:https://www.gitlab.com.cn/installation/#centos-7
#安装
sudo yum install -y curl policycoreutils-python openssh-server
sudo systemctl enable sshd
sudo systemctl start sshd
sudo firewall-cmd --permanent --add-service=http
sudo systemctl reload firewalld
sudo yum install postfix
sudo systemctl enable postfix
sudo systemctl start postfix
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash
#下载地址:https://mirrors.tuna.tsinghua.edu.cn/gitlab-ee/yum/el7/
EXTERNAL_URL="http://192.168.233.20:10060" rpm -ivh gitlab-ee-10.6.3-ee.0.el7.x86_64.rpm
firewall-cmd --permanent --zone=public --add-port=10060/tcp
firewall-cmd --reload
#访问
http://192.168.233.20:10060
root 111111
#说明
第一次使用root登录,会提示重置密码
#安装目录
/opt/gitlab
#配置参考
https://docs.gitlab.com/omnibus/README.html#installation-and-configuration-using-omnibus-package
上一篇

安装golang
2019-02-26
下一篇

安装禅道Zentao
2019-02-26