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
235 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,129 @@ | ||
| msgid "" | ||
| msgstr "" | ||
| "Project-Id-Version: PACKAGE VERSION\n" | ||
| "PO-Revision-Date: 2015-10-15 00:00+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 CentOS\n" | ||
| "layout: en\n" | ||
| "---" | ||
| msgstr "" | ||
| "---\n" | ||
| "title: CentOSにインストール\n" | ||
| "layout: ja\n" | ||
| "---" | ||
|
|
||
| msgid "# Install on CnetOS" | ||
| msgstr "# CnetOSにインストール" | ||
|
|
||
| msgid "This document describes how to install PGroonga on CentOS." | ||
| msgstr "このドキュメントはPGroongaをCentOSにインストールする方法を説明します。" | ||
|
|
||
| msgid "## Supported versions" | ||
| msgstr "## サポートしているバージョン" | ||
|
|
||
| msgid "Here are supported CentOS versions:" | ||
| msgstr "サポートしているCentOSのバージョンは次の通りです。" | ||
|
|
||
| msgid "" | ||
| " * [CentOS 5](#install-on-5-or-6)\n" | ||
| " * [CentOS 6](#install-on-5-or-6)\n" | ||
| " * [CentOS 7](#install-on-7)" | ||
| msgstr "" | ||
|
|
||
| msgid "## How to install on CentOS 5 or CentOS 6 {#install-on-5-or-6}" | ||
| msgstr "## CentOS 5またはCentOS 6にインストールする方法 {#install-on-5-or-6}" | ||
|
|
||
| msgid "" | ||
| "You can use the following instruction to install PGroonga on CentOS 5 or CentO" | ||
| "S 6." | ||
| msgstr "次の方法でPGroongaをCentOS 5またはCentOS 6にインストールできます。" | ||
|
|
||
| msgid "Install `postgresql-pgroonga` package:" | ||
| msgstr "`postgresql-pgroonga`パッケージをインストールします。" | ||
|
|
||
| msgid "" | ||
| "```text\n" | ||
| "% sudo rpm -ivh http://yum.postgresql.org/9.4/redhat/rhel-$(rpm -qf --queryfor" | ||
| "mat=\"%{VERSION}\" /etc/redhat-release)-$(rpm -qf --queryformat=\"%{ARCH}\" /etc/r" | ||
| "edhat-release)/pgdg-centos94-9.4-1.noarch.rpm\n" | ||
| "% sudo rpm -ivh http://packages.groonga.org/centos/groonga-release-1.1.0-1.noa" | ||
| "rch.rpm\n" | ||
| "% sudo yum makecache\n" | ||
| "% sudo yum install -y postgresql94-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 yum install -y groonga-tokenizer-mecab\n" | ||
| "```" | ||
| msgstr "" | ||
|
|
||
| msgid "Run PostgreSQL:" | ||
| msgstr "PostgreSQLを実行します。" | ||
|
|
||
| msgid "" | ||
| "```text\n" | ||
| "% sudo -H /sbin/service postgresql-9.4 initdb\n" | ||
| "% sudo -H /sbin/chkconfig postgresql-9.4 on\n" | ||
| "% sudo -H /sbin/service postgresql-9.4 start\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についてもっと理解できるはずです。" | ||
|
|
||
| msgid "## How to install on CentOS 7 {#install-on-7}" | ||
| msgstr "## CentOS 7にインストールする方法 {#install-on-7}" | ||
|
|
||
| msgid "You can use the following instruction to install PGroonga on CentOS 7." | ||
| msgstr "CentOS 7にPGroongaをインストールする方法は次の通りです。" | ||
|
|
||
| msgid "" | ||
| "```text\n" | ||
| "% sudo -H /usr/pgsql-9.4/bin/postgresql94-setup initdb\n" | ||
| "% sudo -H systemctl enable postgresql-9.4\n" | ||
| "% sudo -H systemctl start postgresql-9.4\n" | ||
| "```" | ||
| msgstr "" |
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,106 @@ | ||
| --- | ||
| title: CentOSにインストール | ||
| layout: ja | ||
| --- | ||
|
|
||
| # CnetOSにインストール | ||
|
|
||
| このドキュメントはPGroongaをCentOSにインストールする方法を説明します。 | ||
|
|
||
| ## サポートしているバージョン | ||
|
|
||
| サポートしているCentOSのバージョンは次の通りです。 | ||
|
|
||
| * [CentOS 5](#install-on-5-or-6) | ||
| * [CentOS 6](#install-on-5-or-6) | ||
| * [CentOS 7](#install-on-7) | ||
|
|
||
| ## CentOS 5またはCentOS 6にインストールする方法 {#install-on-5-or-6} | ||
|
|
||
| 次の方法でPGroongaをCentOS 5またはCentOS 6にインストールできます。 | ||
|
|
||
| `postgresql-pgroonga`パッケージをインストールします。 | ||
|
|
||
| ```text | ||
| % sudo rpm -ivh http://yum.postgresql.org/9.4/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos94-9.4-1.noarch.rpm | ||
| % sudo rpm -ivh http://packages.groonga.org/centos/groonga-release-1.1.0-1.noarch.rpm | ||
| % sudo yum makecache | ||
| % sudo yum install -y postgresql94-pgroonga | ||
| ``` | ||
|
|
||
| [MeCab](http://taku910.github.io/mecab/)ベースのトークナイザーを使いたい場合は、`groonga-tokenizer-mecab`パッケージもインストールする必要があります。 | ||
|
|
||
| ```text | ||
| % sudo yum install -y groonga-tokenizer-mecab | ||
| ``` | ||
|
|
||
| PostgreSQLを実行します。 | ||
|
|
||
| ```text | ||
| % sudo -H /sbin/service postgresql-9.4 initdb | ||
| % sudo -H /sbin/chkconfig postgresql-9.4 on | ||
| % sudo -H /sbin/service postgresql-9.4 start | ||
| ``` | ||
|
|
||
| データベースを作成します。 | ||
|
|
||
| ```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についてもっと理解できるはずです。 | ||
|
|
||
| ## CentOS 7にインストールする方法 {#install-on-7} | ||
|
|
||
| CentOS 7にPGroongaをインストールする方法は次の通りです。 | ||
|
|
||
| `postgresql-pgroonga`パッケージをインストールします。 | ||
|
|
||
| ```text | ||
| % sudo rpm -ivh http://yum.postgresql.org/9.4/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos94-9.4-1.noarch.rpm | ||
| % sudo rpm -ivh http://packages.groonga.org/centos/groonga-release-1.1.0-1.noarch.rpm | ||
| % sudo yum makecache | ||
| % sudo yum install -y postgresql94-pgroonga | ||
| ``` | ||
|
|
||
| [MeCab](http://taku910.github.io/mecab/)ベースのトークナイザーを使いたい場合は、`groonga-tokenizer-mecab`パッケージもインストールする必要があります。 | ||
|
|
||
| ```text | ||
| % sudo yum install -y groonga-tokenizer-mecab | ||
| ``` | ||
|
|
||
| PostgreSQLを実行します。 | ||
|
|
||
| ```text | ||
| % sudo -H /usr/pgsql-9.4/bin/postgresql94-setup initdb | ||
| % sudo -H systemctl enable postgresql-9.4 | ||
| % sudo -H systemctl start postgresql-9.4 | ||
| ``` | ||
|
|
||
| データベースを作成します。 | ||
|
|
||
| ```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についてもっと理解できるはずです。 |