标签:用户登录 logs utils top open www nginx 默认 nal
参考官网安装 https://about.gitlab.com/install/#centos-6
1.安装依赖
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
2.安装gitlab
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash
sudo EXTERNAL_URL="http://gitlab.example.com" yum -y install gitlab-ee
此处的“http://gitlab.example.com”换成你公司gitlab服务器的域名
3.修改gitlab配置文件指定服务器ip和自定义端口:
5.登录
第一次登录,设置密码,并使用root用户登录
几个命令:
gitlab-ctl reconfigure
gitlab-ctl status
gitlab-ctl stop
gitlab-ctl start
几个配置文件:
/etc/gitlab/gitlab.rb
/var/opt/gitlab/gitlab-rails/etc/unicorn.rb
/var/opt/gitlab/gitlab-rails/etc/gitlab.yml
/var/opt/gitlab/nginx/conf/*
另参考: http://www.cnblogs.com/wenwei-blog/p/5861450.html
标签:用户登录 logs utils top open www nginx 默认 nal
原文地址:https://www.cnblogs.com/newalan/p/9970755.html