Install Postgres on Oracle VM linux Centos

reference:

Install PostgreSQL 9.4 on CentOS 7

minor change for the rpm path

rpm -ivh  https://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/pgdg-oraclelinux94-9.4-2.noarch.rpm
yum install postgresql94-server -y

initialize the db
/usr/pgsql-9.4/bin/postgresql94-setup initdb

systemctl start postgresql-9.4.service


					

Leave a Reply

Your email address will not be published. Required fields are marked *