機器:192.168.31.130(centos7)
gitlab簡介
GitLab 是一個用于倉庫管理系統(tǒng)的開源項目,使用Git作為代碼管理工具疮胖,并在此基礎(chǔ)上搭建起來的web服務(wù),也就是代碼倉庫
官網(wǎng)以及文檔
官網(wǎng):https://about.gitlab.com/
安裝文檔:
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 #這里改為自己的服務(wù)器IP或者綁定域名
訪問
用戶名:root 按提示設(shè)置一個復(fù)雜密碼登錄
TIM截圖20190720001025.png