Installing PostGIS on CentOS 7 x86_64¶
前提条件¶
インストールプロセスを開始する前に:
- 同じホストにEDB Postgres Advanced Serverをインストールします。
Installing EDB Postgres Advanced Server を参照してください。
リポジトリをセットアップする
リポジトリーの設定は1回限りのタスクです。リポジトリを既に設定している場合、この手順を実行する必要はありません。
- リポジトリをセットアップするには、
EDB repositories に移動し、そこに表示される指示に従います。
その他の前提条件に対処する
# Install the EPEL repository:
sudo yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
パッケージをインストールする¶
# To install PostGIS 3.2:
sudo yum -y install edb-as<xx>-postgis32
# To install PostGIS 3.1 using EDB Postgres Advanced Server 13-14:
sudo yum -y install edb-as<xx>-postgis3
# To install PostGIS 3.1 using EDB Postgres Advanced Server 10-12:
sudo yum -y install edb-as<xx>-postgis
<xx> はEDB Postgres Advanced Serverのバージョンです。 <xx>
を、使用しているEDB Postgres Advanced
Serverのバージョンに置き換えます。たとえば、edb-as14-postgis32 。