完成以下操作,手动部署GitLab环境:
sudo yum install -y curl policycoreutils-python openssh-server
sudo systemctl enable sshd sudo systemctl start sshd
sudo yum install postfix
sudo systemctl enable postfix
vim /etc/postfix/main.cf
inet_interfaces = all
sudo systemctl start postfix
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
sudo EXTERNAL_URL="GitLab服务器的公网IP地址" yum install -y gitlab-ce