- 官网地址:The One DevOps Platform | GitLab
- 清华大学开源软件镜像站:Index of /gitlab-ce/yum/el7/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror
- gitlab官网进行下载:
# 安装相关依赖 yum -y install policycoreutils openssh-server openssh-clients postfix # 开启postfix,支持gitlab邮件发送 systemctl start postfix # 设置开机自启动: systemctl enable postfix # 启动ssh服务 systemctl enable sshd # 设置为开机启动 sudo systemctl start sshd # 查看是否开启 systemctl status sshd # 开放ssh以及http服务,然后重新加载防火墙列表 firewall-cmd --add-service=ssh --permanent firewall-cmd --add-service=http --permanent firewall-cmd --reload # 安装gitlab rpm -ivh gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm六、修改gitlab配置文件指定服务器ip和自定义端口 七、重置并启动gitlab
# 重置 gitlab-ctl reconfigure # 重启 gitlab-ctl restart八、http://ip+端口(80) 访问
注:以上内容仅提供参考和交流,请勿用于商业用途,如有侵权联系本人删除!



