Kouhei Sutou
null+****@clear*****
Sun Mar 20 22:37:28 JST 2016
Kouhei Sutou 2016-03-20 22:37:28 +0900 (Sun, 20 Mar 2016) New Revision: 6ddfbbcfb72d6ff9405bd1fc8a9002709d8000a9 https://github.com/pgroonga/pgroonga.github.io/commit/6ddfbbcfb72d6ff9405bd1fc8a9002709d8000a9 Message: Use yum Modified files: _po/ja/install/centos.po install/centos.md ja/install/centos.md Modified: _po/ja/install/centos.po (+8 -8) =================================================================== --- _po/ja/install/centos.po 2016-03-20 00:37:15 +0900 (439c38a) +++ _po/ja/install/centos.po 2016-03-20 22:37:28 +0900 (dca6b25) @@ -50,13 +50,13 @@ msgstr "`postgresql-pgroonga`パッケージをインストールします。" msgid "" "```text\n" -"% sudo rpm -ivh http://yum.postgresql.org/9.5/redhat/rhel-$(rpm -qf --queryfor" -"mat=\"%{VERSION}\" /etc/redhat-release)-$(rpm -qf --queryformat=\"%{ARCH}\" /etc/r" -"edhat-release)/pgdg-centos95-9.5-2.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 postgresql95-pgroonga\n" +"% sudo -H yum install -y http://yum.postgresql.org/9.5/redhat/rhel-$(rpm -qf -" +"-queryformat=\"%{VERSION}\" /etc/redhat-release)-$(rpm -qf --queryformat=\"%{ARCH" +"}\" /etc/redhat-release)/pgdg-centos95-9.5-2.noarch.rpm\n" +"% sudo -H yum install -y http://packages.groonga.org/centos/groonga-release-1." +"1.0-1.noarch.rpm\n" +"% sudo -H yum makecache\n" +"% sudo -H yum install -y postgresql95-pgroonga\n" "```" msgstr "" @@ -69,7 +69,7 @@ msgstr "" msgid "" "```text\n" -"% sudo yum install -y groonga-tokenizer-mecab\n" +"% sudo -H yum install -y groonga-tokenizer-mecab\n" "```" msgstr "" Modified: install/centos.md (+10 -10) =================================================================== --- install/centos.md 2016-03-20 00:37:15 +0900 (b72fdd9) +++ install/centos.md 2016-03-20 22:37:28 +0900 (c04da06) @@ -22,16 +22,16 @@ You can use the following instruction to install PGroonga on CentOS 5 or CentOS Install `postgresql-pgroonga` package: ```text -% sudo rpm -ivh http://yum.postgresql.org/9.5/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos95-9.5-2.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 postgresql95-pgroonga +% sudo -H yum install -y http://yum.postgresql.org/9.5/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos95-9.5-2.noarch.rpm +% sudo -H yum install -y http://packages.groonga.org/centos/groonga-release-1.1.0-1.noarch.rpm +% sudo -H yum makecache +% sudo -H yum install -y postgresql95-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 yum install -y groonga-tokenizer-mecab +% sudo -H yum install -y groonga-tokenizer-mecab ``` Run PostgreSQL: @@ -67,16 +67,16 @@ You can use the following instruction to install PGroonga on CentOS 7. Install `postgresql-pgroonga` package: ```text -% sudo rpm -ivh http://yum.postgresql.org/9.5/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos95-9.5-2.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 postgresql95-pgroonga +% sudo -H yum install -y http://yum.postgresql.org/9.5/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos95-9.5-2.noarch.rpm +% sudo -H yum install -y http://packages.groonga.org/centos/groonga-release-1.1.0-1.noarch.rpm +% sudo -H yum makecache +% sudo -H yum install -y postgresql95-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 yum install -y groonga-tokenizer-mecab +% sudo -H yum install -y groonga-tokenizer-mecab ``` Run PostgreSQL: Modified: ja/install/centos.md (+10 -10) =================================================================== --- ja/install/centos.md 2016-03-20 00:37:15 +0900 (23db72f) +++ ja/install/centos.md 2016-03-20 22:37:28 +0900 (62ec39b) @@ -22,16 +22,16 @@ layout: ja `postgresql-pgroonga`パッケージをインストールします。 ```text -% sudo rpm -ivh http://yum.postgresql.org/9.5/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos95-9.5-2.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 postgresql95-pgroonga +% sudo -H yum install -y http://yum.postgresql.org/9.5/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos95-9.5-2.noarch.rpm +% sudo -H yum install -y http://packages.groonga.org/centos/groonga-release-1.1.0-1.noarch.rpm +% sudo -H yum makecache +% sudo -H yum install -y postgresql95-pgroonga ``` [MeCab](http://taku910.github.io/mecab/)ベースのトークナイザーを使いたい場合は、`groonga-tokenizer-mecab`パッケージもインストールする必要があります。 ```text -% sudo yum install -y groonga-tokenizer-mecab +% sudo -H yum install -y groonga-tokenizer-mecab ``` PostgreSQLを実行します。 @@ -67,16 +67,16 @@ CentOS 7にPGroongaをインストールする方法は次の通りです。 `postgresql-pgroonga`パッケージをインストールします。 ```text -% sudo rpm -ivh http://yum.postgresql.org/9.5/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos95-9.5-2.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 postgresql95-pgroonga +% sudo -H yum install -y http://yum.postgresql.org/9.5/redhat/rhel-$(rpm -qf --queryformat="%{VERSION}" /etc/redhat-release)-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-centos95-9.5-2.noarch.rpm +% sudo -H yum install -y http://packages.groonga.org/centos/groonga-release-1.1.0-1.noarch.rpm +% sudo -H yum makecache +% sudo -H yum install -y postgresql95-pgroonga ``` [MeCab](http://taku910.github.io/mecab/)ベースのトークナイザーを使いたい場合は、`groonga-tokenizer-mecab`パッケージもインストールする必要があります。 ```text -% sudo yum install -y groonga-tokenizer-mecab +% sudo -H yum install -y groonga-tokenizer-mecab ``` PostgreSQLを実行します。 -------------- next part -------------- HTML����������������������������... Télécharger