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



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值