install postgresql centos 7 command line code example
Example 1: install postgresql centos 5
rpm -Uvh http:
yum install postgresql91-server
/etc/init.d/postgresql-9.1 initdb
service postgresql-9.1 start
chkconfig postgresql-9.1 on
Example 2: how to install postgresql on centos 7
yum list postgresql*
Example 3: how to install postgresql on centos 7
...
[base]
name=CentOS-$releasever - Base
mirrorlist=http:
gpgcheck=1
gpgkey=file:
exclude=postgresql*
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http:
gpgcheck=1
gpgkey=file:
exclude=postgresql*
...