gitlab deployment environment

One: Configure the host name

[root@localhost ~]# hostname gitlab
[root@localhost ~]# bash

II: Installation dependencies

[root@gitlab ~]# yum -y install curl openssh-server openssh-clients postfix cronie policycoreutils-python

Three: Installation gitlab

[root@gitlab ~]# ls
anaconda-ks.cfg     gitlab-ce-11.11.3-ce.0.el7.x86_64.rpm
[root@gitlab ~]# rpm -ivh gitlab-ce-11.11.3-ce.0.el7.x86_64.rpm

Four: Modify Profile

[root@gitlab ~]# vim /etc/gitlab/gitlab.rb

external_url 'http://192.168.200.11'

Five: Start gitlab

[root@gitlab ~]# gitlab-ctl reconfigure

Six: Testing

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/ZCQ123456/p/11869322.html