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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章