这几天有个同事在搭建GitLab服务器,按照官网的教程搭建好之后clone时总是找不到仓库,各种尝试都不行,最后用下面的方案解决了。
sudo yum install curl openssh-server openssh-clients postfix cronie
sudo service postfix start
sudo chkconfig postfix on
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
sudo yum install gitlab-ce
sudo gitlab-ctl reconfigure