- 先查看系統(tǒng)Linux版本,命令:
cat /etc/redhat-release
建議使用CentOS Linux release 7系統(tǒng)
- 使用一鍵安裝Gitlab腳本,命令:
curl -fsSL https://raw.githubusercontent.com/aqzt/kjyw/master/git/gitlab_install.sh | sed 's/\r//g' | sh
3.啟動GitLab重窟,命令:
gitlab-ctl reconfigure
4.停止命令:
gitlab-ctl stop
5.啟動命令:
gitlab-ctl start