Kouhei Sutou
null+****@clear*****
Thu Oct 15 10:56:57 JST 2015
Kouhei Sutou 2015-10-15 10:56:57 +0900 (Thu, 15 Oct 2015) New Revision: 0ee4d521f8a78e571b375aa1ae1e12396eb0565d https://github.com/pgroonga/pgroonga.github.io/commit/0ee4d521f8a78e571b375aa1ae1e12396eb0565d Message: Add install document for Debian GNU/Linux Added files: _po/ja/install/debian.po install/debian.md ja/install/debian.md Modified files: _po/ja/install/index.po install/index.md ja/install/index.md Added: _po/ja/install/debian.po (+111 -0) 100644 =================================================================== --- /dev/null +++ _po/ja/install/debian.po 2015-10-15 10:56:57 +0900 (5439aad) @@ -0,0 +1,111 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"PO-Revision-Date: 2015-10-15 10:56+0900\n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +msgid "" +"---\n" +"title: Install on Debian GNU/Linux\n" +"layout: en\n" +"---" +msgstr "" +"---\n" +"title: Debian GNU/Linuxにインストール\n" +"layout: ja\n" +"---" + +msgid "# Install on Debian GNU/Linux" +msgstr "# Debian GNU/Linuxにインストール" + +msgid "This document describes how to install PGroonga on Debian GNU/Linux." +msgstr "このドキュメントはDebian GNU/LinuxにPGroongaをインストールする方法を説明します。" + +msgid "## Supported versions" +msgstr "## サポートしているバージョン" + +msgid "Here are supported Debian GNU/Linux versions:" +msgstr "サポートしているDebian GNU/Linuxのバージョンは次の通りです。" + +msgid " * Jessie" +msgstr "" + +msgid "## How to install on Debian GNU/Linux Jessie" +msgstr "## Debian GNU/Linux Jessieにインストールする方法" + +msgid "" +"You can use the following instruction to install PGroonga on Debian GNU/Linux " +"Jessie." +msgstr "Debian GNU/Linux JessieにPGroongaをインストールする方法は次の通りです。" + +msgid "Add APT repository for Groonga:" +msgstr "GroongaのAPTリポジトリーを追加します。" + +msgid "`/etc/apt/sources.list.d/groonga.list`:" +msgstr "" + +msgid "" +"```text\n" +"deb http://packages.groonga.org/debian/ jessie main\n" +"deb-src http://packages.groonga.org/debian/ jessie main\n" +"```" +msgstr "" + +msgid "Install `postgresql-9.4-pgroonga` package:" +msgstr "`postgresql-9.4-pgroonga`パッケージをインストールします。" + +msgid "" +"```text\n" +"% sudo apt-get update\n" +"% sudo apt-get install -y -V --allow-unauthenticated groonga-keyring\n" +"% sudo apt-get update\n" +"% sudo apt-get install -y -V postgresql-9.4-pgroonga\n" +"```" +msgstr "" + +msgid "" +"If you want to use [MeCab](http://taku910.github.io/mecab/) based tokenizer, y" +"ou also need to install `groonga-tokenizer-mecab` package:" +msgstr "" +"[MeCab](http://taku910.github.io/mecab/)ベースのトークナイザーを使いたい場合は、`groonga-tokenizer" +"-mecab`パッケージもインストールする必要があります。" + +msgid "" +"```text\n" +"% sudo apt-get install -y -V groonga-tokenizer-mecab\n" +"```" +msgstr "" + +msgid "Create a database:" +msgstr "データベースを作成します。" + +msgid "" +"```text\n" +"% sudo -u postgres -H psql --command 'CREATE DATABASE pgroonga_test'\n" +"```" +msgstr "" + +msgid "" +"(Normally, you should create a user for `pgroonga_test` database and use the u" +"ser.)" +msgstr "(通常は`pgroonga_test`データベース用のユーザーを作ってそのユーザーを作るべきです。)" + +msgid "Connect to the created database and execute `CREATE EXTENSION pgroonga`:" +msgstr "作成したデータベースに接続し、`CREATE EXTENSION pgroonga`を実行します。" + +msgid "" +"```text\n" +"% sudo -u postgres -H psql -d pgroonga_test --command 'CREATE EXTENSION pgroon" +"ga'\n" +"```" +msgstr "" + +msgid "That's all!" +msgstr "これで終わりです!" + +msgid "Try [tutorial](../tutorial/). You can understand more about PGroonga." +msgstr "[チュートリアル](../tutorial/)を試してください。PGroongaについてもっと理解できるはずです。" Modified: _po/ja/install/index.po (+3 -1) =================================================================== --- _po/ja/install/index.po 2015-10-15 10:51:37 +0900 (f5e97bc) +++ _po/ja/install/index.po 2015-10-15 10:56:57 +0900 (6b619fd) @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2015-10-13 22:29+0900\n" +"PO-Revision-Date: 2015-10-15 10:27+0900\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -47,6 +47,8 @@ msgid "See a document for your platform in the followings:" msgstr "次の中から自分のプラットフォーム用のドキュメントを選んで参照してください。" msgid "" +" * [Debian GNU/Linux](debian.html)\n" +" * Jessie\n" " * [Ubuntu](ubuntu.html)\n" " * 14.10\n" " * 15.04\n" Added: install/debian.md (+60 -0) 100644 =================================================================== --- /dev/null +++ install/debian.md 2015-10-15 10:56:57 +0900 (135037c) @@ -0,0 +1,60 @@ +--- +title: Install on Debian GNU/Linux +layout: en +--- + +# Install on Debian GNU/Linux + +This document describes how to install PGroonga on Debian GNU/Linux. + +## Supported versions + +Here are supported Debian GNU/Linux versions: + + * Jessie + +## How to install on Debian GNU/Linux Jessie + +You can use the following instruction to install PGroonga on Debian GNU/Linux Jessie. + +Add APT repository for Groonga: + +`/etc/apt/sources.list.d/groonga.list`: + +```text +deb http://packages.groonga.org/debian/ jessie main +deb-src http://packages.groonga.org/debian/ jessie main +``` + +Install `postgresql-9.4-pgroonga` package: + +```text +% sudo apt-get update +% sudo apt-get install -y -V --allow-unauthenticated groonga-keyring +% sudo apt-get update +% sudo apt-get install -y -V postgresql-9.4-pgroonga +``` + +If you want to use [MeCab](http://taku910.github.io/mecab/) based tokenizer, you also need to install `groonga-tokenizer-mecab` package: + +```text +% sudo apt-get install -y -V groonga-tokenizer-mecab +``` + +Create a database: + +```text +% sudo -u postgres -H psql --command 'CREATE DATABASE pgroonga_test' +``` + +(Normally, you should create a user for `pgroonga_test` database and use the user.) + +Connect to the created database and execute `CREATE EXTENSION pgroonga`: + +```text +% sudo -u postgres -H psql -d pgroonga_test --command 'CREATE EXTENSION pgroonga' +``` + +That's all! + +Try [tutorial](../tutorial/). You can understand more about PGroonga. Modified: install/index.md (+2 -0) =================================================================== --- install/index.md 2015-10-15 10:51:37 +0900 (12dc302) +++ install/index.md 2015-10-15 10:56:57 +0900 (194f825) @@ -18,6 +18,8 @@ If your PostgreSQL is older than them, you need to upgrade your PostgreSQL befor See a document for your platform in the followings: + * [Debian GNU/Linux](debian.html) + * Jessie * [Ubuntu](ubuntu.html) * 14.10 * 15.04 Added: ja/install/debian.md (+60 -0) 100644 =================================================================== --- /dev/null +++ ja/install/debian.md 2015-10-15 10:56:57 +0900 (2fc507f) @@ -0,0 +1,60 @@ +--- +title: Debian GNU/Linuxにインストール +layout: ja +--- + +# Debian GNU/Linuxにインストール + +このドキュメントはDebian GNU/LinuxにPGroongaをインストールする方法を説明します。 + +## サポートしているバージョン + +サポートしているDebian GNU/Linuxのバージョンは次の通りです。 + + * Jessie + +## Debian GNU/Linux Jessieにインストールする方法 + +Debian GNU/Linux JessieにPGroongaをインストールする方法は次の通りです。 + +GroongaのAPTリポジトリーを追加します。 + +`/etc/apt/sources.list.d/groonga.list`: + +```text +deb http://packages.groonga.org/debian/ jessie main +deb-src http://packages.groonga.org/debian/ jessie main +``` + +`postgresql-9.4-pgroonga`パッケージをインストールします。 + +```text +% sudo apt-get update +% sudo apt-get install -y -V --allow-unauthenticated groonga-keyring +% sudo apt-get update +% sudo apt-get install -y -V postgresql-9.4-pgroonga +``` + +[MeCab](http://taku910.github.io/mecab/)ベースのトークナイザーを使いたい場合は、`groonga-tokenizer-mecab`パッケージもインストールする必要があります。 + +```text +% sudo apt-get install -y -V groonga-tokenizer-mecab +``` + +データベースを作成します。 + +```text +% sudo -u postgres -H psql --command 'CREATE DATABASE pgroonga_test' +``` + +(通常は`pgroonga_test`データベース用のユーザーを作ってそのユーザーを作るべきです。) + +作成したデータベースに接続し、`CREATE EXTENSION pgroonga`を実行します。 + +```text +% sudo -u postgres -H psql -d pgroonga_test --command 'CREATE EXTENSION pgroonga' +``` + +これで終わりです! + +[チュートリアル](../tutorial/)を試してください。PGroongaについてもっと理解できるはずです。 Modified: ja/install/index.md (+2 -0) =================================================================== --- ja/install/index.md 2015-10-15 10:51:37 +0900 (10f9bd4) +++ ja/install/index.md 2015-10-15 10:56:57 +0900 (b71eefc) @@ -18,6 +18,8 @@ layout: ja 次の中から自分のプラットフォーム用のドキュメントを選んで参照してください。 + * [Debian GNU/Linux](debian.html) + * Jessie * [Ubuntu](ubuntu.html) * 14.10 * 15.04 -------------- next part -------------- HTML����������������������������...Download