gitlab安装指南(gitlab-ce-9.4.3-ce.0.el7.x86_64 centos7)

1,安装gitlab

 wget https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/7/gitlab-ce-9.4.3-ce.0.el7.x86_64.rpm

 sudo rpm -i gitlab-ce-9.4.3-ce.0.el7.x86_64

sudo yum install curl policycoreutils openssh-server openssh-clients libsemanage-static libsemanage-devel -y
sudo systemctl enable sshd
sudo systemctl start sshd
sudo yum install postfix
sudo systemctl enable postfix
sudo systemctl start postfix

2,修改/etc/gitlab/gitlab.rb 更换url为本机ip 

  external_url 'http://172.25.11.184'

3,sudo gitlab-ctl reconfigure 重新配置gitlab

转载于:https://www.cnblogs.com/Dream-Chaser/p/7196214.html

你可能感兴趣的:(gitlab安装指南(gitlab-ce-9.4.3-ce.0.el7.x86_64 centos7))