打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
bitnami gitlab相关操作

bitnami gitlab安装目录

[dev@OG2233-FM41-226 gitlab-8.14.0-0]$ pwd

/opt/gitlab-8.14.0-0


重启服务

[dev@OG2233-FM41-226 gitlab-8.14.0-0]$ sudo ./ctlscript.sh restart

Syntax OK

/opt/gitlab-8.14.0-0/apache2/scripts/ctl.sh : httpd stopped

/opt/gitlab-8.14.0-0/apps/gitlab/scripts/sidekiq.sh : gitlab_sidekiq stopped

/opt/gitlab-8.14.0-0/apps/gitlab-workhorse/scripts/ctl.sh : gitlab-workhorse stopped

/opt/gitlab-8.14.0-0/apps/gitlabci/gitlabci-multirunner/scripts/ctl.sh : gitlabci stopped

/opt/gitlab-8.14.0-0/Redis/scripts/ctl.sh : redis stopped

waiting for server to shut down.... done

server stopped

/opt/gitlab-8.14.0-0/postgresql/scripts/ctl.sh : postgresql stopped

waiting for server to start.... done

server started

/opt/gitlab-8.14.0-0/postgresql/scripts/ctl.sh : postgresql  started at port 5432

/opt/gitlab-8.14.0-0/redis/scripts/ctl.sh : redis started at port 6379

/opt/gitlab-8.14.0-0/apps/gitlab/scripts/sidekiq.sh : gitlab_sidekiq started

/opt/gitlab-8.14.0-0/apps/gitlab-workhorse/scripts/ctl.sh : gitlab-workhorse started

/opt/gitlab-8.14.0-0/apps/gitlabci/gitlabci-multirunner/scripts/ctl.sh : gitlabci_multirunner started

Syntax OK

/opt/gitlab-8.14.0-0/apache2/scripts/ctl.sh : httpd started at port 80



停止

stop


卸载

uninstall


#单独控制其他,可以开启、停止、重启。
 ./ctlscript.sh (start|stop|restart) postgres
./ctlscript.sh (start|stop|restart) redis
./ctlscript.sh (start|stop|restart) apache
./ctlscript.sh (start|stop|restart) sidekiq


#如果没什么问题,你就可以去你刚才配置的域名处访问了,注意你的服务器是否关闭防火墙。我用的是CentOS 7.2,默认安装firewall作为防火墙,关闭防火墙命令。和CentOS 6的命令不一样哟,也是一个坑。
systemctl stop firewalld.service #停止firewall



找了好久才找到的日志目录在这个位置:

/opt/gitlab-8.14.0-0/apps/gitlab/htdocs/log


Git代码库保存位置,这个倒是很容易找到了:

/opt/gitlab-8.14.0-0/apps/gitlab/repositories



如果安装时选择了安装phppgadmin的话,可以直接在网页上主机后加上/phppgadmin访问数据库,这个密码在

/opt/gitlab-8.14.0-0/apps/gitlab/htdocs/config/database.yml中可以找到。


参考:

http://comedsh.iteye.com/blog/2238200

https://www.douban.com/note/573320056/

https://my.oschina.NET/u/1158620/blog/289191



本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
redmine项目管理
gitlab目录结构
docker gitlab 12.3.5ee 安装及汉化 记录
GitLab备份与恢复
gitlab一键安装+配置(备份+LADP认证)
CentOS安装GitLab
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服