Skip to content

Commit

Permalink
install: update supported PostgreSQL version and OS version (#386)
Browse files Browse the repository at this point in the history
  • Loading branch information
komainu8 authored Oct 9, 2024
1 parent 8f5791f commit 94024f8
Show file tree
Hide file tree
Showing 12 changed files with 55 additions and 391 deletions.
104 changes: 10 additions & 94 deletions _po/ja/install/centos.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"PO-Revision-Date: 2023-08-13 09:53+0900\n"
"PO-Revision-Date: 2023-08-22 17:03+0900\n"

msgid ""
"---\n"
Expand All @@ -20,102 +20,18 @@ msgstr ""
msgid "# Install on CentOS"
msgstr "# CentOSにインストール"

msgid "This document describes how to install PGroonga on CentOS."
msgstr "このドキュメントはPGroongaをCentOSにインストールする方法を説明します。"

msgid "## Supported versions"
msgstr "## サポートしているバージョン"

msgid "Here are supported CentOS versions:"
msgstr "サポートしているCentOSのバージョンは次の通りです。"

msgid " * [CentOS 7](#install-on-7)"
msgstr ""

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

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

msgid ""
"Install `postgresql{{ site.latest_postgresql_version }}-pgdg-pgroonga` "
"package:"
msgstr ""
"`postgresql{{ site.latest_postgresql_version }}-pgdg-pgroonga`パッケージをイ"
"ンストールします。"

msgid ""
"```console\n"
"$ sudo -H yum install -y https://download.postgresql.org/pub/repos/yum/"
"reporpms/EL-7-$(rpm -qf --queryformat=\"%{ARCH}\" /etc/redhat-release)/pgdg-"
"redhat-repo-latest.noarch.rpm\n"
"$ sudo -H yum install -y https://packages.groonga.org/centos/7/groonga-"
"release-latest.noarch.rpm\n"
"$ sudo -H yum install -y postgresql{{ site.latest_postgresql_version }}-pgdg-"
"pgroonga\n"
"```"
msgstr ""

msgid ""
"If you want to use [MeCab](http://taku910.github.io/mecab/) based tokenizer, "
"you also need to install `groonga-tokenizer-mecab` package:"
msgstr ""
"[MeCab](http://taku910.github.io/mecab/)ベースのトークナイザーを使いたい場合"
"は、`groonga-tokenizer-mecab`パッケージもインストールする必要があります。"

msgid ""
"```console\n"
"$ sudo -H yum install -y groonga-tokenizer-mecab\n"
"```"
msgstr ""

msgid "Run PostgreSQL:"
msgstr "PostgreSQLを実行します。"

msgid ""
"```console\n"
"$ sudo -H /usr/pgsql-{{ site.latest_postgresql_version }}/bin/postgresql-"
"{{ site.latest_postgresql_version }}-setup initdb\n"
"$ sudo -H systemctl enable --now postgresql-{{ site."
"latest_postgresql_version }}\n"
"```"
msgstr ""

msgid "Create a database:"
msgstr "データベースを作成します。"

msgid ""
"```console\n"
"$ sudo -u postgres -H psql --command 'CREATE DATABASE pgroonga_test'\n"
"```"
"Support for PGroonga has ended from version 3.2.1 because of CentOS 7’s EOL."
msgstr ""
"CentOS 7がEOLになったのでPGroonga 3.2.1以降はCentOS 7用パッケージを提供してい"
"ません。"

msgid ""
"(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.)"
"PGroonga supports AlmaLinux 8 and 9. So you can continue using PGroonga by "
"switching from CentOS 7 to AlmaLinux 8 or 9."
msgstr ""
"(通常は`pgroonga_test`データベース用のユーザーを作ってそのユーザーを利用する"
"べきです。詳細は[`GRANT USAGE ON SCHEMA pgroonga`](../reference/grant-usage-"
"on-schema-pgroonga.html)を参照してください。)"
"PGroongaは、AlmaLinux 8 と 9をサポートしているので、CentOS 7からAlmaLinux 8 "
"または 9にOSを切り替えることで引続きPGroongaを利用できます。"

msgid ""
"Connect to the created database and execute `CREATE EXTENSION pgroonga`:"
msgstr ""
"作成したデータベースに接続し、`CREATE EXTENSION pgroonga`を実行します。"

msgid ""
"```console\n"
"$ sudo -u postgres -H psql -d pgroonga_test --command 'CREATE EXTENSION "
"pgroonga'\n"
"```"
msgstr ""

msgid "That's all!"
msgstr "これで終わりです!"

msgid "Try [tutorial](../tutorial/). You can understand more about PGroonga."
msgstr ""
"[チュートリアル](../tutorial/)を試してください。PGroongaについてもっと理解で"
"きるはずです。"
msgid "See also [AlmaLinux](../install/almalinux.html)."
msgstr "[AlmaLinux](../install/almalinux.html)を参照してください。"
46 changes: 3 additions & 43 deletions _po/ja/install/debian.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"PO-Revision-Date: 2024-03-08 09:45+0900\n"
"PO-Revision-Date: 2023-08-22 17:03+0900\n"

msgid ""
"---\n"
Expand Down Expand Up @@ -34,9 +34,6 @@ msgstr "サポートしているDebian GNU/Linuxのバージョンは次の通
msgid " * [bookworm](#install-on-bookworm)"
msgstr ""

msgid " * [bullseye](#install-on-bullseye)"
msgstr ""

msgid "## How to install on Debian GNU/Linux bookworm {#install-on-bookworm}"
msgstr ""
"## Debian GNU/Linux bookwormにインストールする方法 {#install-on-bookworm}"
Expand Down Expand Up @@ -88,6 +85,8 @@ msgstr "`postgresql-*-pgdg-pgroonga`パッケージをインストールしま
msgid ""
"```console\n"
"$ sudo apt update\n"
"$ sudo apt install -y -V postgresql-17-pgdg-pgroonga\n"
"Or\n"
"$ sudo apt install -y -V postgresql-16-pgdg-pgroonga\n"
"Or\n"
"$ sudo apt install -y -V postgresql-15-pgdg-pgroonga\n"
Expand Down Expand Up @@ -149,44 +148,5 @@ msgstr ""
"[チュートリアル](../tutorial/)を試してください。PGroongaについてもっと理解で"
"きるはずです。"

msgid "## How to install on Debian GNU/Linux bullseye {#install-on-bullseye}"
msgstr ""
"## Debian GNU/Linux bullseyeにインストールする方法 {#install-on-bullseye}"

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

msgid ""
"```console\n"
"$ sudo apt install -y -V wget\n"
"$ wget https://packages.groonga.org/debian/groonga-apt-source-latest-"
"bullseye.deb\n"
"$ sudo apt install -y -V ./groonga-apt-source-latest-bullseye.deb\n"
"```"
msgstr ""

msgid ""
"```console\n"
"$ echo \"deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main\" | "
"sudo tee /etc/apt/sources.list.d/pgdg.list\n"
"$ wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | "
"sudo apt-key add -\n"
"```"
msgstr ""

msgid ""
"```console\n"
"$ sudo apt update\n"
"$ sudo apt install -y -V postgresql-15-pgdg-pgroonga\n"
"Or\n"
"$ sudo apt install -y -V postgresql-14-pgdg-pgroonga\n"
"Or\n"
"$ sudo apt install -y -V postgresql-13-pgdg-pgroonga\n"
"```"
msgstr ""

msgid "[postgresql-apt]:https://www.postgresql.org/download/linux/debian/"
msgstr ""
14 changes: 4 additions & 10 deletions _po/ja/install/index.po
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ msgid "Here are supported PostgreSQL versions:"
msgstr "サポートしているPostgreSQLのバージョンは次の通りです。"

msgid ""
" * 11\n"
" * 12\n"
" * 13\n"
" * 14\n"
" * 15\n"
" * 16"
" * 16\n"
" * 17"
msgstr ""

msgid ""
Expand All @@ -64,10 +64,10 @@ msgstr ""
msgid " * bookworm"
msgstr ""

msgid " * bullseye"
msgid " * [Ubuntu](ubuntu.html)"
msgstr ""

msgid " * [Ubuntu](ubuntu.html)"
msgid " * 24.04"
msgstr ""

msgid " * 22.04"
Expand All @@ -76,12 +76,6 @@ msgstr ""
msgid " * 20.04"
msgstr ""

msgid " * [CentOS](centos.html)"
msgstr ""

msgid " * 7"
msgstr ""

msgid " * [AlmaLinux](almalinux.html)"
msgstr ""

Expand Down
20 changes: 10 additions & 10 deletions _po/ja/install/ubuntu.po
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ msgstr "## サポートしているバージョン"
msgid "Here are supported Ubuntu versions:"
msgstr "サポートしているUbuntuのバージョンは次の通りです。"

msgid " * Ubuntu 22.04"
msgid " * Ubuntu 24.04"
msgstr ""

msgid " * Ubuntu 20.04"
msgid " * Ubuntu 22.04"
msgstr ""

msgid " * Ubuntu 18.04"
msgid " * Ubuntu 20.04"
msgstr ""

msgid ""
Expand All @@ -50,11 +50,6 @@ msgstr ""
"UbuntuでシステムのPostgreSQL用にPGroongaをインストールする手順は次の通りで"
"す。"

msgid "If you're using Ubuntu 18.04, install `postgresql-10-pgroonga` package."
msgstr ""
"Ubuntu 18.04を使っている場合は`postgresql-10-pgroonga`パッケージをインストー"
"ルしてください。"

msgid "If you're using Ubuntu 20.04, install `postgresql-12-pgroonga` package."
msgstr ""
"Ubuntu 20.04を使っている場合は`postgresql-12-pgroonga`パッケージをインストー"
Expand All @@ -65,18 +60,23 @@ msgstr ""
"Ubuntu 22.04を使っている場合は`postgresql-14-pgroonga`パッケージをインストー"
"ルしてください。"

msgid "If you're using Ubuntu 24.04, install `postgresql-16-pgroonga` package:"
msgstr ""
"Ubuntu 24.04を使っている場合は`postgresql-16-pgroonga`パッケージをインストー"
"ルしてください。"

msgid ""
"```console\n"
"$ sudo apt install -y software-properties-common\n"
"$ sudo add-apt-repository -y universe\n"
"$ sudo add-apt-repository -y ppa:groonga/ppa\n"
"$ sudo apt update\n"
"Ubuntu 18.04:\n"
"$ sudo apt install -y -V postgresql-10-pgroonga\n"
"Ubuntu 20.04:\n"
"$ sudo apt install -y -V postgresql-12-pgroonga\n"
"Ubuntu 22.04:\n"
"$ sudo apt install -y -V postgresql-14-pgroonga\n"
"Ubuntu 24.04:\n"
"$ sudo apt install -y -V postgresql-16-pgroonga\n"
"```"
msgstr ""

Expand Down
51 changes: 3 additions & 48 deletions install/centos.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,53 +4,8 @@ title: Install on CentOS

# Install on CentOS

This document describes how to install PGroonga on CentOS.
Support for PGroonga has ended from version 3.2.1 because of CentOS 7’s EOL.

## Supported versions
PGroonga supports AlmaLinux 8 and 9. So you can continue using PGroonga by switching from CentOS 7 to AlmaLinux 8 or 9.

Here are supported CentOS versions:

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

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

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

Install `postgresql{{ site.latest_postgresql_version }}-pgdg-pgroonga` package:

```console
$ sudo -H yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-$(rpm -qf --queryformat="%{ARCH}" /etc/redhat-release)/pgdg-redhat-repo-latest.noarch.rpm
$ sudo -H yum install -y https://packages.groonga.org/centos/7/groonga-release-latest.noarch.rpm
$ sudo -H yum install -y postgresql{{ site.latest_postgresql_version }}-pgdg-pgroonga
```

If you want to use [MeCab](http://taku910.github.io/mecab/) based tokenizer, you also need to install `groonga-tokenizer-mecab` package:

```console
$ sudo -H yum install -y groonga-tokenizer-mecab
```

Run PostgreSQL:

```console
$ sudo -H /usr/pgsql-{{ site.latest_postgresql_version }}/bin/postgresql-{{ site.latest_postgresql_version }}-setup initdb
$ sudo -H systemctl enable --now postgresql-{{ site.latest_postgresql_version }}
```

Create a database:

```console
$ 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`:

```console
$ sudo -u postgres -H psql -d pgroonga_test --command 'CREATE EXTENSION pgroonga'
```

That's all!

Try [tutorial](../tutorial/). You can understand more about PGroonga.
See also [AlmaLinux](../install/almalinux.html).
Loading

0 comments on commit 94024f8

Please sign in to comment.