[学] CentOS 7 安装 PostgreSQL 安装

 

1. 安装 

 

1 # yum install postgresql-server

 

2. 初始化

1 # service postgresql initdb

 

3. 设置自启动

1 # chkconfig postgresql on

 

参考:https://www.postgresql.org/download/linux/redhat/

 

posted @ 2016-07-10 21:38  YBHello  阅读(214)  评论(0编辑  收藏  举报