Install Postgresql 9.3 on centos 6.5

I used to have Mysql installed on my webserver, however recently I came across some examples where the worst side of mysql was shown. And I was convinced I should be using postgresql instead.

Therefor underneath you’ll find a short guide on howto install postgresql.

 wget http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-1.noarch.rpm
rpm -ivh pgdg-centos93-9.3-1.noarch.rpm
chkconfig postgresql-9.3 --levels 2345 on
service postgresql-9.3 initdb
service postgresql-9.3 start

Leave a comment