PostgreSQL是一个功能非常强大的、源代码开放的关系型数据库,PostgreSQL被业界誉为“最先进的开源数据库”,主要面向企业复杂查询SQL的OLTP业务场景, 支持NoSQL数据类型(hstore/JSON/XML) 操作系统:openEuler 24.03-LTS-SP1 PostgreSQL下载地址: https://www.postgresql.org/ftp/source/v17.5/ https://ftp.postgresql.org/pub/source/v17.5/postgresql-17.5.tar.gz 上传安装包到/data/soft目录 操作系统安装: 欧拉操作系统openEuler 24.03-LTS-SP1安装配置图解教程 https://www.osyunwei.com/archives/14957.html 准备篇 1、关闭SELINUX vi /etc/selinux/config #SELINUX=enforcing #注释掉 #SELINUXTYPE=targeted #注释掉 SELINUX=disabled #增加 :wq! #保存退出 setenforce 0 #使配置立即生效 2、开启防火墙5432端口 系统默认使用的是firewall作为防火墙,这里改为iptables防火墙。 2.1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 systemctl mask firewalld systemctl stop firewalld yum remove firewalld 2.2、安装iptables防火墙 yum install iptables-services #安装 vi /etc/sysconfig/iptables #编辑防火墙配置文件,PostgreSQL默认使用tcp [...]
查看全文