IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    Rocky Linux 10.0安装部署PostgreSQL 18数据库

    qihang01发表于 2025-07-02 07:40:02
    love 0
    简单介绍: PostgreSQL是一个功能非常强大的、源代码开放的关系型数据库,PostgreSQL被业界誉为“最先进的开源数据库”,主要面向企业复杂查询SQL的OLTP业务场景, 支持NoSQL数据类型(hstore/JSON/XML) 操作系统:Rocky Linux 10.0 PostgreSQL下载地址: https://www.postgresql.org/ftp/source/v18beta1/ https://ftp.postgresql.org/pub/source/v18beta1/postgresql-18beta1.tar.gz 上传安装包到/data/soft目录 操作系统安装: Rocky Linux 10.x系统安装配置图解教程 https://www.osyunwei.com/archives/15874.html 准备篇 1、关闭SELINUX vi /etc/selinux/config #SELINUX=enforcing #注释掉 #SELINUXTYPE=targeted #注释掉 SELINUX=disabled #增加 :wq! #保存退出 setenforce 0 #使配置立即生效 2、开启防火墙5432端口 系统默认使用的是firewall作为防火墙,这里改为nftables防火墙。 2.1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 systemctl mask firewalld systemctl stop firewalld yum remove firewalld 2.2、安装nftables防火墙 yum install nftables #安装 [...]

    查看全文



沪ICP备19023445号-2号
友情链接