First install everything we’ll need.
su yum install postgresql postgresql-server initdb -D /var/lib/pgsql/data/ pg_ctl -D /var/lib/pgsql/data -l logfile start
And that should do it. It’s really that easy. You can also run this
ps -eZ | grep postgres
and that will show all the running postgres processes. After that you can do awesome things like create databases
Happy new year! Enjoy the penguins!