gitlab installation and finished

Reference documents:

https://www.cnblogs.com/dreamrobot/p/9663231.html

https://www.jianshu.com/p/a797018917be


1. Download rpm package  
wget https://mirror.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-11.11.3-ce.0.el7.x86_64.rpm 

2. Installation rpm 
yum 11.11.3 gitlab-CE-localinstall-ce.0.el7.x86_64.rpm 

3. modify /etc/gitlab/gitlab.rb 
external_url '' ## may be added ip port  

4. overload profile 
gitlab the reconfigure-CTL 

. 5 start 
gitlab start-CTL   

6. the finished (Chinese gitlab download the appropriate version of the package) 
Git clone https://gitlab.com/xhang/gitlab.git -b-ZH v11.11.3 

7. the finished package and extracting the original cover (stop before finished ctl-sTOP service gitlab) 
cp -r -f ./gitlab/* / opt / gitlab / Embedded / service / gitlab-Rails /  

8. reload the configuration file and then start 
gitlab-ctl reconfigure 
gitlab-ctl start


Guess you like

Origin blog.51cto.com/wsxxsl/2448073