卸载已经存在的postgreSql
yum list | grep postgres
yum remove postgresql-server
获取rpm文件并安装
rpm -i http://yum.postgresql.org/9.0/redhat/rhel-6.0-x86_64/pgdg-centos90-9.0-5.noarch.rpm
yum install postgresql90-server postgresql90-contrib
初始化数据库
service postgresql-9.0 initdb
启动配置
chkconfig postgresql-9.0 on
service postgresql-9.0 start
获取rpm文件并安装
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum search ntfs
yum install ntfs-3g