关于Centos 7下安装gitlab服务

前端之家收集整理的这篇文章主要介绍了关于Centos 7下安装gitlab服务前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

gitlab
1.安装依赖包

sudo yum install curl policycoreutils openssh-server openssh-clients
sudo systemctl enable sshd
sudo systemctl start sshd
sudo yum install postfix
sudo systemctl enable postfix
sudo systemctl start postfix
sudo firewall-cmd --permanent --add-service=http
sudo systemctl reload firewalld

2.安装gitlab-ce

curl -sS http://packages.gitlab.cc/install/gitlab-ce/script.rpm.sh | sudo bash
sudo yum install gitlab-ce

3.配置并启动 GitLab

sudo gitlab-ctl reconfigure
原文链接:https://www.f2er.com/centos/376767.html

猜你在找的CentOS相关文章