I just followed this tutorial:
http://www.unixmen.com/postgresql-9-4-released-install-centos-7/
But I can't start my postgres server on my centOS 6.5 machine.
Here's the error:
[root@vm5 ~]# service postgresql-9.4 initdb
Data directory is not empty!
[root@vm5 ~]# service postgresql-9.4 start [FAILED]
Starting postgresql-9.4 service: [FAILED]
[root@vm5 ~]# /etc/init.d/postgresql-9.4 start
Starting postgresql-9.4 service: [FAILED]
Before that tutorial I had already tried this one:
https://wiki.postgresql.org/wiki/YUM_Installation
I don't know what else to do.