CentOS安装postGis插件

执行以下命令

sudo yum -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo dnf config-manager --set-enabled PowerTools
sudo dnf -qy module disable postgresql
sudo yum install postgis30_10

连接数据库,安装postgis插件

create extension postgis;

你可能感兴趣的:(CentOS安装postGis插件)