본문 바로가기

리눅스

[리눅스] Install Gitlab on CentOS

반응형

Install Gitlab on CentOS

1. Prerequisites

- Openssh

yum install -y openssh-server

- Postfix

yum install -y postfix
chkconfig postfix on

- Cron

yum install -y cronie

2. Download

curl -O https://downloads-packages.s3.amazonaws.com/centos-6.6/gitlab-7.7.1_omnibus.5.4.1.ci-1.el6.x86_64.rpm

3. Install

yum install -y gitlab-7.7.1_omnibus.5.4.1.ci-1.el6.x86_64.rpm

4. Configure

- Edit External URL

vim /etc/gitlab/gitlab.rb
external_url 'http://git.scbyun.com'

- Run configuration wizard (Chef Solo Setup)

gitlab-ctl reconfigure

5. Login

Browser URL : http://git.scbyun.com

Username: root

Password: 5iveL!fe

 

참고URL

- http://www.bonusbits.com/wiki/HowTo:Install_Gitlab_on_CentOS

 

728x90
반응형