#重新安装postgis24_10包
sudo yum -y update
sudo yum -y upgrade
yum clean all
#根据系统查到pgdg包
# cat /etc/redhat-release 得到系统大版本
#uname -m #得到系统是32位还是64位
#然后去https://download.postgresql.org/pub/repos/yum/10/redhat找到相应的pgdg包
sudo yum install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-42.0-24.noarch.rpm
sudo yum install epel-release
sudo yum update -y && sudo reboot
sudo yum install bind-utils
重新安装postgis24_10包
1106 views