1、进入社区版GitLab
2、选择对应操作系统
3、设置HOST
vim /etc/gitlab/gitlab.rb
4、其他设置项
所有配置信息在gitlab.rb文件中配置,然后使用gitlab-ctl reconfigure生效
This file is managed by gitlab-ctl. Manual changes will be erased! To change the contents below, edit /etc/gitlab/gitlab.rb and run
sudo gitlab-ctl reconfigure
.
5、定期更新
sudo yum install gitlab-ce