sudo yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm sudo yum install -y postgresql11-server sudo /usr/pgsql-11/bin/postgresql-11-setup initdb sudo systemctl enable postgresql-11 sudo systemctl start postgresql-11
标签:11,postgresql,CentOS,sudo,systemctl,yum,PostgrelSQL From: https://www.cnblogs.com/liuys635/p/17137615.html