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
12 changed files
with
264 additions
and
9 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
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,119 @@ | ||
| msgid "" | ||
| msgstr "" | ||
| "Project-Id-Version: PACKAGE VERSION\n" | ||
| "PO-Revision-Date: 2017-04-11 10:58+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 FreeBSD\n" | ||
| "---" | ||
| msgstr "" | ||
| "---\n" | ||
| "title: FreeBSDにインストール\n" | ||
| "---" | ||
|
|
||
| msgid "# Install on FreeBSD" | ||
| msgstr "# FreeBSDにインストール" | ||
|
|
||
| msgid "This document describes how to install PGroonga on FreeBSD." | ||
| msgstr "このドキュメントはFreeBSDにPGroongaをインストールする方法を説明します。" | ||
|
|
||
| msgid "## How to install" | ||
| msgstr "## インストール方法" | ||
|
|
||
| msgid "You can use the following instruction to install PGroonga on FreeBSD." | ||
| msgstr "FreeBSDにPGroongaをインストールする方法は次の通りです。" | ||
|
|
||
| msgid "Install Groonga, PostgreSQL, pkg-config and GNU Make by `pkg`:" | ||
| msgstr "`pkg`でGroongaとPostgreSQLとpkg-configとGNU Makeをインストールします。" | ||
|
|
||
| msgid "" | ||
| "```text\n" | ||
| "% sudo pkg install -f groonga pkgconf postgresql{{ site.freebsd_postgresql_ver" | ||
| "sion }}-server\n" | ||
| "```" | ||
| msgstr "" | ||
|
|
||
| msgid "" | ||
| "Create `/etc/rc.conf.d/postgresql` with the following content to enable Postgr" | ||
| "eSQL:" | ||
| msgstr "PostgreSQLを有効にするために次の内容の`/etc/rc.conf.d/postgresql`を作ります。" | ||
|
|
||
| msgid "`/etc/rc.conf.d/postgresql`:" | ||
| msgstr "" | ||
|
|
||
| msgid "" | ||
| "```text\n" | ||
| "postgresql_enable=\"YES\"\n" | ||
| "```" | ||
| msgstr "" | ||
|
|
||
| msgid "Initialize PostgreSQL database:" | ||
| msgstr "PostgreSQLのデータベースを初期化します。" | ||
|
|
||
| msgid "" | ||
| "```text\n" | ||
| "% sudo -H /usr/local/etc/rc.d/postgresql initdb\n" | ||
| "```" | ||
| msgstr "" | ||
|
|
||
| msgid "Start PostgreSQL:" | ||
| msgstr "PostgreSQLを起動します。" | ||
|
|
||
| msgid "" | ||
| "```text\n" | ||
| "% sudo -H service postgresql start\n" | ||
| "```" | ||
| msgstr "" | ||
|
|
||
| msgid "Install PGroonga from source:" | ||
| msgstr "ソースからPGroongaをインストールします。" | ||
|
|
||
| msgid "" | ||
| "```text\n" | ||
| "% curl -O https://packages.groonga.org/source/pgroonga/pgroonga-{{ site.pgroon" | ||
| "ga_version }}.tar.gz\n" | ||
| "% tar xvf pgroonga-{{ site.pgroonga_version }}.tar.gz\n" | ||
| "% cd pgroonga-{{ site.pgroonga_version }}\n" | ||
| "% gmake HAVE_MSGPACK=1\n" | ||
| "% sudo -H gmake install\n" | ||
| "```" | ||
| msgstr "" | ||
|
|
||
| msgid "Create a database:" | ||
| msgstr "データベースを作成します。" | ||
|
|
||
| msgid "" | ||
| "```text\n" | ||
| "% sudo -H -u postgres psql --command 'CREATE DATABASE pgroonga_test'\n" | ||
| "```" | ||
| msgstr "" | ||
|
|
||
| msgid "" | ||
| "(Normally, you should create a user for `pgroonga_test` database and use the u" | ||
| "ser. See [`GRANT USAGE ON SCHEMA pgroonga`](../reference/grant-usage-on-schema" | ||
| "-pgroonga.html) for details.)" | ||
| msgstr "" | ||
| "(通常は`pgroonga_test`データベース用のユーザーを作ってそのユーザーを作るべきです。詳細は[`GRANT USAGE ON SCHEMA pg" | ||
| "roonga`](../reference/grant-usage-on-schema-pgroonga.html)を参照してください。)" | ||
|
|
||
| msgid "Connect to the created database and execute `CREATE EXTENSION pgroonga`:" | ||
| msgstr "作成したデータベースに接続し、`CREATE EXTENSION pgroonga`を実行します。" | ||
|
|
||
| msgid "" | ||
| "```text\n" | ||
| "% sudo -H -u postgres 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
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
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
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,65 @@ | ||
| --- | ||
| title: Install on FreeBSD | ||
| --- | ||
|
|
||
| # Install on FreeBSD | ||
|
|
||
| This document describes how to install PGroonga on FreeBSD. | ||
|
|
||
| ## How to install | ||
|
|
||
| You can use the following instruction to install PGroonga on FreeBSD. | ||
|
|
||
| Install Groonga, PostgreSQL, pkg-config and GNU Make by `pkg`: | ||
|
|
||
| ```text | ||
| % sudo pkg install -f groonga pkgconf postgresql{{ site.freebsd_postgresql_version }}-server | ||
| ``` | ||
|
|
||
| Create `/etc/rc.conf.d/postgresql` with the following content to enable PostgreSQL: | ||
|
|
||
| `/etc/rc.conf.d/postgresql`: | ||
|
|
||
| ```text | ||
| postgresql_enable="YES" | ||
| ``` | ||
|
|
||
| Initialize PostgreSQL database: | ||
|
|
||
| ```text | ||
| % sudo -H /usr/local/etc/rc.d/postgresql initdb | ||
| ``` | ||
|
|
||
| Start PostgreSQL: | ||
|
|
||
| ```text | ||
| % sudo -H service postgresql start | ||
| ``` | ||
|
|
||
| Install PGroonga from source: | ||
|
|
||
| ```text | ||
| % curl -O https://packages.groonga.org/source/pgroonga/pgroonga-{{ site.pgroonga_version }}.tar.gz | ||
| % tar xvf pgroonga-{{ site.pgroonga_version }}.tar.gz | ||
| % cd pgroonga-{{ site.pgroonga_version }} | ||
| % gmake HAVE_MSGPACK=1 | ||
| % sudo -H gmake install | ||
| ``` | ||
|
|
||
| Create a database: | ||
|
|
||
| ```text | ||
| % sudo -H -u postgres psql --command 'CREATE DATABASE pgroonga_test' | ||
| ``` | ||
|
|
||
| (Normally, you should create a user for `pgroonga_test` database and use the user. See [`GRANT USAGE ON SCHEMA pgroonga`](../reference/grant-usage-on-schema-pgroonga.html) for details.) | ||
|
|
||
| Connect to the created database and execute `CREATE EXTENSION pgroonga`: | ||
|
|
||
| ```text | ||
| % sudo -H -u postgres psql -d pgroonga_test --command 'CREATE EXTENSION pgroonga;' | ||
| ``` | ||
|
|
||
| That's all! | ||
|
|
||
| Try [tutorial](../tutorial/). You can understand more about 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
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
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,65 @@ | ||
| --- | ||
| title: FreeBSDにインストール | ||
| --- | ||
|
|
||
| # FreeBSDにインストール | ||
|
|
||
| このドキュメントはFreeBSDにPGroongaをインストールする方法を説明します。 | ||
|
|
||
| ## インストール方法 | ||
|
|
||
| FreeBSDにPGroongaをインストールする方法は次の通りです。 | ||
|
|
||
| `pkg`でGroongaとPostgreSQLとpkg-configとGNU Makeをインストールします。 | ||
|
|
||
| ```text | ||
| % sudo pkg install -f groonga pkgconf postgresql{{ site.freebsd_postgresql_version }}-server | ||
| ``` | ||
|
|
||
| PostgreSQLを有効にするために次の内容の`/etc/rc.conf.d/postgresql`を作ります。 | ||
|
|
||
| `/etc/rc.conf.d/postgresql`: | ||
|
|
||
| ```text | ||
| postgresql_enable="YES" | ||
| ``` | ||
|
|
||
| PostgreSQLのデータベースを初期化します。 | ||
|
|
||
| ```text | ||
| % sudo -H /usr/local/etc/rc.d/postgresql initdb | ||
| ``` | ||
|
|
||
| PostgreSQLを起動します。 | ||
|
|
||
| ```text | ||
| % sudo -H service postgresql start | ||
| ``` | ||
|
|
||
| ソースからPGroongaをインストールします。 | ||
|
|
||
| ```text | ||
| % curl -O https://packages.groonga.org/source/pgroonga/pgroonga-{{ site.pgroonga_version }}.tar.gz | ||
| % tar xvf pgroonga-{{ site.pgroonga_version }}.tar.gz | ||
| % cd pgroonga-{{ site.pgroonga_version }} | ||
| % gmake HAVE_MSGPACK=1 | ||
| % sudo -H gmake install | ||
| ``` | ||
|
|
||
| データベースを作成します。 | ||
|
|
||
| ```text | ||
| % sudo -H -u postgres psql --command 'CREATE DATABASE pgroonga_test' | ||
| ``` | ||
|
|
||
| (通常は`pgroonga_test`データベース用のユーザーを作ってそのユーザーを作るべきです。詳細は[`GRANT USAGE ON SCHEMA pgroonga`](../reference/grant-usage-on-schema-pgroonga.html)を参照してください。) | ||
|
|
||
| 作成したデータベースに接続し、`CREATE EXTENSION pgroonga`を実行します。 | ||
|
|
||
| ```text | ||
| % sudo -H -u postgres psql -d pgroonga_test --command 'CREATE EXTENSION pgroonga;' | ||
| ``` | ||
|
|
||
| これで終わりです! | ||
|
|
||
| [チュートリアル](../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 |
|---|---|---|
|
|
@@ -39,6 +39,8 @@ title: インストール | |
|
|
||
| * 7 | ||
|
|
||
| * [FreeBSD](freebsd.html) | ||
|
|
||
| * [OS X](os-x.html) | ||
|
|
||
| * Homebrew | ||
|
|
||
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
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