yum install postfix
systemctl enable postfix
systemctl start postfix
wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-15.0.0-ce.0.el7.x86_64.rpm
yum install policycoreutils-python
rpm -i gitlab-ce-15.0.0-ce.0.el7.x86_64.rpm
http://公网ip:端口号
vim /etc/gitlab/gitlab.rb
gitlab-ctl reconfigure
gitlab-ctl restart
账号root,密码存放在/etc/gitlab/initial_root_password文件中
小插曲:页面一直提示Whoops, GitLab is taking too much time to respond,把8080端口改下就ok了,应该是被占用了
再吐槽下,4个g的内存被吃的只剩下一个零头。。。