<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>系统运维 &#187; 数据库</title>
	<atom:link href="http://www.osyunwei.com/archives/category/config/database/feed" rel="self" type="application/rss+xml" />
	<link>https://www.osyunwei.com</link>
	<description>国产化OS/AnolisOS/openEuler/RHEL/CentOS/Rocky Linux/Debian/Ubuntu Linux FreeBSD 服务器教程 &#124; Windows Server 2003/2008/2012/2016/2019/2022/2025服务器教程</description>
	<lastBuildDate>Tue, 14 Apr 2026 10:59:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>BCLinux For Euler 21.10安装3节点PanWeiDB数据库集群</title>
		<link>https://www.osyunwei.com/archives/16768.html</link>
		<comments>https://www.osyunwei.com/archives/16768.html#comments</comments>
		<pubDate>Mon, 24 Nov 2025 03:13:02 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[openGauss]]></category>
		<category><![CDATA[PanWeiDB]]></category>
		<category><![CDATA[pgsql]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=16768</guid>
		<description><![CDATA[操作系统：BCLinux For Euler 21.10 BCLinux For Euler 21.10安装配置图解教程 https://www.osyunwei.com/archives/13044.html 磐维数据库安装包：PanWeiDB_1.0.0_BCLinuxForEuler21.10_x86.tar.gz ptk安装工具包下载地址： https://docs.mogdb.io/zh/ptk/v1.1/install https://cdn-mogdb.enmotech.com/ptk/latest/ptk_linux_x86_64.tar.gz 主节点ip：10.189.189.184 主机名：panweidb-node01 从节点ip：10.189.189.185 主机名：panweidb-node02 从节点ip：10.189.189.186 主机名：panweidb-node03 准备篇（在3台服务器上都进行操作） 1、关闭selinux sed -i 's/^SELINUX=.*/SELINUX=disabled/' /etc/selinux/config setenforce 0 2、关闭firewall防火墙 vi /etc/yum/pluginconf.d/license-manager.conf enabled=0 #把1修改为0，禁用yum源认证 :wq! #保存退出 systemctl stop firewalld.service systemctl disable firewalld.service systemctl mask firewalld systemctl stop firewalld yum remove firewalld -y #卸载 3、关闭swap交换分区（如果没有swap分区就不需要操作） #执行以下命令 swapoff -a [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/16768.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/16768.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rocky Linux 10.0安装部署PostgreSQL 18数据库</title>
		<link>https://www.osyunwei.com/archives/16310.html</link>
		<comments>https://www.osyunwei.com/archives/16310.html#comments</comments>
		<pubDate>Wed, 02 Jul 2025 07:40:02 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[pgsql]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=16310</guid>
		<description><![CDATA[简单介绍： 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 #安装 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/16310.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/16310.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux系统安装部署 MySQL-9.3.0 Innovation创新版本</title>
		<link>https://www.osyunwei.com/archives/15867.html</link>
		<comments>https://www.osyunwei.com/archives/15867.html#comments</comments>
		<pubDate>Mon, 16 Jun 2025 04:23:03 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=15867</guid>
		<description><![CDATA[操作系统：AnolisOS-8.10 mysql版本：mysql-9.3.0-linux-glibc2.28-x86_64.tar.xz 准备篇 1、关闭SELINUX #AnolisOS-8.10默认是关闭的，可以不用操作 vi /etc/selinux/config #SELINUX=enforcing #注释掉 #SELINUXTYPE=targeted #注释掉 SELINUX=disabled #增加 :wq! #保存退出 setenforce 0 #使配置立即生效 2、开启防火墙 系统默认使用的是firewall作为防火墙，这里改为iptables防火墙。 开启mysql默认端口3306 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 #编辑防火墙配置文件 # sample configuration for iptables service # you [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/15867.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/15867.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux系统安装部署 MySQL-5.7.44版本</title>
		<link>https://www.osyunwei.com/archives/15853.html</link>
		<comments>https://www.osyunwei.com/archives/15853.html#comments</comments>
		<pubDate>Fri, 13 Jun 2025 08:54:04 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=15853</guid>
		<description><![CDATA[操作系统：AnolisOS-8.10 mysql版本：mysql-5.7.44-linux-glibc2.12-x86_64.tar.gz 准备篇 1、关闭SELINUX #AnolisOS-8.10默认是关闭的，可以不用操作 vi /etc/selinux/config #SELINUX=enforcing #注释掉 #SELINUXTYPE=targeted #注释掉 SELINUX=disabled #增加 :wq! #保存退出 setenforce 0 #使配置立即生效 2、开启防火墙 系统默认使用的是firewall作为防火墙，这里改为iptables防火墙。 开启mysql默认端口3306 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 #编辑防火墙配置文件 # sample configuration for iptables service # you [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/15853.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/15853.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux系统安装部署 MySQL-8.4.5 LTS版本</title>
		<link>https://www.osyunwei.com/archives/15839.html</link>
		<comments>https://www.osyunwei.com/archives/15839.html#comments</comments>
		<pubDate>Thu, 12 Jun 2025 10:33:32 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=15839</guid>
		<description><![CDATA[操作系统：AnolisOS-8.10 mysql版本：mysql-8.4.5-linux-glibc2.28-x86_64.tar.xz 准备篇 1、关闭SELINUX #AnolisOS-8.10默认是关闭的，可以不用操作 vi /etc/selinux/config #SELINUX=enforcing #注释掉 #SELINUXTYPE=targeted #注释掉 SELINUX=disabled #增加 :wq! #保存退出 setenforce 0 #使配置立即生效 2、开启防火墙 系统默认使用的是firewall作为防火墙，这里改为iptables防火墙。 开启mysql默认端口3306 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 #编辑防火墙配置文件 # sample configuration for iptables service # you [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/15839.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/15839.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>欧拉操作系统openEuler安装部署PostgreSQL数据库</title>
		<link>https://www.osyunwei.com/archives/15674.html</link>
		<comments>https://www.osyunwei.com/archives/15674.html#comments</comments>
		<pubDate>Fri, 23 May 2025 07:05:17 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=15674</guid>
		<description><![CDATA[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 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/15674.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/15674.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux下Redis-8.0.0集群3主3从部署</title>
		<link>https://www.osyunwei.com/archives/15656.html</link>
		<comments>https://www.osyunwei.com/archives/15656.html#comments</comments>
		<pubDate>Tue, 06 May 2025 09:24:18 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Redis]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[redis]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=15656</guid>
		<description><![CDATA[操作系统：openEuler 24.03 LTS SP1、CentOS-8、AlmaLinux、Rocky Linux等 Redis版本：8.0.0 服务器ip：192.168.21.100、192.168.21.101、192.168.21.128 部署说明：使用3台服务器，每台服务器启动2个redis服务，总共6个节点，3主3从组成redis集群 IP地址 端口 角色 Redis版本 192.168.21.100 6379 redis-master 8.0.0 192.168.21.100 6380 redis-slave 8.0.0 192.168.21.101 6379 redis-master 8.0.0 192.168.21.101 6380 redis-slave 8.0.0 192.168.21.128 6379 redis-master 8.0.0 192.168.21.128 6380 redis-slave 8.0.0 Redis集群模式下端口说明： 在Redis集群模式下，每个Redis实例需要绑定两个端口： 一个用于客户端访问端口（cluster bus）：6379，6380 另一个用于节点间的通信（cluster client）16379，16380 集群端口： 1、集群端口是普通端口+10000（10000是固定值，无法改变），如6379节点的集群端口为16379，6380节点的集群端口为16380 2、集群端口只用于节点之间的通信，如搭建集群、增减节点等操作时节点间的通信 3、客户端连接数据库还是要用普通通讯端口如6379，不要使用客户端连接集群接口16379 安装部署Redis集群 在所有服务器上操作 1、防火墙配置 开启tcp6379,16379,6380,16380端口 系统默认使用的是firewall作为防火墙，这里改为iptables防火墙。 1.1、关闭firewall： systemctl stop firewalld.service [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/15656.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/15656.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux下安装配置redis-8.0.0</title>
		<link>https://www.osyunwei.com/archives/15651.html</link>
		<comments>https://www.osyunwei.com/archives/15651.html#comments</comments>
		<pubDate>Tue, 06 May 2025 05:03:05 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Redis]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[redis]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=15651</guid>
		<description><![CDATA[操作系统： openEuler 24.03 LTS SP1、CentOS-8、AlmaLinux、Rocky Linux等 准备篇 1、关闭selinux sestatus #查看状态，显示disabled表示已经禁用 sed -i 's/^SELINUX=.*/SELINUX=disabled/' /etc/selinux/config #禁用selinux setenforce 0 #临时禁用 /usr/sbin/sestatus -v #查看selinux状态，disabled表示关闭 2、防火墙配置 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 #编辑防火墙配置文件，开放TCP 2049端口 # sample configuration for iptables service [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/15651.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/15651.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux下安装配置redis-7.4.3</title>
		<link>https://www.osyunwei.com/archives/15645.html</link>
		<comments>https://www.osyunwei.com/archives/15645.html#comments</comments>
		<pubDate>Tue, 06 May 2025 02:46:32 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Redis]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[redis]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=15645</guid>
		<description><![CDATA[操作系统： BigCloud Enterprise Linux For Euler 21.10 LTS https://mirrors.cmecloud.cn/bclinux/oe21.10/ openEuler 24.03 LTS SP1 https://www.openeuler.org/zh/download/ CentOS-8、AlmaLinux、Rocky Linux等 1、下载安装包 下载地址：https://download.redis.io/releases/redis-7.4.3.tar.gz 上传安装包到服务器/usr/local/src目录 2、升级gcc版本 #redis源码编译需要gcc的版本大于等于5 gcc -v 查看gcc版本 #已经是高版本的gcc了，不需要升级 #yum -y install gcc gcc-c++ #安装gcc #yum -y install tcl #升级到gcc版本 #yum -y install centos-release-scl #yum -y install devtoolset-9-gcc devtoolset-9-gcc-c++ devtoolset-9-binutils #scl enable devtoolset-9 bash #版本临时生效 #echo "source /opt/rh/devtoolset-9/enable" &#62;&#62;/etc/profile [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/15645.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/15645.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux下安装H2数据库</title>
		<link>https://www.osyunwei.com/archives/14321.html</link>
		<comments>https://www.osyunwei.com/archives/14321.html#comments</comments>
		<pubDate>Tue, 16 Apr 2024 05:49:56 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[数据库]]></category>
		<category><![CDATA[h2]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=14321</guid>
		<description><![CDATA[H2是Thomas Mueller提供的一个开源的、纯java实现的关系数据库。 官方网站：https://www.h2database.com/ 下载地址：https://www.h2database.com/html/download.html https://github.com/h2database/h2database/releases/download/version-2.2.224/h2-2023-09-17.zip 上传安装包到/data/soft目录 H2 数据库服务器默认监听 9092 端口用于 TCP 连接，8082 端口用于 Web 连接，可以自定义修改 H2 数据库依赖java，需要先安装java环境 1、安装 unzip /data/soft/h2-2023-09-17.zip -d /data/server/ #解压 mkdir -p /data/server/h2/data #创建数据库存放目录 #配置环境变量 vi /etc/profile #set h2 environment export H2_HOME=/data/server/h2 export PATH=$PATH:$H2_HOME/bin :wq! #保存退出 source /etc/profile #使配置立即生效 2、编辑启动脚本 vi /data/server/h2/h2.sh #!/bin/bash # 设置H2数据库的路径 H2_DIR="/data/server/h2" # 设置H2数据库的日志文件路径 LOG_FILE="$H2_DIR/h2.log" # 设置H2数据库的PID文件路径 PID_FILE="$H2_DIR/h2.pid" [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/14321.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/14321.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PostgreSQL使用pg_dump+pg_restore多线程导出导入数据</title>
		<link>https://www.osyunwei.com/archives/14077.html</link>
		<comments>https://www.osyunwei.com/archives/14077.html#comments</comments>
		<pubDate>Wed, 06 Dec 2023 10:17:47 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=14077</guid>
		<description><![CDATA[1、在数据量小（1-2GB大小）的情况下可以直接使用pg_dump导出数据，psql导入数据，如下： #导出数据 nohup /data/server/pgsql/bin/pg_dump -h 127.0.0.1 -U dbuser -p 5432 database --column-inserts &#124; gzip &#62; /tmp/database_back.sql.gz &#38; #导入数据 nohup gunzip -c /tmp/database_back.sql.gz &#124; psql -h 127.0.0.1 -U dbuser -d database &#38; 如果数据量比较大（10GB以上），导出数据至少需要2个小时以上，导入数据需要15个小时以上。 2、使用多线程并行导出导入数据 #多线程导出数据 -j 16 16可以等于cpu核数，只有在使用目录格式 (directory format) 进行备份时才支持并行备份 nohup /data/server/pgsql/bin/pg_dump -h 127.0.0.1 -U dbuser -p 5432 database --column-inserts -F d -j 16 -f /tmp/database_back [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/14077.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/14077.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux下Redis集群3主3从部署</title>
		<link>https://www.osyunwei.com/archives/13797.html</link>
		<comments>https://www.osyunwei.com/archives/13797.html#comments</comments>
		<pubDate>Fri, 09 Jun 2023 02:12:57 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Redis]]></category>
		<category><![CDATA[redis]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=13797</guid>
		<description><![CDATA[操作系统：CentOS-7.x Redis版本：5.0.14 服务器ip：192.168.21.100、192.168.21.101、192.168.21.128 部署说明：使用3台服务器，每台服务器启动2个redis服务，总共6个节点，3主3从组成redis集群 IP地址                       端口          角色  192.168.21.100         6379         redis-master 192.168.21.100         6380         redis-slave 192.168.21.101         6379         redis-master 192.168.21.101         6380      [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/13797.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/13797.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>openEuler 22.03 LTS SP1安装部署openGauss-5.0.0</title>
		<link>https://www.osyunwei.com/archives/13686.html</link>
		<comments>https://www.osyunwei.com/archives/13686.html#comments</comments>
		<pubDate>Thu, 25 May 2023 07:54:53 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[openGauss]]></category>
		<category><![CDATA[openEuler]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=13686</guid>
		<description><![CDATA[openGauss是由华为开源的一款关系型数据库，基于PostgreSQL数据库开发。 操作系统：openEuler 22.03 LTS SP1 官方网站：https://opengauss.org/zh/ 下载地址：https://opengauss.org/zh/download/ 注意：需要登录才能下载，要选择好操作系统和数据库对应的版本，这里我们选择openEuler 22.03对应的openGauss_5.0.0 企业版openGauss-5.0.0-openEuler-64bit-all.tar 操作系统安装： openEuler 22.03 LTS SP1安装配置图解教程 https://www.osyunwei.com/archives/13673.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 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/13686.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/13686.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS 7.x安装配置openGauss数据库</title>
		<link>https://www.osyunwei.com/archives/13136.html</link>
		<comments>https://www.osyunwei.com/archives/13136.html#comments</comments>
		<pubDate>Tue, 27 Dec 2022 05:39:56 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[openGauss]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=13136</guid>
		<description><![CDATA[openGauss是由华为开源的一款关系型数据库，基于PostgreSQL数据库开发。 操作系统：CentOS 7.x 官方网站：https://opengauss.org/zh/ 下载地址：https://opengauss.obs.cn-south-1.myhuaweicloud.com/3.1.0/x86/openGauss-3.1.0-CentOS-64bit-all.tar.gz 安装前系统设置 1、关闭SELINUX vi /etc/selinux/config #SELINUX=enforcing #注释掉 #SELINUXTYPE=targeted #注释掉 SELINUX=disabled #增加 :wq! #保存退出 setenforce 0 #使配置立即生效 2、开启防火墙5432端口 CentOS 7.x默认使用的是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 #编辑防火墙配置文件 # sample configuration for iptables service [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/13136.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/13136.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux下MySQL主从同步小版本升级</title>
		<link>https://www.osyunwei.com/archives/12982.html</link>
		<comments>https://www.osyunwei.com/archives/12982.html#comments</comments>
		<pubDate>Fri, 02 Sep 2022 07:06:53 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=12982</guid>
		<description><![CDATA[操作系统：CentOS 7.x MySQL二进制版本：5.7.x 小版本升级 现有版本：MySQL 5.7.38 升级后版本：MySQL 5.7.39 下载地址：https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-5.7.39-linux-glibc2.12-x86_64.tar.gz 上传mysql-5.7.39-linux-glibc2.12-x86_64.tar.gz到/usr/local/src 升级前先查看MySQL 5.7.x 中添加、弃用或删除的变量和选项 https://dev.mysql.com/doc/refman/5.7/en/added-deprecated-removed.html ############################################ MySQL 8.0.x版本可以使用mysql-shell进行升级前的检查 mysql-shell-8.0.29-linux-glibc2.12-x86-64bit.tar.gz https://cdn.mysql.com/archives/mysql-shell/mysql-shell-8.0.29-linux-glibc2.12-x86-64bit.tar.gz tar zxvf /usr/local/src/mysql-shell-8.0.29-linux-glibc2.12-x86-64bit.tar.gz -C /usr/local/ cd /usr/local mv mysql-shell-8.0.29-linux-glibc2.12-x86-64bit mysql-shell cd /usr/local/mysql-shell/bin ./mysqlsh -- util checkForServerUpgrade root@localhost:3306 --target-version=5.7.39 --output-format=JSON --config-path=/data/server/mysql/my.cnf ############################################ 使用离线方式进行升级 一、主库操作 1、进入mysql控制台 set global innodb_fast_shutdown=0; #保障数据的完整性 flush tables with read lock; #数据库只读锁定命令，防止导出数据库的时候有数据写入（命令执行期间控制台不能关闭，控制台关闭命令就自动失效了，unlock tables;#解除锁定） set [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/12982.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/12982.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
