关于Centos 7下安装gitlab服务

来源:互联网 发布:m4螺纹怎么编程 编辑:程序博客网 时间:2024/05/18 03:56

gitlab
1.安装依赖包

sudo yum install curl policycoreutils openssh-server openssh-clientssudo systemctl enable sshdsudo systemctl start sshdsudo yum install postfixsudo systemctl enable postfixsudo systemctl start postfixsudo firewall-cmd --permanent --add-service=httpsudo systemctl reload firewalld

2.安装gitlab-ce

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

3.配置并启动 GitLab

sudo gitlab-ctl reconfigure
原创粉丝点击