我刚刚按照这个教程操作:
http://www.unixmen.com/postgresql-9-4-released-install-centos-7/
但是在我的CentOS 6.5机器上无法启动PostgreSQL服务器。以下是错误信息:[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]
在那个教程之前,我已经尝试过这个:
https://wiki.postgresql.org/wiki/YUM_Installation
我不知道还能做什么。