安装postgresql 登陆网址:https://www.postgresql.org/download/linux/redhat/ 选择postgresql版本和操作系统平台等信息,直接复制命令,依次执行 # Install the repository RPM: sudo dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-r