- 官网地址
https://about.gitlab.com/https://about.gitlab.com/installation/
2.下载并安装所需RPM包https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/7/gitlab-ce-10.8.2-ce.0.el7.x86_64.rpm
3.安装命令
sudo dnf install -y curl policycoreutils openssh-serversudo systemctl enable sshdsudo systemctl start sshd# Check if opening the firewall is needed with: sudo systemctl status firewalldsudo firewall-cmd --permanent --add-service=httpsudo firewall-cmd --permanent --add-service=httpssudo systemctl reload firewalldsudo dnf install postfixsudo systemctl enable postfixsudo systemctl start postfixcurl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash sudo EXTERNAL_URL="http://gitlab.example.com" yum -y install gitlab-ce
4.gitlab 服务操作
初始化配置 gitlab gitlab-ctl reconfigure 启动 gitlab 服务 gitlab-ctl start 停止 gitlab 服务 gitlab-ctl stop
5.浏览器访问,访问 Linux 服务器 IP 地址即可