Running multiple PostgreSQL clusters using systemd

Requirements   Using systemd   Multiple instance of PostgreSQL       First instance running on port 5491       Second instance running on port 5492 Steps to setup first service STEP 1 create and edit service file sudo vi /etc/systemd/system/postgresql-9.4-5941.service STEP 2 Import original and Add Env .include /lib/systemd/system/postgresql-9.4.service [Service] Environment="PGDATA=/var/lib/pgsql/9.4/data1/" STEP 3 Modify postgresql.conf for instance sudo vi /var/lib/pgsql/9.4/data1/postgresql.conf" STEP 4 Change port for postgresql

CentOS 7 Installation

For CentOS 6 users it may be difficult to understand and use new CentOS 7 installer but for Fedora users it is an easy one. To ease the life of new CentOS 7 users, here are steps for minimal CentOS 7 install. Boot from DVD Select Install CentOS 7 by pressing ↑ and press ↵ Language Selection Select your language and Click “continue” Installation Summary This is the main install setup screen.