本文主要是介绍Linux centors系统上搭建自己的gitlab仓库,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
1.安装gitlab准备包
sudo yum install -y curl policycoreutils openssh-server openssh-clients libsemange-static libsemange-devel
sudo systemctl enable sshd
sudo systemctl start sshd
sudo yum install -y postfix
sudo systemctl enable postfix
sudo systemctl start postfix
sudo firewall-cmd --permanent --add-service=http
sudo systemctl reload firewalld
2.下载GitLab安装包,并安装
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
sudo yum install -y gitlab-ce
3.配置并启动gitlab
sudo gitlab-ctl reconfigure
这篇关于Linux centors系统上搭建自己的gitlab仓库的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!