centos7安装postgresql15、postgis3.3

直接使用yum安装的时候,都会提示缺少某些包无法安装。我这里把缺少的包的安装方式列一下。

yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
yum install -y https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/l/libzstd-1.5.5-1.el7.x86_64.rpm
yum -y install postgresql15-server

yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install postgis33_15

就这几条命令,顺利安装好了postgresql15,以及postgis扩展。

安装之后初始化、修改密码:
https://computingforgeeks.com/how-to-install-postgresql-on-centos-rhel-7/

生产环境参数调优:
https://blog.csdn.net/h952520296/article/details/124190566

配置主从复制:
https://www.cherryservers.com/blog/how-to-set-up-postgresql-database-replication

posted @   耗子哥信徒  阅读(585)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!
点击右上角即可分享
微信分享提示