最近应公司需求,搭建gitlab私服,在这里做一个简单的记录。
1.安装和配置必要的依赖
sudo yum install curl policycoreutils openssh- server openssh-clients
sudo systemctl enable sshd
sudo systemctl start sshd
sudo yum install postfix
sudo systemctl enable postfix
sudo systemctl start postfix
sudo firewall-cmd --permanent --add-service=http
sudo systemctl reload firewalld