A. Install progress using Repository CentOS 7.
1. Update Server (optional)
[root@teguhth01 ~]# yum -y update
2. Install PostgreSQL
[root@teguhth01 ~]# yum install postgresql-server postgresql-contrib -y
3. Inisialisasi Database
[root@teguhth01 ~]# postgresql-setup initdb
Initializing database ... OK
systemctl start postgresql