LoginSignup
11
10

More than 5 years have passed since last update.

Ubuntu14.04にGitlab8.2.0インストールと日本語化

Last updated at Posted at 2016-04-23

準備

インストールと日本語化

基本的に公式サイトのインストール方法に則って進める。
https://about.gitlab.com/downloads/#ubuntu1404

  1. インストールと必要な依存関係のある設定

    sudo apt-get install curl openssh-server ca-certificates postfix
    
  2. 過去パッケージのインストール
    apt-getでインストールする際にバージョンを指定する。
    今回は日本語化パッチが対応している8.2.0を指定する。

    curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
    sudo apt-get install gitlab-ce=8.2.0-ce.0
    

    もしバージョンがわからない場合は次のコマンドでバージョン名を確認する

    apt-cache policy gitlab-ce
    
  3. 日本語化パッチの適用

    • 任意のフォルダへクローンする

      $ cd 
      $ git clone https://github.com/ksoichiro/gitlab-i18n-patch.git
      
    • パッチを適用する
      日本語化公式サイトのREADMEの通り実行する

      $ cd /opt/gitlab/embedded/service/gitlab-rails
      $ sudo patch -p1 < ~/gitlab-i18n-patch/patches/v8.2.0/app_ja.patch
      
  4. GitLabを起動

    sudo gitlab-ctl reconfigure
    
  5. ブラウザでGitLabへアクセスし、日本語化されていることを確認する

11
10
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
11
10