gitlab cicd(二) Gitlab rpm安裝

機器:192.168.31.130(centos7)

gitlab簡介

GitLab 是一個用於倉庫管理系統的開源項目,使用Git作爲代碼管理工具,並在此基礎上搭建起來的web服務,也就是代碼倉庫

官網以及文檔

官網: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  #這裏改爲自己的服務器IP或者綁定域名

訪問

http://192.168.31.130

用戶名:root 按提示設置一個複雜密碼登錄


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