Centos 6.5安装Gitlab版本管理
时间:2016-02-21 01:08 来源:51cto.com 作者:IT
[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
[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
(责任编辑:IT)
[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
[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
(责任编辑:IT) |