一、部署gitlab
下载gitlab
[root@gitlab ~]# yum install https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-14.10.4-ce.0.el7.x86_64.rpm -y
修改配置文件、关闭防火墙、selinux
[root@gitlab ~]# vim /etc/gitlab/gitlab.rb
[root@gitlab ~]# systemctl stop firewalld
[root@gitlab ~]# setenforce 0
重新加载配置文件
[root@gitlab ~]# gitlab-ctl reconfigure
检查是否完成
[root@gitlab ~]# gitlab-ctl status
run: alertmanager: (pid 1530) 468s; run: log: (pid 1529) 468s
run: gitaly: (pid 1537) 468s; run: log: (pid 1526) 468s
run: gitlab-exporter: (pid 1525) 468s; run: log: (pid 1521) 468s
run: gitlab-kas: (pid 1507) 468s; run: log: (pid 1505) 468s
run: gitlab-workhorse: (pid 1531) 468s; run: log: (pid 1527) 468s
run: grafana: (pid 1539) 468s; run: log: (pid