Skip to content

Commit

Permalink
Use yum
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Mar 20, 2016
1 parent ad1742a commit 6ddfbbc
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 28 deletions.
16 changes: 8 additions & 8 deletions _po/ja/install/centos.po
Expand Up @@ -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 ""

Expand All @@ -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 ""

Expand Down
20 changes: 10 additions & 10 deletions install/centos.md
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
20 changes: 10 additions & 10 deletions ja/install/centos.md
Expand Up @@ -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を実行します。
Expand Down Expand Up @@ -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を実行します。
Expand Down

0 comments on commit 6ddfbbc

Please sign in to comment.