Centos7 安装postgresql 10 详细步骤及问题解决
前言:官网上有在线安装的教程,此处就不演示此方法了,详细步骤查看官网(https://www.postgresql.org/download/linux/redhat/)
本教程是主要讲解压缩版的安装方法!如有不足还请指出并给予宝贵建议,如有错误还请见谅!
sudo yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-aarch64/pgdg-redhat-repo-latest.noarch.rpm
sudo yum install -y postgresql10-server
sudo /usr/pgsql-10/bin/postgresql-10-setup initdb
sudo systemctl enable p