LoginSignup
3
2

More than 5 years have passed since last update.

Gitlab rpm でインストール

Last updated at Posted at 2014-06-14

自宅で導入テストした際の記録

環境

  • CentOS release 6.5 (Final)
    • ※VirtualBox上

OS 設定

  • IP: 192.168.0.10
  • Firewall: 検証用なので、今のところ無し

以下、URL は適当に読み替えてください。

インストール

  • gitlab-6.9.2_omnibus.1-1.el6.x86_64.rpm

公式URL

インストール手順

  1. yum install -y openssh-server postfix
  2. wget https://downloads-packages.s3.amazonaws.com/centos-6.5/gitlab-6.9.2_omnibus.1-1.el6.x86_64.rpm
  3. sudo rpm -i ./gitlab-6.9.2_omnibus.1-1.el6.x86_64.rpm
  4. gitlab-ctl reconfigure

初期設定

応急処置的な手順

1 sudo service iptables stop

ウェブ画面から

http://192.168.0.10/ にアクセスしてログイン

  • User: admin@local.host
  • Password: 5iveL!fe

あとはお好みでユーザ作成したり

設定変更

ホスト名修正

ここで、ホスト設定がおかしいことに気がつく
project_clone の URL が http://localhost/heignamerican/... となっていて超不便。
とりあえず IP で応急処置

~$ cat /etc/gitlab/gitlab.rb
   external_url "http://192.168.0.10"
~$ gitlab-ctl reconfigure

今後

  • ssh 対応
  • CI 連携
    • マージリクエスト、自動テスト連携させないと不便そう
  • redmine とかと連携
    • これは別インスタンスでやった方がよさげ?
  • iptables ちゃんとする
3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2