修改日期 | 修改人 | 备注 |
2020-06-05 21:23:43[当前版本] | 文艺范儿 | 格式调整 |
2020-06-05 21:10:25 | 文艺范儿 | 格式调整 |
2020-06-05 20:10:55 | 文艺范儿 | 创建版本 |
依据官方文档进行yum安装,
https://www.postgresql.org/download/linux/redhat/
yum install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
yum install -y postgresql12
yum install -y postgresql12-server
/usr/pgsql-12/bin/postgresql-12-setup initdb systemctl enable postgresql-12 systemctl start postgresql-12