Kouhei Sutou
null+****@clear*****
Fri Nov 3 00:09:10 JST 2017
Kouhei Sutou 2017-11-03 00:09:10 +0900 (Fri, 03 Nov 2017) New Revision: 45e102f1b3ac59c2b6698db84f06dc2a89d39513 https://github.com/pgroonga/pgroonga.github.io/commit/45e102f1b3ac59c2b6698db84f06dc2a89d39513 Message: Use PostgreSQL 10 on CentOS Modified files: _po/ja/install/centos.po install/centos.md ja/install/centos.md Modified: _po/ja/install/centos.po (+11 -11) =================================================================== --- _po/ja/install/centos.po 2017-11-01 10:24:52 +0900 (60046e1) +++ _po/ja/install/centos.po 2017-11-03 00:09:10 +0900 (92396aa) @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2017-04-29 12:39+0900\n" +"PO-Revision-Date: 2017-11-01 10:23+0900\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -46,12 +46,12 @@ msgstr "`postgresql-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://yum.postgresql.org/10/redhat/rhel-$(rpm -qf --" +"queryformat=\"%{VERSION}\" /etc/redhat-release)-$(rpm -qf --queryformat=\"%{ARCH}" +"\" /etc/redhat-release)/pgdg-centos10-10-2.noarch.rpm\n" "% sudo -H yum install -y https://packages.groonga.org/centos/groonga-release-1" ".3.0-1.noarch.rpm\n" -"% sudo -H yum install -y postgresql96-pgroonga\n" +"% sudo -H yum install -y postgresql10-pgroonga\n" "```" msgstr "" @@ -73,9 +73,9 @@ msgstr "PostgreSQLを実行します。" msgid "" "```text\n" -"% sudo -H /sbin/service postgresql-9.6 initdb\n" -"% sudo -H /sbin/chkconfig postgresql-9.6 on\n" -"% sudo -H /sbin/service postgresql-9.6 start\n" +"% sudo -H /sbin/service postgresql-10 initdb\n" +"% sudo -H /sbin/chkconfig postgresql-10 on\n" +"% sudo -H /sbin/service postgresql-10 start\n" "```" msgstr "" @@ -120,8 +120,8 @@ msgstr "CentOS 7にPGroongaをインストールする方法は次の通りで msgid "" "```text\n" -"% sudo -H /usr/pgsql-9.6/bin/postgresql96-setup initdb\n" -"% sudo -H systemctl enable postgresql-9.6\n" -"% sudo -H systemctl start postgresql-9.6\n" +"% sudo -H /usr/pgsql-10/bin/postgresql-10-setup initdb\n" +"% sudo -H systemctl enable postgresql-10\n" +"% sudo -H systemctl start postgresql-10\n" "```" msgstr "" Modified: install/centos.md (+10 -10) =================================================================== --- install/centos.md 2017-11-01 10:24:52 +0900 (9695979) +++ install/centos.md 2017-11-03 00:09:10 +0900 (c8524bb) @@ -21,9 +21,9 @@ You can use the following instruction to install PGroonga on CentOS 6. 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 +% sudo -H yum install -y http://yum.postgresql.org/10/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos10-10-2.noarch.rpm % sudo -H yum install -y https://packages.groonga.org/centos/groonga-release-1.3.0-1.noarch.rpm -% sudo -H yum install -y postgresql96-pgroonga +% sudo -H yum install -y postgresql10-pgroonga ``` If you want to use [MeCab](http://taku910.github.io/mecab/) based tokenizer, you also need to install `groonga-tokenizer-mecab` package: @@ -35,9 +35,9 @@ If you want to use [MeCab](http://taku910.github.io/mecab/) based tokenizer, you 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 +% sudo -H /sbin/service postgresql-10 initdb +% sudo -H /sbin/chkconfig postgresql-10 on +% sudo -H /sbin/service postgresql-10 start ``` Create a database: @@ -65,9 +65,9 @@ You can use the following instruction to install PGroonga on CentOS 7. 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 +% sudo -H yum install -y http://yum.postgresql.org/10/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos10-10-2.noarch.rpm % sudo -H yum install -y https://packages.groonga.org/centos/groonga-release-1.3.0-1.noarch.rpm -% sudo -H yum install -y postgresql96-pgroonga +% sudo -H yum install -y postgresql10-pgroonga ``` If you want to use [MeCab](http://taku910.github.io/mecab/) based tokenizer, you also need to install `groonga-tokenizer-mecab` package: @@ -79,9 +79,9 @@ If you want to use [MeCab](http://taku910.github.io/mecab/) based tokenizer, you Run PostgreSQL: ```text -% sudo -H /usr/pgsql-9.6/bin/postgresql96-setup initdb -% sudo -H systemctl enable postgresql-9.6 -% sudo -H systemctl start postgresql-9.6 +% sudo -H /usr/pgsql-10/bin/postgresql-10-setup initdb +% sudo -H systemctl enable postgresql-10 +% sudo -H systemctl start postgresql-10 ``` Create a database: Modified: ja/install/centos.md (+10 -10) =================================================================== --- ja/install/centos.md 2017-11-01 10:24:52 +0900 (c93cfce) +++ ja/install/centos.md 2017-11-03 00:09:10 +0900 (6746505) @@ -21,9 +21,9 @@ CentOS 6に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 +% sudo -H yum install -y http://yum.postgresql.org/10/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos10-10-2.noarch.rpm % sudo -H yum install -y https://packages.groonga.org/centos/groonga-release-1.3.0-1.noarch.rpm -% sudo -H yum install -y postgresql96-pgroonga +% sudo -H yum install -y postgresql10-pgroonga ``` [MeCab](http://taku910.github.io/mecab/)ベースのトークナイザーを使いたい場合は、`groonga-tokenizer-mecab`パッケージもインストールする必要があります。 @@ -35,9 +35,9 @@ CentOS 6にPGroongaをインストールする方法は次の通りです。 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 +% sudo -H /sbin/service postgresql-10 initdb +% sudo -H /sbin/chkconfig postgresql-10 on +% sudo -H /sbin/service postgresql-10 start ``` データベースを作成します。 @@ -65,9 +65,9 @@ CentOS 7に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 +% sudo -H yum install -y http://yum.postgresql.org/10/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos10-10-2.noarch.rpm % sudo -H yum install -y https://packages.groonga.org/centos/groonga-release-1.3.0-1.noarch.rpm -% sudo -H yum install -y postgresql96-pgroonga +% sudo -H yum install -y postgresql10-pgroonga ``` [MeCab](http://taku910.github.io/mecab/)ベースのトークナイザーを使いたい場合は、`groonga-tokenizer-mecab`パッケージもインストールする必要があります。 @@ -79,9 +79,9 @@ CentOS 7にPGroongaをインストールする方法は次の通りです。 PostgreSQLを実行します。 ```text -% sudo -H /usr/pgsql-9.6/bin/postgresql96-setup initdb -% sudo -H systemctl enable postgresql-9.6 -% sudo -H systemctl start postgresql-9.6 +% sudo -H /usr/pgsql-10/bin/postgresql-10-setup initdb +% sudo -H systemctl enable postgresql-10 +% sudo -H systemctl start postgresql-10 ``` データベースを作成します。 -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20171103/68d4e31a/attachment-0001.htm