赞
踩
去官网https://yum.postgresql.org/12/redhat/rhel-7-x86_64/repoview/postgresqldbserver12.group.html
下载:
postgresql12-12.3-1PGDG.rhel7.x86_640
postgresql12-libs-12.3-1PGDG.rhel7.x86_64
postgresql12-server-12.3-1PGDG.rhel7.x86_64
http://mirror.centos.org/centos/7/os/x86_64/Packages/libicu-50.2-4.el7_7.x86_64.rpm
准备工作完成之后,工作目录下中执行:
rpm -ivh *.rpm --force --nodeps
执行:/usr/pgsql-12/bin/postgresql-12-setup initdb
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。