针对Redhat 8.1安装postgresql12失败,报错:No match for argument: postgresql12
执行以下解决方案:
1.yum -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
2.yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
3.yum -y install yum-utils
4.yum-config-manager --enable pgdg12
5.yum install postgresql12-server postgresql12
++++++++++++++++++++++++++++++++++++
No match for argument: postgresql12-server
No match for argument: postgresql12
6.yum -qy module disable postgresql
7.yum install postgresql12-server postgresql12
++++++++++++++++++++++++++++++++