Navigation Menu

Skip to content

Commit

Permalink
Add install document for Debian GNU/Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 15, 2015
1 parent d7b14d3 commit 0ee4d52
Show file tree
Hide file tree
Showing 6 changed files with 238 additions and 1 deletion.
111 changes: 111 additions & 0 deletions _po/ja/install/debian.po
@@ -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についてもっと理解できるはずです。"
4 changes: 3 additions & 1 deletion _po/ja/install/index.po
@@ -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"
Expand Down Expand Up @@ -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"
Expand Down
60 changes: 60 additions & 0 deletions install/debian.md
@@ -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.
2 changes: 2 additions & 0 deletions install/index.md
Expand Up @@ -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
Expand Down
60 changes: 60 additions & 0 deletions ja/install/debian.md
@@ -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についてもっと理解できるはずです。
2 changes: 2 additions & 0 deletions ja/install/index.md
Expand Up @@ -18,6 +18,8 @@ layout: ja

次の中から自分のプラットフォーム用のドキュメントを選んで参照してください。

* [Debian GNU/Linux](debian.html)
* Jessie
* [Ubuntu](ubuntu.html)
* 14.10
* 15.04
Expand Down

0 comments on commit 0ee4d52

Please sign in to comment.