脚本宝典收集整理的这篇文章主要介绍了gitlab部署,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
Gitlab 下载地址:https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/
https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el8/
wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-14.5.0-ce.0.el7.x86_64.rpm
yum -y install gitlab-ce-14.5.0-ce.0.el7.x86_64.rpm
修改配置文件
vim /etc/gitlab/gitlab.rb
将external_url修改为gitlab的url
gitlab-ctl reconfigure(gitlab-ctl --help查看帮助)
登陆gitlab,用户名root,初始密码/etc/gitlab/initial_root_password
以上是脚本宝典为你收集整理的gitlab部署全部内容,希望文章能够帮你解决gitlab部署所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。