centos7下安装postgresql 11
1.Install the repository RPM
执行
SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。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

更多精彩