機器:192.168.31.130(centos7)
gitlab簡介
GitLab 是一個用于倉庫管理系統的開源項目,使用Git作為代碼管理工具,并在此基礎上搭建起來的web服務,也就是代碼倉庫
官網以及文檔
安裝文檔:
https://docs.gitlab.com/ee/install/README.html
https://about.gitlab.com/install/
yum安裝
sudo yum install -y curl policycoreutils-python openssh-server
sudo systemctl enable sshd
sudo systemctl start sshd
sudo firewall-cmd --permanent --add-service=http
sudo systemctl reload firewalld
sudo yum install postfix
sudo systemctl enable postfix
sudo systemctl start postfix
url https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash
sudo EXTERNAL_URL="http://192.168.31.130" yum install -y gitlab-ee #這里改為自己的服務器IP或者綁定域名
訪問
用戶名:root 按提示設置一個復雜密碼登錄
TIM截圖20190720001025.png