码迷,mamicode.com
首页 > 其他好文 > 详细

CentOS7系统下GitLab的安装

时间:2018-05-19 12:04:27      阅读:194      评论:0      收藏:0      [点我收藏+]

标签:start   sshd   yum   sudo   注册   添加   out   systemctl   configure   

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包服务,然后安装它

1 curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash  
2 sudo yum install gitlab-ce  

3、配置和启动GitLab

1 sudo gitlab-ctl reconfigure

启动完成后,在浏览器访问你机器的IP地址,然后,修改密码,注册用户,最后登录进去。

搭建的GitLab服务就基本完成了.

 

参考:https://about.gitlab.com/downloads/#cent

CentOS7系统下GitLab的安装

标签:start   sshd   yum   sudo   注册   添加   out   systemctl   configure   

原文地址:https://www.cnblogs.com/lijiejoy/p/9059696.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!