centos7安裝gitlab
阿新 • • 發佈:2018-10-21
停止 修改 figure system wall text nss 修改密碼 configure 安裝依賴:
安裝:
啟動:
a. 加載配置:
常用命令:
a. 加載配置:
修改密碼並登錄:
yum -y install curl policycoreutils-python openssh-server
systemctl enable sshd
systemctl start sshd
yum -y install postfix
systemctl enable postfix
systemctl start postfix
firewall-cmd --permanent --add-service=http
systemctl reload firewalld
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | bash yum -y install gitlab-ee
a. 加載配置:
gitlab-ctl reconfigure
b. 啟動:
gitlab-ctl start
a. 加載配置:
gitlab-ctl reconfigure
b. 啟動:
gitlab-ctl start
c. 停止:
gitlab-ctl stop
d. 重啟:
gitlab-ctl restart
e. 查看狀態:
gitlab-ctl status
訪問:172.20.10.11
用戶名:root
centos7安裝gitlab