加载中...

安装postgresql

安装postgresql

yum install https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-6-x86_64/pgdg-centos96-9.6-3.noarch.rpm

yum install postgresql96
## Optionally install the server packages:
yum install postgresql96-server
## Optionally initialize the database and enable automatic start:
service postgresql-9.6 initdb
chkconfig postgresql-9.6 on   #开机启动
service postgresql-9.6 start

  

posted @ 2018-01-08 18:55  水车  阅读(261)  评论(0编辑  收藏  举报