1. Install and configure the necessary dependencies
yum install curl openssh-server postfix cronie
service postfix startchkconfig postfix on
lokkit -s http -s ssh
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | bash
2. Add the GitLab package server and install the package
# curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
# yum install gitlab-ce
If you are not comfortable installing the repository through a piped script, you can find the entire script here.
Alternatively you can select and download the package manually and install using
rpm -i gitlab-ce-XXX.rpm
3. Configure and start GitLab
# gitlab-ctl reconfigure
4.管理界面 :
webip: 10.10.10.xx
Username: rootPassword: 8Love$333xxxx orgin: 5iveL!fe