Question: how to create database in postgresql in centos 7?
Answer: Access Your Server. ... 
Install PostgreSQL on CentOS 7. ... 
Initialize the Database. ... 
Start the Database. ... 
(Optional) Enable PostgreSQL. ... 
Access Your Server. ... 
Download PostgreSQL Using Wget. ... 
Install PosgreSQL on CentOS 7 with the Downloaded Package.