[Groonga-commit] pgroonga/pgroonga at 6598d95 [master] Update install document

Back to archive index

Kouhei Sutou null+****@clear*****
Fri May 29 12:05:25 JST 2015


Kouhei Sutou	2015-05-29 12:05:25 +0900 (Fri, 29 May 2015)

  New Revision: 6598d95ae2e0111ee857db28e11894e1962b082b
  https://github.com/pgroonga/pgroonga/commit/6598d95ae2e0111ee857db28e11894e1962b082b

  Message:
    Update install document

  Modified files:
    README.md

  Modified: README.md (+37 -1)
===================================================================
--- README.md    2015-05-29 12:02:16 +0900 (a3206f3)
+++ README.md    2015-05-29 12:05:25 +0900 (f90f491)
@@ -54,7 +54,9 @@ pg\_trgmとpg\_bigmが使っているGINやGiSTが対応しています。)
 
 次の環境用のパッケージを用意しています。
 
+  * Debian GNU/Linux Jessie
   * Ubuntu 14.10
+  * Ubuntu 15.04
   * CentOS 5
   * CentOS 6
   * CentOS 7
@@ -65,7 +67,41 @@ pg\_trgmとpg\_bigmが使っているGINやGiSTが対応しています。)
 
 それぞれの環境でのインストール方法の詳細は以降のセクションで説明します。
 
-### Ubuntu 14.10にインストール
+### Debian GNU/Linux Jessieにインストール
+
+GroongaのAPTリポジトリーを追加します。
+
+`/etc/apt/sources.list.d/groonga.list`:
+
+    deb http://packages.groonga.org/debian/ jessie main
+    deb-src http://packages.groonga.org/debian/ jessie main
+
+`postgresql-server-9.4-pgroonga`パッケージをインストールします。
+
+    % sudo apt-get update
+    % sudo apt-get install -y --allow-unauthenticated groonga-keyring
+    % sudo apt-get update
+    % sudo apt-get install -y -V postgresql-server-9.4-pgroonga
+
+[MeCab](http://taku910.github.io/mecab/)ベースのトークナイザーを使いた
+い場合は`groonga-tokenizer-mecab`パッケージもインストールします。
+
+    % sudo apt-get install -y groonga-tokenizer-mecab
+
+データベースを作成します。
+
+    % sudo -u postgres -H psql --command 'CREATE DATABASE pgroonga_test'
+
+(ここで`pgroonga_test`用のユーザーを作成して、そのユーザーで接続する
+べき。)
+
+データベースに接続して`CREATE EXTENSION pgroonga`を実行します。
+
+    % sudo -u postgres -H psql -d pgroonga_test --command 'CREATE EXTENSION pgroonga'
+
+これでインストールは完了です。
+
+### Ubuntu 14.10またはUbuntu 15.04にインストール
 
 `postgresql-server-9.4-pgroonga`パッケージをインストールします。
 
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-commit mailing list
Back to archive index