sudo yum install -y curl policycoreutils-pythonopenssh-server
sudo systemctl enable sshd
sudo systemctl start sshd
yum install firewalld systemd -y
service firewalld start
sudo firewall-cmd --permanent --add-service=http
sudo systemctl reload firewalld
sudo yum install postfix
sudo systemctl enable postfix
sudo systemctl start postfix
yum install policycoreutils-python
rpm -i gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm
vim /etc/gitlab/gitlab.rb(修改external_url -> 服务器http://IP:端口)
gitlab-ctl reconfigure
gitlab-ctl restart
作者:生鱼片
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。