关于Centos 7下安装gitlab服务

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

2.安装gitlab-ce

curl -sS http://packages.gitlab.cc/install/gitlab-ce/script.rpm.sh | sudo bash
sudo yum install gitlab-ce

3.配置并启动 GitLab

sudo gitlab-ctl reconfigure

你可能感兴趣的:(专业领域,工作总结,基础知识和概念总结,gitlab,centos)