Navigation Menu

Skip to content

Commit

Permalink
Dropped EOL-ed CentOS 5 support
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 28, 2017
1 parent c36bf85 commit db2c557
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 131 deletions.
41 changes: 11 additions & 30 deletions _po/ja/install/centos.po
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"PO-Revision-Date: 2017-04-11 10:58+0900\n"
"PO-Revision-Date: 2017-04-26 18:11+0900\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -29,17 +29,17 @@ msgstr "## サポートしているバージョン"
msgid "Here are supported CentOS versions:"
msgstr "サポートしているCentOSのバージョンは次の通りです。"

msgid ""
" * [CentOS 5](#install-on-5)\n"
" * [CentOS 6](#install-on-6)\n"
" * [CentOS 7](#install-on-7)"
msgid " * [CentOS 6](#install-on-6)"
msgstr ""

msgid "## How to install on CentOS 5 {#install-on-5}"
msgstr "## CentOS 5にインストールする方法 {#install-on-5}"
msgid " * [CentOS 7](#install-on-7)"
msgstr ""

msgid "You can use the following instruction to install PGroonga on CentOS 5."
msgstr "CentOS 5にPGroongaをインストールする方法は次の通りです。"
msgid "## How to install on CentOS 6 {#install-on-6}"
msgstr "## CentOS 6にインストールする方法 {#install-on-6}"

msgid "You can use the following instruction to install PGroonga on CentOS 6."
msgstr "CentOS 6にPGroongaをインストールする方法は次の通りです。"

msgid "Install `postgresql-pgroonga` package:"
msgstr "`postgresql-pgroonga`パッケージをインストールします。"
Expand All @@ -49,10 +49,8 @@ msgid ""
"% sudo -H yum install -y http://yum.postgresql.org/9.6/redhat/rhel-$(rpm -qf -"
"-queryformat=\"%{VERSION}\" /etc/redhat-release)-$(rpm -qf --queryformat=\"%{ARCH"
"}\" /etc/redhat-release)/pgdg-centos96-9.6-3.noarch.rpm\n"
"% wget https://packages.groonga.org/centos/groonga-release-{{ site.centos_groo"
"nga_release_version }}.noarch.rpm\n"
"% sudo -H yum install -y --nogpgcheck groonga-release-{{ site.centos_groonga_r"
"elease_version }}.noarch.rpm\n"
"% sudo -H yum install -y http://packages.groonga.org/centos/groonga-release-1."
"2.0-1.noarch.rpm\n"
"% sudo -H yum install -y postgresql96-pgroonga\n"
"```"
msgstr ""
Expand Down Expand Up @@ -114,23 +112,6 @@ msgstr "これで終わりです!"
msgid "Try [tutorial](../tutorial/). You can understand more about PGroonga."
msgstr "[チュートリアル](../tutorial/)を試してください。PGroongaについてもっと理解できるはずです。"

msgid "## How to install on CentOS 6 {#install-on-6}"
msgstr "## CentOS 6にインストールする方法 {#install-on-6}"

msgid "You can use the following instruction to install PGroonga on CentOS 6."
msgstr "CentOS 6にPGroongaをインストールする方法は次の通りです。"

msgid ""
"```text\n"
"% sudo -H yum install -y http://yum.postgresql.org/9.6/redhat/rhel-$(rpm -qf -"
"-queryformat=\"%{VERSION}\" /etc/redhat-release)-$(rpm -qf --queryformat=\"%{ARCH"
"}\" /etc/redhat-release)/pgdg-centos96-9.6-3.noarch.rpm\n"
"% sudo -H yum install -y http://packages.groonga.org/centos/groonga-release-1."
"2.0-1.noarch.rpm\n"
"% sudo -H yum install -y postgresql96-pgroonga\n"
"```"
msgstr ""

msgid "## How to install on CentOS 7 {#install-on-7}"
msgstr "## CentOS 7にインストールする方法 {#install-on-7}"

Expand Down
5 changes: 1 addition & 4 deletions _po/ja/install/index.po
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"PO-Revision-Date: 2017-04-11 10:58+0900\n"
"PO-Revision-Date: 2017-04-26 18:11+0900\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -70,9 +70,6 @@ msgstr ""
msgid " * [CentOS](centos.html)"
msgstr ""

msgid " * 5"
msgstr ""

msgid " * 6"
msgstr ""

Expand Down
5 changes: 4 additions & 1 deletion _po/ja/news/index.po
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"PO-Revision-Date: 2017-04-26 16:26+0900\n"
"PO-Revision-Date: 2017-04-26 18:11+0900\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -32,6 +32,9 @@ msgstr ""
msgid " * [[CentOS](../install/centos.html) 6] Supported WAL."
msgstr ""

msgid " * Dropped [[CentOS](../install/centos.html) 5] support."
msgstr ""

msgid ""
" * [[Replication](../reference/replication.html)] Supported NULL column value"
"."
Expand Down
47 changes: 1 addition & 46 deletions install/centos.md
Expand Up @@ -10,54 +10,9 @@ This document describes how to install PGroonga on CentOS.

Here are supported CentOS versions:

* [CentOS 5](#install-on-5)
* [CentOS 6](#install-on-6)
* [CentOS 7](#install-on-7)

## How to install on CentOS 5 {#install-on-5}

You can use the following instruction to install PGroonga on CentOS 5.

Install `postgresql-pgroonga` package:

```text
% sudo -H yum install -y http://yum.postgresql.org/9.6/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos96-9.6-3.noarch.rpm
% wget https://packages.groonga.org/centos/groonga-release-{{ site.centos_groonga_release_version }}.noarch.rpm
% sudo -H yum install -y --nogpgcheck groonga-release-{{ site.centos_groonga_release_version }}.noarch.rpm
% sudo -H yum install -y postgresql96-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 -H yum install -y groonga-tokenizer-mecab
```

Run PostgreSQL:

```text
% sudo -H /sbin/service postgresql-9.6 initdb
% sudo -H /sbin/chkconfig postgresql-9.6 on
% sudo -H /sbin/service postgresql-9.6 start
```

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. 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 -u postgres -H psql -d pgroonga_test --command 'CREATE EXTENSION pgroonga'
```

That's all!

Try [tutorial](../tutorial/). You can understand more about PGroonga.
* [CentOS 7](#install-on-7)

## How to install on CentOS 6 {#install-on-6}

Expand Down
2 changes: 0 additions & 2 deletions install/index.md
Expand Up @@ -35,8 +35,6 @@ See a document for your platform in the followings:

* [CentOS](centos.html)

* 5

* 6

* 7
Expand Down
47 changes: 1 addition & 46 deletions ja/install/centos.md
Expand Up @@ -10,54 +10,9 @@ title: CentOSにインストール

サポートしているCentOSのバージョンは次の通りです。

* [CentOS 5](#install-on-5)
* [CentOS 6](#install-on-6)
* [CentOS 7](#install-on-7)

## CentOS 5にインストールする方法 {#install-on-5}

CentOS 5にPGroongaをインストールする方法は次の通りです。

`postgresql-pgroonga`パッケージをインストールします。

```text
% sudo -H yum install -y http://yum.postgresql.org/9.6/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos96-9.6-3.noarch.rpm
% wget https://packages.groonga.org/centos/groonga-release-{{ site.centos_groonga_release_version }}.noarch.rpm
% sudo -H yum install -y --nogpgcheck groonga-release-{{ site.centos_groonga_release_version }}.noarch.rpm
% sudo -H yum install -y postgresql96-pgroonga
```

[MeCab](http://taku910.github.io/mecab/)ベースのトークナイザーを使いたい場合は、`groonga-tokenizer-mecab`パッケージもインストールする必要があります。

```text
% sudo -H yum install -y groonga-tokenizer-mecab
```

PostgreSQLを実行します。

```text
% sudo -H /sbin/service postgresql-9.6 initdb
% sudo -H /sbin/chkconfig postgresql-9.6 on
% sudo -H /sbin/service postgresql-9.6 start
```

データベースを作成します。

```text
% sudo -u postgres -H 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 -u postgres -H psql -d pgroonga_test --command 'CREATE EXTENSION pgroonga'
```

これで終わりです!

[チュートリアル](../tutorial/)を試してください。PGroongaについてもっと理解できるはずです。
* [CentOS 7](#install-on-7)

## CentOS 6にインストールする方法 {#install-on-6}

Expand Down
2 changes: 0 additions & 2 deletions ja/install/index.md
Expand Up @@ -35,8 +35,6 @@ title: インストール

* [CentOS](centos.html)

* 5

* 6

* 7
Expand Down
2 changes: 2 additions & 0 deletions ja/news/index.md
Expand Up @@ -12,6 +12,8 @@ title: おしらせ

* [[CentOS](../install/centos.html) 6] Supported WAL.

* Dropped [[CentOS](../install/centos.html) 5] support.

* [[Replication](../reference/replication.html)] Supported NULL column value.

* [[`pgroonga.score` function](../reference/functions/pgroonga-score.html)] Improved performance. This improvements makes `pgroonga.score` function 30 times faster. [GitHub#31][Reported by yongxianggao-chanjet]
Expand Down
2 changes: 2 additions & 0 deletions news/index.md
Expand Up @@ -12,6 +12,8 @@ title: News

* [[CentOS](../install/centos.html) 6] Supported WAL.

* Dropped [[CentOS](../install/centos.html) 5] support.

* [[Replication](../reference/replication.html)] Supported NULL column value.

* [[`pgroonga.score` function](../reference/functions/pgroonga-score.html)] Improved performance. This improvements makes `pgroonga.score` function 30 times faster. [GitHub#31][Reported by yongxianggao-chanjet]
Expand Down

0 comments on commit db2c557

Please sign in to comment.