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

Popular posts from this blog

VIOS TIPs

Configure Solaris 10 LDOM on Solaris 11.4

Change P410i from HBA mode to Raid mdoe