Install PostgreSQL 10 on Centos 7
Ansible tower needs PostgreSQL 9.6 or later. But CentOS/Redhat only has the PostgreSQL 9.2. So I am trying to install the postgresql-10 (https://www.postgresql.org/download/linux/redhat/)
1> Download the pstgresql10
yum install https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-centos10-10-1.noarch.rpm
2> Install the client packages:
yum install postgresql10
3> Optionally install the server packages:
yum install postgresql10-server
4> Optionally initialize the database and enable automatic start:
/usr/pgsql-10/bin/postgresql-10-setup initdb
systemctl enable postgresql-10
systemctl start postgresql-10
Comments