Installation of gitlab

Installation of gitlab

一.安装依赖的安装包
yum install curl policycoreutils openssh-server openssh-clients
systemctl enable sshd
systemctl start sshd
yum install postfix
systemctl enable postfix
systemctl start postfix
firewall-cmd --permanent --add-service=http
systemctl reload firewalld


Second install gitlab file
[root@7mini-node1 ~]# rpm -ivh gitlab-ce-8.9.11-ce.0.el7.x86_64.rpm

3. Configure the configuration file
[root@7mini-node1 ~]# vim /etc/gitlab/gitlab.rb
external_url 'http://10.0.0.12' #Modify the access address, map the domain name, and write the domain name.


4. Execute the automatic configuration installation file and read the configuration file
[root@7mini-node1 ~]# gitlab-ctl reconfigure

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325292768&siteId=291194637