Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
154 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,101 @@ | ||
| msgid "" | ||
| msgstr "" | ||
| "Project-Id-Version: PACKAGE VERSION\n" | ||
| "PO-Revision-Date: 2015-10-15 09:54+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 Ubuntu\n" | ||
| "layout: en\n" | ||
| "---" | ||
| msgstr "" | ||
| "---\n" | ||
| "title: Ubuntuにインストール\n" | ||
| "layout: ja\n" | ||
| "---" | ||
|
|
||
| msgid "# Install on Ubuntu" | ||
| msgstr "# Ubuntuにインストール" | ||
|
|
||
| msgid "This document describes how to install PGroonga on Ubuntu." | ||
| msgstr "このドキュメントはUbuntuにPGroongaをインストールする方法を説明します。" | ||
|
|
||
| msgid "## Supported versions" | ||
| msgstr "## サポートしているバージョン" | ||
|
|
||
| msgid "Here are supported Ubuntu versions:" | ||
| msgstr "サポートしているUbuntuのバージョンは次の通りです。" | ||
|
|
||
| msgid "" | ||
| " * Ubuntu 14.10\n" | ||
| " * Ubuntu 15.04" | ||
| msgstr "" | ||
|
|
||
| msgid "## How to install" | ||
| msgstr "## インストール方法" | ||
|
|
||
| msgid "" | ||
| "You can use the following instruction to install PGroonga on all supported Ubu" | ||
| "ntu versions." | ||
| msgstr "PGroongaをインストールする方法は次の通りです。サポートしているすべてのバージョンのUbuntuで共通です。" | ||
|
|
||
| msgid "Install `postgresql-server-9.4-pgroonga` package:" | ||
| msgstr "`postgresql-server-9.4-pgroonga`パッケージをインストールします。" | ||
|
|
||
| msgid "" | ||
| "```text\n" | ||
| "% sudo apt-get install -y software-properties-common\n" | ||
| "% sudo add-apt-repository -y universe\n" | ||
| "% sudo add-apt-repository -y ppa:groonga/ppa\n" | ||
| "% sudo apt-get update\n" | ||
| "% sudo apt-get install -y postgresql-server-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 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についてもっと理解できるはずです。" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| --- | ||
| title: Ubuntuにインストール | ||
| layout: ja | ||
| --- | ||
|
|
||
| # Ubuntuにインストール | ||
|
|
||
| このドキュメントはUbuntuにPGroongaをインストールする方法を説明します。 | ||
|
|
||
| ## サポートしているバージョン | ||
|
|
||
| サポートしているUbuntuのバージョンは次の通りです。 | ||
|
|
||
| * Ubuntu 14.10 | ||
| * Ubuntu 15.04 | ||
|
|
||
| ## インストール方法 | ||
|
|
||
| PGroongaをインストールする方法は次の通りです。サポートしているすべてのバージョンのUbuntuで共通です。 | ||
|
|
||
| `postgresql-server-9.4-pgroonga`パッケージをインストールします。 | ||
|
|
||
| ```text | ||
| % sudo apt-get install -y software-properties-common | ||
| % sudo add-apt-repository -y universe | ||
| % sudo add-apt-repository -y ppa:groonga/ppa | ||
| % sudo apt-get update | ||
| % sudo apt-get install -y postgresql-server-9.4-pgroonga | ||
| ``` | ||
|
|
||
| [MeCab](http://taku910.github.io/mecab/)ベースのトークナイザーを使いたい場合は、`groonga-tokenizer-mecab`パッケージもインストールする必要があります。 | ||
|
|
||
| ```text | ||
| % sudo apt-get install -y 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についてもっと理解できるはずです。 |