gitlab ce安裝 CENTOS7
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.download gitlab package 和安裝
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash sudo yum install gitlab-ce
3.Configure and start GitLab
sudo gitlab-ctl reconfigure
安裝完後,本機可用瀏覽器127.0.0.1測試是否連上,第一次會要求設定root的登入密碼
參考來源:https://about.gitlab.com/downloads/#centos7
留言
張貼留言