systemctl stop firewalld
systemctl disable firewalld
vi /etc/sysconfig/selinux
将SELINUX改为disable`
yum -y install curl policycoreutils openssh-server openssh-clients postfix
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
systemctl start postfix && systemctl enable postfix
yum install -y gitlab-ce
vi /etc/gitlab/gitlab.rb
external_url 'http://gitlab.example.com'地址修改成服务器的ip
sudo gitlab-ctl reconfigure
sudo gitlab-ctl restart
然后浏览器输入ip地址``
gitllub
最新推荐文章于 2024-10-17 20:45:06 发布