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

Jenkins持续集成 之 GitLab安装

时间:2018-12-03 00:49:29      阅读:218      评论:0      收藏:0      [点我收藏+]

标签:curl   figure   集成   service   chkconfig   open   rip   pack   vim   

一、安装相应所需依赖包
yum install lokkit
yum install curl openssh-server openssh-clients postfix cronie -y
service postfix start
chkconfig postfix on
lokkit -s http -s ssh
curl -sS http://packages.gitlab.cc/install/gitlab-ce/script.rpm.sh | sudo bash

二、添加gitlab仓库并安装

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

三、修改配置文件并启动

1、vim /etc/gitlab/gitlab.rb
        external_url ‘http://gitlab.xxxxx.com‘
2、重新加载配置
        gitlab-ctl reconfigure
3、重启gitlab
        gitlab-clt restart

Jenkins持续集成 之 GitLab安装

标签:curl   figure   集成   service   chkconfig   open   rip   pack   vim   

原文地址:http://blog.51cto.com/12965094/2325050

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