您的位置:首页 > 运维架构 > Linux

Centos 6.5安装Gitlab版本管理

2016-02-19 09:04 609 查看
参考文档:https://about.gitlab.com/downloads/#centos6

1.安装Postfix和openssh软件

[root@node1 ~]# yum install curl openssh-server openssh-clients postfix cronie
[root@node1 ~]# service postfix start
[root@node1 ~]# chkconfig postfix on
[root@node1 ~]# lokkit -s http -s ssh
2.安装Gitlab服务和包
[root@node1 ~]# curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
[root@node1 ~]# yum install gitlab-ce
[root@node1 ~]# curl -LJO https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/6/gitlab-ce-XXX.rpm/download [root@node1 ~]# rpm -i gitlab-ce-XXX.rpm

3.启动Gitlab服务
[root@node1 ~]# gitlab-ctl reconfigure

4.打开首页 http://IP/profile Username: root
Password: 5iveL!fe



本文出自 “一起走过的日子” 博客,请务必保留此出处http://tongcheng.blog.51cto.com/6214144/1743200
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: