gitlab访问错误Whoops, GitLab is taking too much time to respondgit
问题定位8080端口被占用:sql
解决方案01:数据库
解决方案02:vim
external_url 'http://192.168.45.146
external_url 'http://192.168.45.146:8899'
将下面这3行打开注释
默认注释:分布式
unicorn['port'] = 8088 postgresql['shared_buffers'] = "256MB" postgresql['max_connections'] = 200
命令功能 | 执行命令 |
---|---|
重启配置,并启动gitlab服务 | sudo gitlab-ctl reconfigure |
启动全部 gitlab | sudo gitlab-ctl start |
从新启动GitLab | sudo gitlab-ctl restart |
中止全部 gitlab | sudo gitlab-ctl stop |
查看服务状态 | sudo gitlab-ctl status |
查看Gitlab日志 | sudo gitlab-ctl tail |
修改默认的配置文件 | sudo vim /etc/gitlab/gitlab.rb |
检查gitlab | gitlab-rake gitlab:check SANITIZE=true --trace |
想学习更多微服务、分布式、中间件、数据库、项目快速构建等系列技术
请访问Gblfy主页:https://blog.csdn.net/weixin_40816738
让咱们一块儿进步!!!微服务