Diary

Self training to output someting

GitLab 構築

GitLab の構築メモ

バージョン管理ツール

GitHubのクローンのアプリケーションで、バージョン管理を非公開環境で提供する

 

参考URL

https://about.gitlab.com/

ここに掲載されている手順を踏めば、5分程度で導入できる

 

環境

OS:CentOS6

 

必要パッケージのインストール

sudo yum install curl openssh-server postfix cronie
sudo service postfix start
sudo chkconfig postfix on
sudo lokkit -s http -s ssh ※これは使用しない場合がある

 

gitlabパッケージのインストール

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

sudo yum install gitlab-ce

rpmパッケージからインストールするのであれば、

rpm -ivh gitlab-ce-XXX.rpm

 

設定反映

sudo gitlab-ctl reconfigure

 

ブラウザからアクセスする

初期ユーザ/パス

Username: root
Password: 5iveL!fe