install postgresql 12 centos 7 code example
Example 1: install postgresql 10 centos 7
# systemctl enable postgresql-10.service
# systemctl start postgresql-10.service
Example 2: install postgresql 10 centos 7
# yum install https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm -y