一、前言
1、本文主要内容
- PostgreSQL 12 安装(yum)
- PostgreSQL 12 基础配置
- PostgreSQL 12 远程访问配置
- PostgreSQL 基础管理
2、本文环境信息与适用范围
- 环境信息
软件 | 版本 |
---|---|
CentOS | 7.6 Release |
PostgreSQL | 12.x |
- 适用范围
软件 | 版本 |
---|---|
CentOS | CentOS 7.x |
PostgreSQL | 9.x-12.x |
二、PostgreSQL安装
1、导入yum源
sudo yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm