Configure PostgreSQL by storing the database files in an alternative location, initializing the data directory, setting the database service to start on boot, and start the database service.  
 
 -   (Optional) If you want to store database files in an alternative location follow the steps in the section Specifying an Alternative PostgreSQL Data Directory.  
-   Initialize the PostgreSQL data directory:  
   
   Red Hat EL 6: service postgresql-9.5 initdb   Red Hat EL 7: /usr/pgsql-9.5/bin/postgresql95-setup initdb  
 
-   Set the database service to start on boot: chkconfig postgresql-9.5 on  
-  Start the database service: service postgresql-9.5 start