centos6.8 安装gitlab记录


sudo yum install -y curl policycoreutils-python openssh-server cronie sudo lokkit -s http -s ssh sudo yum install postfix sudo service postfix start sudo chkconfig postfix on

上面的按步骤执行

问题1:没有合适软件源,替换软件源

执行下面条命令

curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
sudo yum install gitlab-ce-10.3.0-ce.0.el6.x86_64

查看unicorn服务日志

sudo gitlab-ctl tail  unicorn

说明8080端口被占用换一个端口

 修改文件/var/opt/gitlab/gitlab-rails/etc/unicorn.rb

listen "127.0.0.1:xxxx", :tcp_nopush => true

 view /etc/gitlab/gitlab.rb

sudo gitlab-ctl reconfigure

软件源修改

http://blog.csdn.net/johnnycode/article/details/41697573

 

rpm -qa|grep gitlab

yum remove gitlab

清华大学镜像文件

http://blog.csdn.net/qq_25116591/article/details/61916634

 

参考链接:
https://about.gitlab.com/installation/#centos-6
http://blog.csdn.net/neo_rat/article/details/52627749

https://packages.gitlab.com/gitlab/

 

posted @ 2017-12-25 16:29  梦见舟  阅读(281)  评论(0编辑  收藏  举报