To use the yum repository, follow these steps:
-
Select version:
- Select platform:
- Select architecture:
-
Install the repository RPM:
yum install https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-centos10-10-1.noarch.rpm -
Install the client packages:
yum install postgresql10 -
Optionally install the server packages:
yum install postgresql10-server -
Optionally initialize the database and enable automatic start:
/usr/pgsql-10/bin/postgresql-10-setup initdb
systemctl enable postgresql-10
systemctl start postgresql-10
5574



被折叠的 条评论
为什么被折叠?



