有关gitlab的神秘操作.....version&&domain设置...

在使用gitlab的时候,如果服务器IP变动,之前的domain写入了配置文件了,如下路径:

[root@gitlab-server ~]# vim /var/opt/gitlab/gitlab-rails/etc/gitlab.yml 

把这里的host 改成所需的doamin,IP即可

分割线

如何检查gitlab版本:

[root@gitlab-server ~]# gitlab-rake gitlab:env:info

System information
System:        
Current User:    git
Using RVM:    no
Ruby Version:    2.3.1p112
Gem Version:    2.6.6
Bundler Version:1.13.6
Rake Version:    10.5.0
Sidekiq Version:4.2.1

GitLab information
Version:    8.13.5
Revision:    09cedb5
Directory:    /opt/gitlab/embedded/service/gitlab-rails
DB Adapter:    postgresql
URL:        http://192.168.11.72
HTTP Clone URL:    http://192.168.11.72/some-group/some-project.git
SSH Clone URL:    git@192.168.11.72:some-group/some-project.git
Using LDAP:    no
Using Omniauth:    no

GitLab Shell
Version:    3.6.6
Repository storage paths:
- default:     /var/opt/gitlab/git-data/repositories
Hooks:        /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git:        /opt/gitlab/embedded/bin/git

-

方法二:http://192.168.11.72/help

 

转载于:https://www.cnblogs.com/pyyu/p/7524647.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值