关于Centos 7下安装gitlab服务

前端之家收集整理的这篇文章主要介绍了关于Centos 7下安装gitlab服务前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

gitlab
1.安装依赖包

  1. sudo yum install curl policycoreutils openssh-server openssh-clients
  2. sudo systemctl enable sshd
  3. sudo systemctl start sshd
  4. sudo yum install postfix
  5. sudo systemctl enable postfix
  6. sudo systemctl start postfix
  7. sudo firewall-cmd --permanent --add-service=http
  8. sudo systemctl reload firewalld

2.安装gitlab-ce

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

3.配置并启动 GitLab

  1. sudo gitlab-ctl reconfigure

猜你在找的CentOS相关文章