Gitlab installation process

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-the-10.0.0-gitlab ce.0.el7.x86_64.rpm
vim /etc/gitlab/gitlab.rb (modified external_url -> server HTTP: // IP : port)
gitlab-ctl reconfigure
gitlab-ctl restart

Guess you like

Origin www.cnblogs.com/carysun/p/11791318.html