*** GitHubクローン [#xc19aadd]
- [[GitHub>https://github.com/]]を使用したいがセキュリティの関係とか大人の諸事情で使えなかったりする場合、[[GitHubクローン>http://hiroki.jp/github-clone]]を使用するのも手かもしれません。また勉強にもなりますしね。

** 環境の前提条件 [#nc5899f1]
- CentOS 6.5(Vagrantで環境作った方が楽ちん)
- [[インストール手順>https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md]](公式)
- [[rpmパッケージ>https://www.gitlab.com/downloads/]](公式)

** インストール [#qdffae18]
+ RPMのダウンロード
 % curl -o gitlab-6.7.5_omnibus-1.el6.x86_64.rpm https://downloads-packages.s3.amazonaws.com/gitlab-6.7.5_omnibus-1.el6.x86_64.rpm
+ パッケージのインストール
 % sudo yum install openssh-server
 % sudo yum install postfix
 % sudo rpm -i gitlab-6.7.5_omnibus-1.el6.x86_64.rpm
+ 設定(chefで必要な情報を設定)
 % gitlab-ctl reconfigure
+ Nginxの設定ほか
 % sudo mkdir /etc/gitlab
 % sudo vi /etc/gitlab/gitlab.rb
++ /etc/gitlab/gitlab.rb の内容
 external_url "http://localhost"
 unicorn["worker_processes"] = 1
 postgresql["shared_buffers"] = "128MB"
 postgresql["effective_cache_size"] = "32MB"
+ 再設定
 % sudo gitlab-ctl reconfigure
+ 起動
 % sudo gitlab-ctl start
+ アクセス
 http://localhost ← Vagrant環境のアドレスなどなど

** 初期ユーザでログイン [#tc771a05]
 User: admin@local.host
 Password: 5iveL!fe

** 参考サイト [#o0a090f8]
- [[Vagrant内のCentOS 6.5にGitLab Omnibusをインストールしてみた話>http://qiita.com/tacck/items/d025f02e1db656a6fc66]]
- [[Omnibus Chef Packaging を試してみた>http://tily.hatenablog.com/entry/2012/08/03/224436]]

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS