GitLab-CE tsinghua repo

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

新建 /etc/yum.repos.d/gitlab-ce.repo,内容为

[gitlab-ce]
name=gitlab-ce
baseurl=http://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7
repo_gpgcheck=0
gpgcheck=0
enabled=1
gpgkey=https://packages.gitlab.com/gpg.key

再执行

sudo yum makecachesudo yum install gitlab-ce

编辑/etc/gitlab/gitlab.rb

gitlab-ctl reconfigure
/**   ok   */
u: root 
p: 5iveL!fe

tsinghua repo : https://mirror.tuna.tsinghua.edu.cn/gitlab-ce/
tsinghua repo help:https://mirror.tuna.tsinghua.edu.cn/help/gitlab-ce/

你可能感兴趣的:(GitLab-CE tsinghua repo)