配置centos7GitLab - leledeyuan00/Hello-world GitHub Wiki

安装依赖包

yum install curl policycoreutils policycoreutils-python openssh-server openssh-clients

systemctl enable sshd systemctl start sshd yum install postfix systemctl enable postfix systemctl start postfix firewall-cmd --permanent --add-service=http systemctl reload firewalld

下载Gitlab地址 https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7

wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-12.1.6-ce.0.el7.x86_64.rpm

安装

rpm -i gitlab-ce-8.0.0-ce.0.el6.x86_64.rpm

修改配置

vim /etc/gitlab/gitlab.rb