CentOS7 安装 postgresql12

下载安装打开官方安装文档,选择系统版本和pgsql版本后,根据命令安装:yuminstallhttps://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpmyum