[学] 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/