前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >有关gitlab的神秘操作.....version&&domain设置...

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

作者头像
超蛋lhy
发布2018-08-31 16:06:13
8390
发布2018-08-31 16:06:13
举报
文章被收录于专栏:PythonistaPythonistaPythonista

在使用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
本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2017-09-15 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 分割线
  • 如何检查gitlab版本:
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档