centos7下安装postgresql 11
1.Install the repository RPM
执行
yum install https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-7-x86_64/pgdg-centos11-11-2.noarch.rpm
2.Install the client packages:
执行
yum install postgresql11
3.Optionally install the server packages:
执行
yum install postgresql11-server
4.Optionally initialize the database and enable automatic start:
执行
/usr/pgsql-11/bin/postgresql-11-setup initdb systemctl enable postgresql-11 systemctl start postgresql-11
记录成长,今生无悔