centos6sudo yum install curl openssh-server openssh-clients postfix croniesudo service postfix startsudo chkconfig postfix onsudo lokkit -s http -s sshcentos7sudo yum install curl policycoreutils openssh-server openssh-clientsrpm -ivh gitlab-ce-8.9.5-ce.0.el7.x86_64.rpmvim /etc/gitlab/gitlab.rbexternal_url 'your_ip_address'gitlab-ctl reconfiguregitlab-ctl status老版本的http://`ip`默认用户root5iveL!fe新版的gitlab 先修改密码 再用root用户登录rpm包的下载地址
备注:内存最小2G 否则会报错 502