centos6
sudo yum install curl openssh-server openssh-clients postfix cronie
sudo service postfix start
sudo chkconfig postfix on
sudo lokkit -s http -s ssh
centos7
sudo yum install curl policycoreutils openssh-server openssh-clients
rpm -ivh gitlab-ce-8.9.5-ce.0.el7.x86_64.rpm
vim /etc/gitlab/gitlab.rb
external_url 'your_ip_address'
gitlab-ctl reconfigure
gitlab-ctl status
老版本的
http://`ip`
默认用户
root
5iveL!fe
新版的gitlab 先修改密码 再用root用户登录
rpm包的下载地址
备注:内存最小2G 否则会报错 502
网站名称:gitlab的安装
网页路径:
http://cdxtjz.cn/article/piejje.html