gitlab的安装

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


二安装gitlab文件
[root@7mini-node1 ~]# rpm -ivh gitlab-ce-8.9.11-ce.0.el7.x86_64.rpm

三.配置配置文件
[root@7mini-node1 ~]# vim /etc/gitlab/gitlab.rb
external_url 'http://10.0.0.12' #修改访问地址,揉过映射过域名,可写域名。


四.执行自动化配置安装文件,并读取配置文件
[root@7mini-node1 ~]# gitlab-ctl reconfigure

猜你喜欢

转载自www.cnblogs.com/jimmy-xuli/p/8987248.html