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

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