<?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; linux</title>
	<atom:link href="http://www.osyunwei.com/archives/tag/linux-2/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>Wed, 01 Apr 2026 08:27:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Linux下使用DNF命令下载安装包到指定目录</title>
		<link>https://www.osyunwei.com/archives/17063.html</link>
		<comments>https://www.osyunwei.com/archives/17063.html#comments</comments>
		<pubDate>Thu, 19 Mar 2026 17:26:48 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[dnf]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=17063</guid>
		<description><![CDATA[需求：内网服务器没有yum源，要离线安装依赖包 解决方法：部署一台相同版本的可以联网的服务器，使用DNF命令下载依赖包，上传到内网服务器离线安装。 具体操作： 我们以RHEL 8/9/10系列操作系统为例 1、安装dnf-utils工具包 默认的 dnf 命令只能做基础的安装、卸载和更新。我们需要安装增强工具包 dnf-utils 才能制作离线安装包 dnf install -y dnf-utils #安装工具包 2、创建目录 #创建临时目录，作为虚拟系统根目录，用来计算依赖关系，不会影响真实的系统 mkdir -p /tmp/fake #创建存储目录，下载好的所有 .rpm 文件都保持在这里 mkdir -p /root/yum-rpm-full-x86 3、下载安装包到指定目录 dnf install --installroot=/tmp/fake --downloadonly --downloaddir=/root/yum-rpm-full-x86 \ wget telnet nmap traceroute ntp rsync lrzsz OpenIPMI ipmitool freeipmi screen ncurses-devel bind-utils libffi-devel libnfnetlink-devel libnl3-devel popt-devel tcpdump wireshark \ libtool [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/17063.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/17063.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux系统下RustDesk自建服务器教程</title>
		<link>https://www.osyunwei.com/archives/16887.html</link>
		<comments>https://www.osyunwei.com/archives/16887.html#comments</comments>
		<pubDate>Fri, 13 Feb 2026 08:30:13 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=16887</guid>
		<description><![CDATA[简单说明： RustDesk 是一款可以平替 TeamViewer 的开源软件，旨在提供安全便捷的自建方案。 操作系统：AnolisOS-8.10 AnolisOS-8.x安装配置图解教程 https://www.osyunwei.com/archives/14613.html 1、rustdesk下载 1.1rustdesk服务端下载： https://github.com/rustdesk/rustdesk-server/releases/ https://github.com/rustdesk/rustdesk-server/releases/download/1.1.15/rustdesk-server-linux-amd64.zip 1.2rustdes客户端下载： https://github.com/rustdesk/rustdesk https://github.com/rustdesk/rustdesk/releases/tag/1.4.5 1.2.1windows客户端 https://github.com/rustdesk/rustdesk/releases/download/1.4.5/rustdesk-1.4.5-x86_64.msi 1.2.2Android 手机/平板（ARM64 架构） 的安装包 https://github.com/rustdesk/rustdesk/releases/download/1.4.5/rustdesk-1.4.5-aarch64-signed.apk 说明：rustdesk服务端是部署在AnolisOS-8.10服务器上的，rustdes客户端是安装在windows系统和手机上的。 2、在AnolisOS-8.10服务器部署rustdesk服务端 2.1创建安装目录 mkdir -p /data/server/rustdesk-server 上传rustdesk-server-linux-amd64.zip到这个目录下 2.2关闭SELINUX，AnolisOS-8.x默认已经关闭 vi /etc/selinux/config #SELINUX=enforcing #注释掉 #SELINUXTYPE=targeted #注释掉 SELINUX=disabled #增加 :wq! #保存退出 setenforce 0 #使配置立即生效 getenforce #查看 SELinux 当前运行模式 2.3防火墙配置 AnolisOS-8.x默认使用的是firewall作为防火墙 firewall-cmd --list-all #显示所有规则（含服务、端口、区域） systemctl status firewalld [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/16887.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/16887.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>基于源 IP 白名单的 SSH 会话级 sudo 访问控制方案-实现单账号多权限安全隔离</title>
		<link>https://www.osyunwei.com/archives/16828.html</link>
		<comments>https://www.osyunwei.com/archives/16828.html#comments</comments>
		<pubDate>Thu, 22 Jan 2026 10:10:12 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=16828</guid>
		<description><![CDATA[1、场景描述 服务端ip：192.168.21.159 客户端ip：192.168.21.137、192.168.21.204 1.1 在服务端的主机上创建普通账号autoops #登录服务端主机，创建普通账号 useradd -m -s /bin/bash autoops passwd autoops #设置密码 1.2 设置此账号具有sudo权限 #添加普通用户到wheel组，使其具有sudo权限 gpasswd -a autoops wheel #验证wheel组 cat /etc/group &#124;grep wheel id autoops 可以看到autoops用户已经是在wheel组了 #从普通用户autoops登录服务器 执行sudo cp命令验证，已经具有sudo权限 1.3 设置sudo免密权限 #设置sudo免密执行 vi /etc/sudoers #编辑 autoops ALL=(ALL) NOPASSWD: ALL :wq! #保存退出 现在从autoops登录后执行sudo命令已经不需要再输入密码了 2、设置客户端主机 2.1 创建普通账号autoops #登录所有客户端主机，分别创建普通账号 useradd -m -s /bin/bash autoops passwd [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/16828.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/16828.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux下编译安装Nginx</title>
		<link>https://www.osyunwei.com/archives/16822.html</link>
		<comments>https://www.osyunwei.com/archives/16822.html#comments</comments>
		<pubDate>Mon, 19 Jan 2026 09:40:25 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Nginx]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nginx]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=16822</guid>
		<description><![CDATA[操作系统：Rocky Linux 10.x Rocky Linux 10.x系统安装配置图解教程 https://www.osyunwei.com/archives/15874.html 安装包下载： 1、nginx https://nginx.org/download/nginx-1.28.1.tar.gz 2、zlib https://www.zlib.net/zlib-1.3.1.tar.gz 3、pcre2 https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.47/pcre2-10.47.tar.gz 4、openssl https://github.com/openssl/openssl/releases/download/openssl-3.5.4/openssl-3.5.4.tar.gz 安装前准备： 1、防火墙配置 Rocky Linux默认使用的是firewall作为防火墙 firewall-cmd --list-all #显示所有规则（含服务、端口、区域） systemctl status firewalld #检查 firewalld 状态 #开放80 443 端口 firewall-cmd --permanent --add-port=80/tcp firewall-cmd --permanent --add-port=443/tcp firewall-cmd --reload #重新加载防火墙配置 2、关闭SELINUX vi /etc/selinux/config #SELINUX=enforcing #注释掉 #SELINUXTYPE=targeted #注释掉 SELINUX=disabled #增加 :wq! #保存退出 setenforce 0 #使配置立即生效 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/16822.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/16822.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BCLinux For Euler 21.10安装3节点PanWeiDB数据库集群</title>
		<link>https://www.osyunwei.com/archives/16807.html</link>
		<comments>https://www.osyunwei.com/archives/16807.html#comments</comments>
		<pubDate>Tue, 09 Dec 2025 08:39:27 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=16807</guid>
		<description><![CDATA[简介介绍： PanWeiDB数据库：https://www.panwei.tech/ PanWeiDB是基于openGauss，openGauss基于PostgreSQL 操作系统：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分区就不需要操作） [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/16807.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/16807.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用Nginx实现HTTPS和SSH共用同一个端口访问各自服务</title>
		<link>https://www.osyunwei.com/archives/16800.html</link>
		<comments>https://www.osyunwei.com/archives/16800.html#comments</comments>
		<pubDate>Mon, 08 Dec 2025 09:12:03 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nginx]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=16800</guid>
		<description><![CDATA[需求： 对外只能开放一个端口，要实现https服务，还要能通过ssh访问Linux服务器 分析： 可以使用Nginx的四层代理（stream 模块） 与 TLS 预读（ssl_preread） 功能 注意：HTTP协议无法通过stream模块的SNI识别，因为stream模块只能识别TLS握手包中的协议信息。 具体操作： Nginx 编译时要包含以下模块才可以： --with-stream --with-stream_ssl_preread_module 验证命令： /data/server/nginx/sbin/nginx -V 2&#62;&#38;1 &#124; grep -o 'with-stream\&#124;with-stream_ssl_preread_module' #有输出即支持 参考资料： Nginx 单端口兼容 HTTP 与 HTTPS：基于 stream 模块与 ssl_preread 的智能分流方案 准备就绪： SSH 服务运行在 22 端口（默认） HTTPS 服务运行在 另一个端口，例如28443 对外只开放9290端口 1、修改nginx配置文件 cp /data/server/nginx/conf/nginx.conf /data/server/nginx/conf/nginx.conf.bak 1.1在nginx主配置文件引入stream模块 mkdir -p /data/server/nginx/conf/stream #创建目录 vi /data/server/nginx/conf/nginx.conf #stream块必须在顶层，和 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/16800.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/16800.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nginx 单端口兼容 HTTP 与 HTTPS：基于 stream 模块与 ssl_preread 的智能分流方案</title>
		<link>https://www.osyunwei.com/archives/16788.html</link>
		<comments>https://www.osyunwei.com/archives/16788.html#comments</comments>
		<pubDate>Sun, 07 Dec 2025 15:18:53 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nginx]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=16788</guid>
		<description><![CDATA[需求： 通过一个端口9190可以实现http和https同时访问 例如： http://10.189.189.189:9190/#/public/login https://10.189.189.189:9190/#/public/login 真实的地址是： http协议：http://10.189.189.189:9997/#/public/login https协议：http://10.189.189.189:28443/#/public/login 分析： 1、Nginx 本身无法使用1个端口同时处理 HTTP 和 HTTPS 请求 2、可以通过 stream 模块 + ssl_preread 实现： 监听同一个端口9190，自动识别客户端发来的是 HTTP 还是 HTTPS流量，并分别转发给后端的 HTTP（9997端口） 服务和 HTTPS （28443端口） 服务 3、这样就实现了只用1个端口可以同时访问http和https页面，这不属于“Nginx 在同一端口提供两种协议”，而是通过四层代理智能分流。 4、需要使用新版本的nginx，并启用 --with-stream 和 --with-stream_ssl_preread_module模块 具体操作： 1、检查nginx是否启用--with-stream 和 --with-stream_ssl_preread_module模块 /data/server/nginx/sbin/nginx -V 2&#62;&#38;1 &#124; grep -o 'with-stream\&#124;with-stream_ssl_preread_module' 2、重新编译nginx，添加模块 /data/server/nginx/sbin/nginx -V #查看nginx编译参数，如果未启用，需要添加上面两个模块，重新编译nginx ./configure --prefix=/data/server/nginx --user=www --group=www [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/16788.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/16788.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux系统下安装部署最新版3节点ZooKeeper集群环境</title>
		<link>https://www.osyunwei.com/archives/16748.html</link>
		<comments>https://www.osyunwei.com/archives/16748.html#comments</comments>
		<pubDate>Mon, 13 Oct 2025 10:20:04 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=16748</guid>
		<description><![CDATA[1、ZooKeeper介绍 1.1、ZooKeeper 在 Java 版本 1.8 或更高版本中运行（JDK 8 LTS、JDK 11 LTS、JDK 12 - 不支持 Java 9 和 10），它作为 ZooKeeper 服务器的集合运行，三个 ZooKeeper 服务器是一个整体的最小推荐大小，我们还建议它们在不同的机器上运行。 1.2、ZooKeeper 集群强烈建议使用奇数台机器，例如，在四台机器上，ZooKeeper 只能处理一台机器的故障；如果两台机器发生故障，则其余两台机器不构成多数。但是，如果有五台机器，ZooKeeper 可以处理两台机器的故障。容错集群设置至少需要三台服务器。 1.3、通常三台服务器对于生产安装来说绰绰有余，但为了在维护期间获得最大的可靠性，您可能希望安装五台服务器。 1.4、官方网站： https://zookeeper.apache.org/ 1.5、下载地址： 目前最新版本 https://www.apache.org/dyn/closer.lua/zookeeper/zookeeper-3.9.4/apache-zookeeper-3.9.4-bin.tar.gz 1.6、说明文档： https://zookeeper.apache.org/doc/current/zookeeperAdmin.html 2、部署zookeeper集群，这里使用三台服务器组成集群模式。 操作系统：AnolisOS ip地址：192.168.21.201，192.168.21.202，192.168.21.203 zookeeper默认使用2181端口，集群模式还会用到2888、3888端口，建议zookeeper部署在内网环境中，服务器上关闭防火墙、关闭SELINUX。 分别在三台服务器上操作。 2.1、安装Java ZooKeeper依赖Java才能运行，首先安装Java环境，我们使用Java 25版本 Linux系统下安装Java JDK：https://www.osyunwei.com/archives/16760.html 2.2、安装ZooKeeper mkdir -p /data/server/zookeeper #创建安装目录 mkdir -p /data/server/zookeeper/data #创建数据目录 mkdir -p [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/16748.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/16748.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux下编译安装Apache并支持php</title>
		<link>https://www.osyunwei.com/archives/16731.html</link>
		<comments>https://www.osyunwei.com/archives/16731.html#comments</comments>
		<pubDate>Thu, 11 Sep 2025 08:52:51 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=16731</guid>
		<description><![CDATA[前置知识： Rocky Linux 10.x编译安装nginx-1.28.x+mysql-8.4.x+php-8.4.x https://www.osyunwei.com/archives/16714.html 安装包下载： 1、apache https://dlcdn.apache.org/httpd/httpd-2.4.65.tar.gz 2、apr（Apache库文件） https://dlcdn.apache.org//apr/apr-1.7.6.tar.gz 3、apr-util（Apache库文件） https://dlcdn.apache.org//apr/apr-util-1.6.3.tar.gz 4、apache支持php模块 https://dlcdn.apache.org/httpd/mod_fcgid/mod_fcgid-2.3.9.tar.gz 安装apache： 1、安装编译工具包 yum install gcc make apr-devel apr-util-devel pcre2-devel openssl-devel 2、安装apr cd /usr/local/src tar zxvf apr-1.7.6.tar.gz cd apr-1.7.6 ./configure --prefix=/usr/local/apr make -j$(nproc) make install 3、安装apr-util cd /usr/local/src tar zxvf apr-util-1.6.3.tar.gz cd apr-util-1.6.3 ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr make -j$(nproc) make install ls /usr/local/apr-util/lib/libaprutil-1.so [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/16731.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/16731.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux下使用KVM虚拟机制作系统镜像模板</title>
		<link>https://www.osyunwei.com/archives/16548.html</link>
		<comments>https://www.osyunwei.com/archives/16548.html#comments</comments>
		<pubDate>Tue, 15 Jul 2025 11:12:30 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[KVM]]></category>
		<category><![CDATA[kvm]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=16548</guid>
		<description><![CDATA[相关连接： 1、Rocky Linux 10.0下安装使用KVM虚拟机 2、Linux下使用KVM虚拟机安装Windows系统 在 KVM 虚拟化环境中，你可以将已经安装好的Linux虚拟机制作成系统镜像模板，供后续快速创建新虚拟机使用。 1、创建一个模板虚拟机 我们使用Rocky-10.0-x86_64-minimal.iso镜像来创建虚拟机 #创建虚拟机 virt-install \ --name rocky10 \ --vcpu 2 \ --memory 4096 \ --disk path=/data/libvirt/images/rocky10.qcow2,size=40,bus=virtio \ --cdrom /data/libvirt/iso/Rocky-10.0-x86_64-minimal.iso \ --network bridge=br0 \ --graphics vnc \ --os-variant rocky10 \ --noautoconsole #虚拟机创建完成后，我们进入web控制台安装系统，直到系统安装完成 2、登录模板虚拟机中进行操作 #模板虚拟机中安装cloud-init工具 #cloud-init工具是实现自动化配置的工具 yum install cloud-init cloud-utils-growpart #验证安装是否成功 rpm -qa &#124; grep cloud-init #查看版本 cloud-init -v [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/16548.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/16548.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux下使用KVM虚拟机安装Windows系统</title>
		<link>https://www.osyunwei.com/archives/16495.html</link>
		<comments>https://www.osyunwei.com/archives/16495.html#comments</comments>
		<pubDate>Fri, 11 Jul 2025 08:45:47 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[KVM]]></category>
		<category><![CDATA[kvm]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=16495</guid>
		<description><![CDATA[相关连接：Rocky Linux 10.0下安装使用KVM虚拟机 简单介绍： 1、在KVM中安装Windows虚拟机时，必须加载virtio-win驱动才能识别virtio磁盘，否则会出现‌找不到驱动器错误。 2、virtio-win驱动下载地址： https://fedorapeople.org/groups/virt/virtio-win/ 3、Windows版本不同，需要的驱动也不一样，高版本的驱动有可能不支持低版本的Windows系统 4、我们安装Windows7和Windows Server 2025这两个操作系统为例来说明在KVM虚拟机安装Windows系统的基本步骤 5、win7适用的virtio-win驱动 https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.173-9/virtio-win-0.1.173.iso https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.173-9/virtio-win-gt-x64.msi 6、win2025适用的virtio-win驱动 https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.271-1/virtio-win-0.1.271.iso https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.271-1/virtio-win-gt-x64.msi 说明： virtio-win-0.1.173.iso和virtio-win-0.1.271.iso是安装Windows系统需要的磁盘驱动。 virtio-win-gt-x64.msi是在系统安装完成后，进入系统后安装的网卡等驱动程序。 具体操作： 1、上传Windows系统镜像文件到kvm存储池-存储卷 ssh连接到kvm宿主机，上传系统镜像和virtio-win镜像文件到/data/libvirt/iso目录 cn_windows_7_ultimate_with_sp1_x64_dvd_u_677408.iso zh-cn_windows_server_2025_updated_jan_2025_x64_dvd_7a8e5a29.iso virtio-win-0.1.173.iso virtio-win-0.1.271.iso 2、创建kvm虚拟机 2.1创建win7虚拟机 #在ssh命令行操作 virt-install \ --name win7-01 \ --vcpu 2 \ --memory 4096 \ --disk path=/data/libvirt/images/win7-01.qcow2,size=40,bus=virtio \ --cdrom /data/libvirt/iso/cn_windows_7_ultimate_with_sp1_x64_dvd_u_677408.iso \ --disk path=/data/libvirt/iso/virtio-win-0.1.173.iso,device=cdrom \ --network bridge=br0 \ --graphics vnc,port=5901 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/16495.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/16495.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rocky Linux 10.0下安装使用KVM虚拟机</title>
		<link>https://www.osyunwei.com/archives/16452.html</link>
		<comments>https://www.osyunwei.com/archives/16452.html#comments</comments>
		<pubDate>Wed, 09 Jul 2025 02:40:09 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[KVM]]></category>
		<category><![CDATA[kvm]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=16452</guid>
		<description><![CDATA[KVM虚拟机简介: Kernel-based Virtual Machine的简称，是一个开源的系统虚拟化模块，目前集成在Linux的各个主要发行版本中。 KVM的虚拟化需要硬件支持（如Intel VT技术或者AMD V技术)，是基于硬件的完全虚拟化。 Xen是基于硬件支持的完全虚拟化，但Xen本身有自己的进程调度器，存储管理模块等，所以代码较为庞大。 广为流传的商业系统虚拟化软件VMware ESX系列是基于软件模拟的Full-Virtualization。 系统安装部署：Rocky Linux 10.x系统安装配置图解教程 1、检查cpu是否支持虚拟化 1.1如果是在VMware虚拟机中安装，检查Intel VT设置 在VMware设置中将作为宿主机的Rocky Linux虚拟机的Intel VT或AMD-V功能打勾选中，开启VT虚拟化，才能在虚拟机中创建虚拟机 1.2用下列指令检查cpu是否支持vt： cat /proc/cpuinfo&#124;egrep 'vmx&#124;svm' grep -Ei 'vmx&#124;svm' /proc/cpuinfo 如果有出现vmx或者svm关键字就代表支持虚拟化，vmx代表Intel的CPU，svm代表AMD的CPU 2、关闭selinux sed -i 's/^SELINUX=.*/SELINUX=disabled/' /etc/selinux/config setenforce 0 3、防火墙设置 #Rocky Linux默认使用的是firewall作为防火墙 #cockpit的web界面会调用系统默认的firewalld防火墙 #默认端口为9090，需放行该端口或cockpit服务才能远程访问‌ firewall-cmd --add-service=cockpit --permanent #永久放行服务 firewall-cmd --reload #重载配置 firewall-cmd --list-ports #检查已开放端口 firewall-cmd --list-all #显示所有规则（含服务、端口、区域） 4、修改主机名 方便区分宿主机和KVM虚拟化，建议修改宿主机的主机名称 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/16452.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/16452.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux系统下可视化管理工具Cockpit安装使用</title>
		<link>https://www.osyunwei.com/archives/16427.html</link>
		<comments>https://www.osyunwei.com/archives/16427.html#comments</comments>
		<pubDate>Fri, 04 Jul 2025 07:16:44 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=16427</guid>
		<description><![CDATA[简单介绍 Cockpit是一款由红帽（Red Hat）开发的开源Linux服务器Web管理工具，通过可视化界面简化系统监控与管理操作，支持实时资源监控、服务管理、容器控制等功能，Cockpit设计为轻量级工具，适用于基础运维，适合单台主机使用。 官方网站 https://cockpit-project.org/ Cockpit的核心功能与特点‌‌ ‌1、系统监控‌ 实时查看CPU、内存、磁盘I/O及网络流量图表化数据 硬件信息展示（如PCI设备、存储分区详情） ‌2、管理工具‌ ‌服务管理‌：启停系统服务（如SSH、防火墙），查看日志 ‌用户与权限‌：管理账户、SSH密钥授权 ‌存储配置‌：支持LVM、文件系统挂载，磁盘空间可视化 ‌网络设置‌：配置网卡、防火墙规则（firewalld集成） ‌3、扩展支持‌ ‌容器管理‌：集成Podman/Docker（需安装cockpit-docker插件）‌ ‌虚拟机管理‌：通过cockpit-machines管理KVM虚拟机‌ ‌第三方插件‌：如存储管理（cockpit-storaged）、软件包更新（cockpit-packagekit） 4、Cockpit支持的操作系统： Red Hat 系列‌ CentOS 7 及更高版本 RHEL (Red Hat Enterprise Linux) 7 及更高版本 Fedora 21 及更高版本 ‌Debian 系列‌ Debian 10 及更高版本 Ubuntu 18.04 及更高版本 ‌其他发行版‌ openEuler（需适配） KeyarchOS（浪潮信息 KOS） 统信服务器操作系统（UOS） SUSE Linux Enterprise Server (SLES) Arch Linux（通过 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/16427.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/16427.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AlmaLinux-10.x安装配置图解教程</title>
		<link>https://www.osyunwei.com/archives/15901.html</link>
		<comments>https://www.osyunwei.com/archives/15901.html#comments</comments>
		<pubDate>Wed, 18 Jun 2025 03:14:15 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[AlmaLinux]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=15901</guid>
		<description><![CDATA[AlmaLinux是一个开源、社区拥有和管理、免费的企业Linux发行版。专注于长期稳定性，并提供强大的生产级平台。可以作为CentOS停止维护（改为滚动更新）后，RHEL的下游Linux操作系统替代方案，并继承了原CentOS的开源免费特点。 官方网站： https://almalinux.org/ 系统镜像下载地址： 服务器用AlmaLinux-10.0-x86_64-minimal.iso进行安装就行 https://repo.almalinux.org/almalinux/10/isos/x86_64/AlmaLinux-10.0-x86_64-minimal.iso 特别注意： 使用VMware Workstation Pro虚拟机安装的时候 客户机操作系统：Linux 版本：其他 Linux 6.x内核 64位 因为截至目前最新版本的VMware Workstation Pro尚未正式支持最新的 AlmaLinux-10.0 版本，我们可以根据系统内核来选择 否则选择其他系统版本，在安装的时候会卡死在灰色背景，上面有个鼠标，就过不去了。 分享一个VMware Workstation下载站：https://sysin.org/blog/vmware-workstation-17/ 一、安装AlmaLinux-10.0 成功引导系统后，会出现下面的界面 界面说明： Install AlmaLinux 10.0 #安装AlmaLinux10.0 Test this media &#38; install AlmaLinux10.0 #测试安装文件并安装 AlmaLinux 10.0 Troubleshooting #修复故障 这里选择第一项，回车 语言选择界面，正式生产服务器建议安装英文版本 Continue继续 安装目的位置 磁盘分区，使用自定义模式，完成 服务器建议使用LVM分区模式，可以动态扩容 点+创建分区 挂载点：/boot 期望容量：1024 添加挂载点 继续创建分区 挂载点：biosboot 期望容量：2 添加挂载点 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/15901.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/15901.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rocky Linux 10.x系统安装配置图解教程</title>
		<link>https://www.osyunwei.com/archives/15874.html</link>
		<comments>https://www.osyunwei.com/archives/15874.html#comments</comments>
		<pubDate>Mon, 16 Jun 2025 10:27:52 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Rocky]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=15874</guid>
		<description><![CDATA[简单介绍： Rocky Linux 是一个开源的企业级操作系统，旨在与 Red Hat Enterprise Linux® 100% 完全兼容。Rocky Linux 正在由社区积极开发中。 Rocky Linux官方网站：https://rockylinux.org/ Rocky Linux下载地址：https://rockylinux.org/download 截止目前最新稳定版本为Rocky Linux 10.0，下面介绍Rocky Linux 10.0 的具体安装配置过程 Rocky Linux 10.0系统镜像下载地址： https://download.rockylinux.org/pub/rocky/10/isos/x86_64/Rocky-10.0-x86_64-dvd1.iso 国内镜像源： https://mirrors.ustc.edu.cn/rocky/10.0/isos/x86_64/Rocky-10.0-x86_64-dvd1.iso https://mirror.sjtu.edu.cn/rocky/10.0/isos/x86_64/Rocky-10.0-x86_64-dvd1.iso 一、安装Rocky Linux 特别注意： 使用VMware Workstation Pro虚拟机安装的时候 客户机操作系统：Linux 版本：其他 Linux 6.x内核 64位 因为截至目前最新版本的VMware Workstation Pro尚未正式支持最新的 Rocky Linux 10 版本，我们可以根据系统内核来选择 否则选择其他系统版本，在安装的时候会卡死在灰色背景，上面有个鼠标，就过不去了。 成功引导系统后，会出现下面的界面 界面说明： Install Rocky Linux 10.0 #安装Rocky [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/15874.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/15874.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
