gitlab jenkins 安装笔记

gitlab

gitlab ce是社区版本,ee是企业版本,称为gitee.

https://packages.gitlab.com/gitlab/gitlab-ce/install 

通过运行curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash

安装了yum 源。然后运行yum install gitlab-ce 即可!

#vim /etc/gitlab/gitlab.rb

external_url 'http://git.xx.com'

gitlab_rails['gitlab_ssh_host'] = 'git.xx.com'

### Advanced settings
unicorn['listen'] = '47.105.156.48'
unicorn['port'] = 8060
puma['port'] = 8061

# gitlab-ctl reconfigure

#gitlab-ctl start

...

sudo gitlab-ctl tail  查看日志 

PS: 启动时如果发现kuma failed,启动时8080被占用了,可以修改一下 puma['port'] 配置。

参考文章:https://www.cnblogs.com/anliven/p/11946417.html

猜你喜欢

转载自www.cnblogs.com/a-xu/p/13198371.html