<?xml version="1.0" encoding="utf-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>久久网络博客</title><link>http://www.99xyz.com/</link><description>Good Luck To You!</description><item><title>通过ESXi SSH强制关闭卡死的虚拟机的简便方法</title><link>http://www.99xyz.com/post/2026/02/57.html</link><description>&lt;div style=&quot;font-family: arial; font-size: 12px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div id=&quot;header&quot; class=&quot;_2oTsX&quot; style=&quot;position: relative; margin-top: 34px; padding-bottom: 14px;&quot;&gt;&lt;div class=&quot;sKHSJ&quot; style=&quot;font-size: 36px; line-height: 50px; padding-top: 0px; padding-bottom: 27px; font-weight: 600; font-family: &amp;quot;Microsoft Yahei&amp;quot;, 微软雅黑, 宋体; -webkit-font-smoothing: antialiased;&quot;&gt;&lt;span style=&quot;font-family: PingFangSC-Medium; font-size: 18px; text-wrap-mode: unset;&quot;&gt;虚拟机卡死解决方案&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial; font-size: 12px; text-wrap-mode: wrap; background-color: rgb(255, 255, 255);&quot;&gt;&lt;div class=&quot;_18p7x&quot; data-testid=&quot;article&quot; style=&quot;padding-top: 30px; padding-bottom: 16px; border-bottom: 1px solid rgb(242, 242, 242); text-align: justify;&quot;&gt;&lt;div class=&quot;dpu8C _2kCxD  &quot; style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; overflow-x: visible; font-size: 19px; line-height: 30px; color: rgb(34, 34, 34); margin-top: 28px; text-wrap: unset !important;&quot;&gt;&lt;h4 style=&quot;margin: 0px; padding: 0px; overflow-wrap: anywhere; word-break: normal; overflow-y: auto; max-width: 100%; text-wrap: unset !important;&quot;&gt;◉ 背景介绍&lt;/h4&gt;&lt;/div&gt;&lt;div class=&quot;dpu8C _2kCxD  &quot; style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; overflow-x: visible; font-size: 19px; line-height: 30px; color: rgb(34, 34, 34); margin-top: 24px; text-wrap: unset !important;&quot;&gt;&lt;p style=&quot;overflow-wrap: anywhere; word-break: normal; overflow-y: auto; max-width: 100%; line-height: 30px; margin-top: 0px !important; margin-bottom: 0px !important; padding: 0px !important; text-wrap: unset !important;&quot;&gt;探索完硬盘与raid卡的世界，我们转向虚拟化系统。经过多年的发展与演变，&lt;strong style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; text-wrap: unset !important;&quot;&gt;&lt;span style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; color: #000000; background-color: #FADCE9; text-wrap: unset !important;&quot;&gt;&amp;nbsp;虚拟化系统虽然便利，但偶尔会遇到虚拟机无响应的问题，导致无法正常关闭&lt;/span&gt;&lt;/strong&gt;。为了解决这个问题，可以采用一种巧妙的方法，而无需重启整个系统。例如，你正在使用的虚拟机可能突然无法响应操作，关机命令失效，即使尝试关闭电源也毫无反应，仿佛陷入了进退两难的境地。此时，你是否只能选择强行关闭整个主机来解决问题？别担心，这里有一个巧妙的解决方法可以帮你摆脱困境。&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;_3hMwG _2kCxD  &quot; style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; overflow-x: visible; display: flex; margin-top: 22px; text-wrap: unset !important;&quot;&gt;&lt;div class=&quot;_1NCGf&quot; style=&quot;display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; -webkit-box-align: center; align-items: center; width: 699.734px; overflow-wrap: anywhere; word-break: normal; text-wrap: unset !important;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;dpu8C _2kCxD  &quot; style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; overflow-x: visible; font-size: 19px; line-height: 30px; color: rgb(34, 34, 34); margin-top: 28px; text-wrap: unset !important;&quot;&gt;&lt;h4 style=&quot;margin: 0px; padding: 0px; overflow-wrap: anywhere; word-break: normal; overflow-y: auto; max-width: 100%; text-wrap: unset !important;&quot;&gt;◉ 步骤详解&lt;/h4&gt;&lt;/div&gt;&lt;div class=&quot;dpu8C _2kCxD  &quot; style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; overflow-x: visible; font-size: 19px; line-height: 30px; color: rgb(34, 34, 34); margin-top: 24px; text-wrap: unset !important;&quot;&gt;&lt;p style=&quot;overflow-wrap: anywhere; word-break: normal; overflow-y: auto; max-width: 100%; line-height: 30px; margin-top: 0px !important; margin-bottom: 0px !important; padding: 0px !important; text-wrap: unset !important;&quot;&gt;首先，确保&lt;strong style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; text-wrap: unset !important;&quot;&gt;&lt;span style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; color: #000000; background-color: #FADCE9; text-wrap: unset !important;&quot;&gt;&amp;nbsp;ESXi的SSH服务已启用&lt;/span&gt;&lt;/strong&gt;，然后利用SSH软件登录到ESXi主机。&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;_3hMwG _2kCxD  &quot; style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; overflow-x: visible; display: flex; margin-top: 22px; text-wrap: unset !important;&quot;&gt;&lt;div class=&quot;_1NCGf&quot; style=&quot;display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; -webkit-box-align: center; align-items: center; width: 699.734px; overflow-wrap: anywhere; word-break: normal; text-wrap: unset !important;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;dpu8C _2kCxD  &quot; style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; overflow-x: visible; font-size: 19px; line-height: 30px; color: rgb(34, 34, 34); margin-top: 28px; text-wrap: unset !important;&quot;&gt;&lt;p style=&quot;overflow-wrap: anywhere; word-break: normal; overflow-y: auto; max-width: 100%; line-height: 30px; margin-top: 0px !important; margin-bottom: 0px !important; padding: 0px !important; text-wrap: unset !important;&quot;&gt;接下来，输入命令&lt;code style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; text-wrap: unset !important;&quot;&gt;esxcli vm process list&lt;/code&gt;，该命令将展示ESXi主机上的所有虚拟机进程。在列出的进程中，找到你希望进行操作的虚拟机，并特别留意其对应的&lt;strong style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; text-wrap: unset !important;&quot;&gt;&lt;span style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; color: #000000; background-color: #FADCE9; text-wrap: unset !important;&quot;&gt;&amp;nbsp;world ID&lt;/span&gt;&lt;/strong&gt;。这个world ID在后续的操作中非常重要。&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;dpu8C _2kCxD  &quot; style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; overflow-x: visible; font-size: 19px; line-height: 30px; color: rgb(34, 34, 34); margin-top: 24px; text-wrap: unset !important;&quot;&gt;&lt;p style=&quot;overflow-wrap: anywhere; word-break: normal; overflow-y: auto; max-width: 100%; line-height: 30px; margin-top: 0px !important; margin-bottom: 0px !important; padding: 0px !important; text-wrap: unset !important;&quot;&gt;接下来，输入命令&lt;code style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; text-wrap: unset !important;&quot;&gt;esxcli vm process kill -w XXXX -t force&lt;/code&gt;，其中&lt;code style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; text-wrap: unset !important;&quot;&gt;XXXX&lt;/code&gt;代表要关闭的虚拟机的world ID，这个命令将强行终止该虚拟机的运行。&lt;strong style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; text-wrap: unset !important;&quot;&gt;&lt;span style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; color: #000000; background-color: #FADCE9; text-wrap: unset !important;&quot;&gt;&amp;nbsp;此操作可在不重启主机的情况下，恢复对虚拟机的控制&lt;/span&gt;&lt;/strong&gt;。最后，你可以随心所欲地操作你的虚拟机，无论是开机还是删除，都由你决定。&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;dpu8C _2kCxD  &quot; style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; overflow-x: visible; font-size: 19px; line-height: 30px; color: rgb(34, 34, 34); margin-top: 24px; text-wrap: unset !important;&quot;&gt;&lt;h4 style=&quot;margin: 0px; padding: 0px; overflow-wrap: anywhere; word-break: normal; overflow-y: auto; max-width: 100%; text-wrap: unset !important;&quot;&gt;◉ 原理阐述&lt;/h4&gt;&lt;/div&gt;&lt;div class=&quot;dpu8C _2kCxD  &quot; style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; overflow-x: visible; font-size: 19px; line-height: 30px; color: rgb(34, 34, 34); margin-top: 24px; text-wrap: unset !important;&quot;&gt;&lt;p style=&quot;overflow-wrap: anywhere; word-break: normal; overflow-y: auto; max-width: 100%; line-height: 30px; margin-top: 0px !important; margin-bottom: 0px !important; padding: 0px !important; text-wrap: unset !important;&quot;&gt;那么，这是什么原理呢？原来，VMware的ESXi主机本质上是一个&lt;strong style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; text-wrap: unset !important;&quot;&gt;&lt;span style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; color: #000000; background-color: #FADCE9; text-wrap: unset !important;&quot;&gt;&amp;nbsp;Linux操作系统&lt;/span&gt;&lt;/strong&gt;。在这个系统中，所有的虚拟机都以进程的形式运行。当虚拟机出现卡死现象时，实际上是因为其对应的进程出现了问题。通过找到并关闭这些卡死的进程，我们就可以&lt;strong style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; text-wrap: unset !important;&quot;&gt;&lt;span style=&quot;overflow-wrap: anywhere; word-break: normal; max-width: 100%; color: #000000; background-color: #FADCE9; text-wrap: unset !important;&quot;&gt;&amp;nbsp;有效解决虚拟机卡死的问题&lt;/span&gt;&lt;/strong&gt;。&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Wed, 25 Feb 2026 19:36:42 +0800</pubDate></item><item><title>ESXI一些问题的处理方式集合</title><link>http://www.99xyz.com/post/2025/05/56.html</link><description>&lt;p&gt;vcenter网页客户端卡顿&amp;nbsp; 修改UI占用的内存大小&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;cloudvm-ram-size&amp;nbsp;-C&amp;nbsp;2048&amp;nbsp;vsphere-ui
#&amp;nbsp;确定好后，再输入下免命令重启
service-control&amp;nbsp;--stop&amp;nbsp;vsphere-ui;service-control&amp;nbsp;--start&amp;nbsp;vsphere-ui;
cloudvm-ram-size&amp;nbsp;-l&lt;/pre&gt;&lt;p&gt;修改vcenter的网页客户端超时时间&lt;br/&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;cd&amp;nbsp;/etc/vmware/vsphere-ui
ls
vi&amp;nbsp;webclient.properties
#session.timeout&amp;nbsp;=&amp;nbsp;10080&amp;nbsp;把这一项改为0将永不超时&amp;nbsp;&amp;nbsp;单位是分钟&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;vcenter的许可证号：&lt;span style=&quot;color: #5E6687; font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-variant-ligatures: no-common-ligatures; white-space-collapse: preserve; background-color: #F5F7FF;&quot;&gt;104HH-D4343-07879-MV08K-2D2H2&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #5E6687; font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-variant-ligatures: no-common-ligatures; white-space-collapse: preserve; background-color: #F5F7FF;&quot;&gt;&lt;/span&gt;esxi7.0许可证号：&lt;span style=&quot;color: #5E6687; font-family: &amp;quot;Source Code Pro&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, &amp;quot;Anonymous Pro&amp;quot;, &amp;quot;Droid Sans Mono&amp;quot;, Menlo, Monaco, Consolas, Inconsolata, Courier, monospace, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, sans-serif; font-variant-ligatures: no-common-ligatures; white-space-collapse: preserve; background-color: #F5F7FF;&quot;&gt;JJ2WR-25L9P-H71A8-6J20P-C0K3F&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 24px;&quot;&gt;vcenter自定义虚拟机的MAC地址前缀&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;名称：config.vpxd.macAllocScheme.prefixScheme.prefix&lt;/p&gt;&lt;p&gt;值：f43597&amp;nbsp; &amp;nbsp;这个值就是MAC地址的前6位&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;名称：config.vpxd.macAllocScheme.prefixScheme.prefixLength&lt;/p&gt;&lt;p&gt;值：16&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Wed, 28 May 2025 01:18:17 +0800</pubDate></item><item><title>ollama linux修改脚本，解决国内下载慢和安装卡住问题</title><link>http://www.99xyz.com/post/2024/09/55.html</link><description>&lt;p&gt;修改了下载地址得脚本，国内加速部署&lt;/p&gt;&lt;p&gt;脚本中使用的版本是0.3.10&lt;/p&gt;&lt;p&gt;以后有更新的，可以自己修改&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;curl -fsSL http://www.99xyz.com/sh/ollama.sh | sh&lt;/p&gt;</description><pubDate>Sun, 15 Sep 2024 18:58:30 +0800</pubDate></item><item><title>pve 安装出现 bootloader setup errors</title><link>http://www.99xyz.com/post/2024/05/54.html</link><description>&lt;p style=&quot;background-repeat: no-repeat; box-sizing: border-box; line-height: 1.6; margin-top: 0px; margin-bottom: 30px; font-size: 1.25rem; letter-spacing: 0.3px; color: rgb(74, 74, 74); font-family: &amp;quot;Source Sans Pro&amp;quot;, Helvetica, Arial, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;今天在安装pve进度到100%后出现如下错误:&lt;/p&gt;&lt;blockquote style=&quot;background-repeat: no-repeat; box-sizing: border-box; font-family: Georgia, &amp;quot;Times New Roman&amp;quot;, Times, serif; font-size: 1.25rem; font-style: italic; letter-spacing: 0.3px; line-height: 1.6; margin: 0px 0px 30px; padding: 0px 60px; position: relative; color: rgb(74, 74, 74); text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;bootloader setup errors:&lt;br style=&quot;background-repeat: no-repeat; box-sizing: border-box;&quot;/&gt;- failed to prepare EFI boot using Grub on &amp;#39;/dev/nvme0n1&amp;#39;: unable to install the EFI boot loader on &amp;#39;/dev/nvme0n1&amp;#39;&lt;/blockquote&gt;&lt;p style=&quot;background-repeat: no-repeat; box-sizing: border-box; line-height: 1.6; margin-top: 0px; margin-bottom: 30px; font-size: 1.25rem; letter-spacing: 0.3px; color: rgb(74, 74, 74); font-family: &amp;quot;Source Sans Pro&amp;quot;, Helvetica, Arial, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;查阅资料后根据以下解决方案解决了问题, 原网站:&amp;nbsp;&lt;a href=&quot;https://forum.proxmox.com/threads/cannot-install-pve-as-uefi-os.126755/?ref=blog.fillpit.cn#:~:text=While%20installing%20PVE%2C%20press%20ctrl%20%2B%20alt%20%2B,REMOVING%20THE%20WRONG%20ENTRIES%20COULD%20BREAK%20YOUR%20MACHINE&quot; style=&quot;background-repeat: no-repeat; box-sizing: border-box; background-color: transparent; touch-action: manipulation; transition: color 0.2s linear 0s;&quot;&gt;https://forum.proxmox.com/threads/cannot-install-pve-as-uefi-os.126755/#:~:text=While installing PVE%2C press ctrl %2B alt %2B,REMOVING THE WRONG ENTRIES COULD BREAK YOUR MACHINE&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;background-repeat: no-repeat; box-sizing: border-box; line-height: 1.6; margin-top: 0px; margin-bottom: 30px; font-size: 1.25rem; letter-spacing: 0.3px; color: rgb(74, 74, 74); font-family: &amp;quot;Source Sans Pro&amp;quot;, Helvetica, Arial, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);&quot;&gt;1.在PVE的安装页面,按下&amp;nbsp;&lt;code style=&quot;background-repeat: no-repeat; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 0.9rem; color: var(--link-color); display: inline-block; padding: 0px 5px; background-color: var(--secondary-subtle-color); border-radius: 5px;&quot;&gt;ctrl + alt + F3&lt;/code&gt;&amp;nbsp;进入命令行页面&lt;br style=&quot;background-repeat: no-repeat; box-sizing: border-box;&quot;/&gt;2. 运行&amp;nbsp;&lt;code style=&quot;background-repeat: no-repeat; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 0.9rem; color: var(--link-color); display: inline-block; padding: 0px 5px; background-color: var(--secondary-subtle-color); border-radius: 5px;&quot;&gt;rm /sys/firmware/efi/efivars/dump-*&lt;/code&gt;&amp;nbsp;命令&lt;br style=&quot;background-repeat: no-repeat; box-sizing: border-box;&quot;/&gt;3. 执行成功后 按&amp;nbsp;&lt;code style=&quot;background-repeat: no-repeat; box-sizing: border-box; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace; font-size: 0.9rem; color: var(--link-color); display: inline-block; padding: 0px 5px; background-color: var(--secondary-subtle-color); border-radius: 5px;&quot;&gt;ctrl + alt + F4&lt;/code&gt;&amp;nbsp;重新进入到安装界面&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Thu, 30 May 2024 17:01:50 +0800</pubDate></item><item><title>英伟达显卡关闭ECC</title><link>http://www.99xyz.com/post/2024/05/53.html</link><description>&lt;p&gt;nvidia-smi -i 0 -e 0&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;第一个0是显卡的序号&lt;/p&gt;</description><pubDate>Sun, 26 May 2024 20:02:24 +0800</pubDate></item><item><title>pve降级kernel版本</title><link>http://www.99xyz.com/post/2024/05/52.html</link><description>&lt;p style=&quot;margin-top: 1.5em; margin-bottom: 0px; color: rgb(93, 104, 111); font-family: &amp;quot;Google Sans Display&amp;quot;; font-size: 17px; letter-spacing: -0.3px; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.85);&quot;&gt;其实也不是必须用 6.1，降级到一个你认为稳定的也可以（我是不推荐 5.13 和 6.2），比如 5.15 和 5.19，但是我测试 6.1 是稳定的而且较新的 LTS&lt;/p&gt;&lt;p style=&quot;margin-top: 1.5em; margin-bottom: 0px; color: rgb(93, 104, 111); font-family: &amp;quot;Google Sans Display&amp;quot;; font-size: 17px; letter-spacing: -0.3px; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.85);&quot;&gt;然后就是注意别装成 Debian 原版内核了，我们要装的是 Proxmox VE 修改的内核&lt;/p&gt;&lt;p style=&quot;margin-top: 1.5em; margin-bottom: 0px; color: rgb(93, 104, 111); font-family: &amp;quot;Google Sans Display&amp;quot;; font-size: 17px; letter-spacing: -0.3px; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.85);&quot;&gt;除了内核本体外还建议装下 kernel header&lt;/p&gt;&lt;pre style=&quot;background-color: rgb(247, 248, 248); font-family: Menlo, Consolas, monospace; border: none; padding: 0px; margin-top: 0px; margin-bottom: 0px; cursor: text; max-width: calc(850px); overflow: auto hidden; color: rgb(51, 51, 51); font-size: 17px; letter-spacing: -0.3px; width: 829.927px;&quot;&gt;apt&amp;nbsp;install&amp;nbsp;pve-kernel-6.1&amp;nbsp;pve-header-6.1&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #5D686F; font-family: &amp;quot;Google Sans Display&amp;quot;; font-size: 17px; letter-spacing: -0.3px; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.85);&quot;&gt;然后就可以使用自带的&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;font-size: 1.5rem; display: inline-block; font-family: Menlo, Consolas, monospace; background-color: rgb(247, 248, 248); padding: 0px 10px; color: rgb(93, 104, 111); letter-spacing: -0.3px; text-wrap: wrap;&quot;&gt;proxmox-boot-tool&lt;/code&gt;&lt;span style=&quot;color: #5D686F; font-family: &amp;quot;Google Sans Display&amp;quot;; font-size: 17px; letter-spacing: -0.3px; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.85);&quot;&gt;&amp;nbsp;调内核优先级了&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre style=&quot;background-color: rgb(247, 248, 248); font-family: Menlo, Consolas, monospace; border: none; padding: 0px; margin-top: 0px; margin-bottom: 0px; cursor: text; max-width: calc(850px); overflow: auto hidden; color: rgb(51, 51, 51); font-size: 17px; letter-spacing: -0.3px; width: 829.927px;&quot;&gt;proxmox-boot-tool&amp;nbsp;kernel&amp;nbsp;list&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;color: #5D686F; font-family: &amp;quot;Google Sans Display&amp;quot;; font-size: 17px; letter-spacing: -0.3px; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.85);&quot;&gt;&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;&lt;pre style=&quot;background-color: rgb(247, 248, 248); font-family: Menlo, Consolas, monospace; border: none; padding: 0px; margin-top: 0px; margin-bottom: 0px; cursor: text; max-width: calc(850px); overflow: auto hidden; color: rgb(51, 51, 51); font-size: 17px; letter-spacing: -0.3px; width: 829.927px;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;Manually selected kernels:&lt;/span&gt;&lt;br/&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;None.&lt;/span&gt;&lt;br/&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;&lt;/span&gt;&lt;br/&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;Automatically selected kernels:&lt;/span&gt;&lt;br/&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;6.1.10-1-pve&lt;/span&gt;&lt;br/&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;6.2.16-3-pve&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #5D686F; font-family: &amp;quot;Google Sans Display&amp;quot;; font-size: 17px; letter-spacing: -0.3px; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.85);&quot;&gt;将 6.1 内核优先级调最高，以我现在的 6.1.10-1 为例：&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #5D686F; font-family: &amp;quot;Google Sans Display&amp;quot;; font-size: 17px; letter-spacing: -0.3px; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.85);&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre style=&quot;background-color: rgb(247, 248, 248); font-family: Menlo, Consolas, monospace; border: none; padding: 0px; margin-top: 0px; margin-bottom: 0px; cursor: text; max-width: calc(850px); overflow: auto hidden; color: rgb(51, 51, 51); font-size: 17px; letter-spacing: -0.3px; width: 829.927px;&quot;&gt;proxmox-boot-tool&amp;nbsp;kernel&amp;nbsp;pin&amp;nbsp;6.1.10-1-pve&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;color: #5D686F; font-family: &amp;quot;Google Sans Display&amp;quot;; font-size: 17px; letter-spacing: -0.3px; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.85);&quot;&gt;&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;&lt;pre style=&quot;background-color: rgb(247, 248, 248); font-family: Menlo, Consolas, monospace; border: none; padding: 0px; margin-top: 0px; margin-bottom: 0px; cursor: text; max-width: calc(850px); overflow: auto hidden; color: rgb(51, 51, 51); font-size: 17px; letter-spacing: -0.3px; width: 822.531px;&quot;&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;Setting &amp;#39;6.1.10-1-pve&amp;#39; as grub default entry and running update-grub.&lt;/span&gt;&lt;br/&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;Generating grub configuration file ...&lt;/span&gt;&lt;br/&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;Found linux image: /boot/vmlinuz-6.2.16-3-pve&lt;/span&gt;&lt;br/&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;Found initrd image: /boot/initrd.img-6.2.16-3-pve&lt;/span&gt;&lt;br/&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;Found linux image: /boot/vmlinuz-6.1.10-1-pve&lt;/span&gt;&lt;br/&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;Found initrd image: /boot/initrd.img-6.1.10-1-pve&lt;/span&gt;&lt;br/&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi&lt;/span&gt;&lt;br/&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;Adding boot menu entry for UEFI Firmware Settings ...&lt;/span&gt;&lt;br/&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;done&lt;/span&gt;&lt;br/&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;&lt;/span&gt;&lt;br/&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;Manually selected kernels:&lt;/span&gt;&lt;br/&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;None.&lt;/span&gt;&lt;br/&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;&lt;/span&gt;&lt;br/&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;Automatically selected kernels:&lt;/span&gt;&lt;br/&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;6.1.10-1-pve&lt;/span&gt;&lt;br/&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;6.2.16-3-pve&lt;/span&gt;&lt;br/&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;&lt;/span&gt;&lt;br/&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;Pinned kernel:&lt;/span&gt;&lt;br/&gt;&lt;span class=&quot;line&quot; style=&quot;height: 1.3em; font-size: 1.4rem;&quot;&gt;6.1.10-1-pve&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&lt;span style=&quot;color: #5D686F; font-family: &amp;quot;Google Sans Display&amp;quot;; font-size: 17px; letter-spacing: -0.3px; text-wrap: wrap; background-color: rgba(255, 255, 255, 0.85);&quot;&gt;重启就 OK 了&lt;/span&gt;&lt;/p&gt;</description><pubDate>Sun, 26 May 2024 19:52:02 +0800</pubDate></item><item><title>在Proxmox VE 8 中实现显卡虚拟化</title><link>http://www.99xyz.com/post/2023/11/51.html</link><description>&lt;h3 catalog=&quot;catalog-h3-4&quot; style=&quot;text-wrap: wrap; margin: 12px 0px; padding: 0px 0px 10px; box-sizing: border-box; position: relative; color: rgb(96, 98, 102); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255);&quot;&gt;1.配置软件源&lt;/h3&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;rm&amp;nbsp;/etc/apt/sources.list
rm&amp;nbsp;/etc/apt/sources.list.d/*
echo&amp;nbsp;&amp;quot;deb&amp;nbsp;https://mirrors.tuna.tsinghua.edu.cn/debian&amp;nbsp;bookworm&amp;nbsp;main&amp;nbsp;contrib&amp;quot;&amp;gt;&amp;gt;/etc/apt/sources.list
echo&amp;nbsp;&amp;quot;deb&amp;nbsp;https://mirrors.tuna.tsinghua.edu.cn/debian&amp;nbsp;bookworm-updates&amp;nbsp;main&amp;nbsp;contrib&amp;quot;&amp;gt;&amp;gt;/etc/apt/sources.list
echo&amp;nbsp;&amp;quot;deb&amp;nbsp;https://mirrors.tuna.tsinghua.edu.cn/debian-security/&amp;nbsp;bookworm-security&amp;nbsp;main&amp;nbsp;contrib&amp;quot;&amp;gt;&amp;gt;/etc/apt/sources.list
echo&amp;nbsp;&amp;quot;deb&amp;nbsp;https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian&amp;nbsp;bookworm&amp;nbsp;pve-no-subscription&amp;quot;&amp;gt;&amp;gt;/etc/apt/sources.list.d/pve-no-subscription.list
sed&amp;nbsp;-i.backup&amp;nbsp;-z&amp;nbsp;&amp;quot;s/res&amp;nbsp;===&amp;nbsp;null&amp;nbsp;||&amp;nbsp;res&amp;nbsp;===&amp;nbsp;undefined&amp;nbsp;||&amp;nbsp;\!res&amp;nbsp;||&amp;nbsp;res\n\t\t\t.data.status.toLowerCase()&amp;nbsp;\!==&amp;nbsp;&amp;#39;active&amp;#39;/false/g&amp;quot;&amp;nbsp;/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js&amp;nbsp;&amp;amp;&amp;amp;&amp;nbsp;systemctl&amp;nbsp;restart&amp;nbsp;pveproxy.service&lt;/pre&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;rm&amp;nbsp;/etc/apt/sources.list
rm&amp;nbsp;/etc/apt/sources.list.d/*
echo&amp;nbsp;&amp;quot;deb&amp;nbsp;https://mirrors.ustc.edu.cn/debian&amp;nbsp;bookworm&amp;nbsp;main&amp;nbsp;contrib&amp;quot;&amp;gt;&amp;gt;/etc/apt/sources.list
echo&amp;nbsp;&amp;quot;deb&amp;nbsp;https://mirrors.ustc.edu.cn/debian&amp;nbsp;bookworm-updates&amp;nbsp;main&amp;nbsp;contrib&amp;quot;&amp;gt;&amp;gt;/etc/apt/sources.list
echo&amp;nbsp;&amp;quot;deb&amp;nbsp;https://mirrors.ustc.edu.cn/debian-security/&amp;nbsp;bookworm-security&amp;nbsp;main&amp;nbsp;contrib&amp;quot;&amp;gt;&amp;gt;/etc/apt/sources.list
echo&amp;nbsp;&amp;quot;deb&amp;nbsp;https://mirrors.ustc.edu.cn/proxmox/debian&amp;nbsp;bookworm&amp;nbsp;pve-no-subscription&amp;quot;&amp;gt;&amp;gt;/etc/apt/sources.list.d/pve-no-subscription.list
sed&amp;nbsp;-i.backup&amp;nbsp;-z&amp;nbsp;&amp;quot;s/res&amp;nbsp;===&amp;nbsp;null&amp;nbsp;||&amp;nbsp;res&amp;nbsp;===&amp;nbsp;undefined&amp;nbsp;||&amp;nbsp;\!res&amp;nbsp;||&amp;nbsp;res\n\t\t\t.data.status.toLowerCase()&amp;nbsp;\!==&amp;nbsp;&amp;#39;active&amp;#39;/false/g&amp;quot;&amp;nbsp;/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js&amp;nbsp;&amp;amp;&amp;amp;&amp;nbsp;systemctl&amp;nbsp;restart&amp;nbsp;pveproxy.service&lt;/pre&gt;&lt;h3 catalog=&quot;catalog-h3-5&quot; style=&quot;text-wrap: wrap; margin: 12px 0px; padding: 0px 0px 10px; box-sizing: border-box; position: relative; color: rgb(96, 98, 102); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255);&quot;&gt;上面命令二选一就行&lt;/h3&gt;&lt;h3 catalog=&quot;catalog-h3-5&quot; style=&quot;text-wrap: wrap; margin: 12px 0px; padding: 0px 0px 10px; box-sizing: border-box; position: relative; color: rgb(96, 98, 102); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255);&quot;&gt;2.安装必要的软件包&lt;/h3&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;apt&amp;nbsp;update&amp;nbsp;&amp;amp;&amp;amp;&amp;nbsp;apt&amp;nbsp;upgrade&amp;nbsp;-y&amp;nbsp;&amp;amp;&amp;amp;&amp;nbsp;apt&amp;nbsp;install&amp;nbsp;pve-kernel-6.5&amp;nbsp;-y
运行后继续运行
proxmox-boot-tool&amp;nbsp;kernel&amp;nbsp;list
获取到当前的内核版本
然后运行下面命令，设置6.5核心为启动核心
proxmox-boot-tool&amp;nbsp;kernel&amp;nbsp;pin&amp;nbsp;6.5.13-5-pve
运行完上面的这些命令后需要进行重启再做后续操作
apt&amp;nbsp;install&amp;nbsp;build-essential&amp;nbsp;dkms&amp;nbsp;mdevctl&amp;nbsp;pve-headers-$(uname&amp;nbsp;-r)&amp;nbsp;-y&lt;/pre&gt;&lt;h3 catalog=&quot;catalog-h3-6&quot; style=&quot;text-wrap: wrap; margin: 12px 0px; padding: 0px 0px 10px; box-sizing: border-box; position: relative; color: rgb(96, 98, 102); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255);&quot;&gt;3.配置内核&lt;/h3&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;echo&amp;nbsp;vfio&amp;nbsp;&amp;gt;&amp;gt;&amp;nbsp;/etc/modules
echo&amp;nbsp;vfio_iommu_type1&amp;nbsp;&amp;gt;&amp;gt;&amp;nbsp;/etc/modules
echo&amp;nbsp;vfio_pci&amp;nbsp;&amp;gt;&amp;gt;&amp;nbsp;/etc/modules
echo&amp;nbsp;vfio_virqfd&amp;nbsp;&amp;gt;&amp;gt;&amp;nbsp;/etc/modules
echo&amp;nbsp;&amp;nbsp;&amp;quot;blacklist&amp;nbsp;nouveau&amp;quot;&amp;nbsp;&amp;gt;&amp;gt;&amp;nbsp;/etc/modprobe.d/blacklist.conf
echo&amp;nbsp;&amp;quot;options&amp;nbsp;kvm&amp;nbsp;ignore_msrs=1&amp;quot;&amp;nbsp;&amp;gt;&amp;nbsp;/etc/modprobe.d/kvm.conf
update-initramfs&amp;nbsp;-k&amp;nbsp;all&amp;nbsp;-u&lt;/pre&gt;&lt;h3 catalog=&quot;catalog-h3-7&quot; style=&quot;text-wrap: wrap; margin: 12px 0px; padding: 0px 0px 10px; box-sizing: border-box; position: relative; color: rgb(96, 98, 102); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255);&quot;&gt;4.配置引导&lt;/h3&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;#编辑grub，请不要盲目改。根据自己的环境，选择设置
nano&amp;nbsp;/etc/default/grub
#在里面找到：
GRUB_CMDLINE_LINUX_DEFAULT=&amp;quot;quiet&amp;quot;
#然后修改为：
GRUB_CMDLINE_LINUX_DEFAULT=&amp;quot;quiet&amp;nbsp;intel_iommu=on&amp;nbsp;iommu=pt&amp;quot;
#如果是amd&amp;nbsp;cpu请改为：
GRUB_CMDLINE_LINUX_DEFAULT=&amp;quot;quiet&amp;nbsp;amd_iommu=on&amp;nbsp;iommu=pt&amp;quot;
#更新引导
update-grub&lt;/pre&gt;&lt;h3 catalog=&quot;catalog-h3-8&quot; style=&quot;text-wrap: wrap; margin: 12px 0px; padding: 0px 0px 10px; box-sizing: border-box; position: relative; color: rgb(96, 98, 102); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255);&quot;&gt;5.安装驱动&lt;/h3&gt;&lt;p style=&quot;text-wrap: wrap;&quot;&gt;上传&lt;span style=&quot;color: #C7254E; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13.5px; background-color: #F9F2F4;&quot;&gt;NVIDIA-Linux-x86_64-535.85.07-vgpu-kvm.run文件&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-wrap: wrap;&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;pre class=&quot;prism-highlight prism-language-bash&quot;&gt;./NVIDIA-Linux-x86_64-535.85.07-vgpu-kvm.run&lt;/pre&gt;&lt;p style=&quot;text-wrap: wrap;&quot;&gt;&lt;span style=&quot;color: #C7254E; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13.5px; background-color: #F9F2F4;&quot;&gt;&lt;span style=&quot;color: #606266; font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; background-color: #FFFFFF;&quot;&gt;就跑起来了&lt;/span&gt;&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;text-wrap: wrap;&quot;&gt;&lt;span style=&quot;color: #C7254E; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13.5px; background-color: #F9F2F4;&quot;&gt;&lt;span style=&quot;color: #606266; font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; background-color: #FFFFFF;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-wrap: wrap;&quot;&gt;&lt;span style=&quot;color: #C7254E; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13.5px; background-color: #F9F2F4;&quot;&gt;&lt;span style=&quot;color: #606266; font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; background-color: #FFFFFF;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 10px; text-wrap: wrap; padding: 0px; box-sizing: border-box; line-height: 1.8; overflow-wrap: break-word; font-size: 15px; color: rgb(96, 98, 102); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255);&quot;&gt;保险起见可以先使用&lt;code style=&quot;margin: 0px 0px 2px 2px; padding: 0px 4px; box-sizing: border-box; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; display: inline-block; font-size: 13.5px; color: rgb(199, 37, 78); background-color: rgb(249, 242, 244);&quot;&gt;systemctl restart {nvidia-vgpud.service,nvidia-vgpu-mgr.service}&lt;/code&gt;&amp;nbsp;启动相关服务&lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 10px; text-wrap: wrap; padding: 0px; box-sizing: border-box; line-height: 1.8; overflow-wrap: break-word; font-size: 15px; color: rgb(96, 98, 102); font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255);&quot;&gt;随后使用nvidia-smi以及mdevctl types查看&lt;/p&gt;&lt;p style=&quot;text-wrap: wrap;&quot;&gt;&lt;span style=&quot;color: #C7254E; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13.5px; background-color: #F9F2F4;&quot;&gt;&lt;span style=&quot;color: #606266; font-family: &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, STHeiti, &amp;quot;WenQuanYi Micro Hei&amp;quot;, Helvetica, Arial, sans-serif; font-size: 15px; background-color: #FFFFFF;&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Wed, 08 Nov 2023 02:09:03 +0800</pubDate></item><item><title>idrac7激活企业版</title><link>http://www.99xyz.com/post/2023/10/50.html</link><description>&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; line-height: 1.8; overflow-wrap: break-word; white-space: pre-wrap; text-indent: 2em; color: rgb(38, 38, 38); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans CN&amp;quot;, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);&quot;&gt;下载 DELL idrac7 激活工具&lt;a href=&quot;https://down.cnaaa.net/static/upload/other/20230217/1676619894923325.zip&quot; rel=&quot;noopener&quot; style=&quot;box-sizing: border-box; background-color: transparent; text-decoration-line: none;&quot;&gt;&lt;span style=&quot;color: #3F3F3F; font-family: Arial, 微软雅黑, 宋体, 新宋体, sans-serif; background-color: #C2ECB2;&quot;&gt;https://wwpe.lanzoub.com/iuQiu1bnzqgd&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; line-height: 1.8; overflow-wrap: break-word; white-space: pre-wrap; text-indent: 2em; color: rgb(38, 38, 38); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans CN&amp;quot;, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);&quot;&gt;DELL 官方&amp;nbsp;部署工具(EW5099A0.EXE)&amp;nbsp;，并解压。默认是解压到 C 盘根目录。可执行文件&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: SFMono-Regular, &amp;quot;Liberation Mono&amp;quot;, Consolas, Menlo, monospace, &amp;quot;Microsoft Yahei&amp;quot;; font-size: 0.9em; background: rgba(0, 0, 0, 0.07); padding: 2px 4px; margin: 0px 1px; border-radius: 2px;&quot;&gt;DDDP.exe&lt;/code&gt;&amp;nbsp;默认在路径&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: SFMono-Regular, &amp;quot;Liberation Mono&amp;quot;, Consolas, Menlo, monospace, &amp;quot;Microsoft Yahei&amp;quot;; font-size: 0.9em; background: rgba(0, 0, 0, 0.07); padding: 2px 4px; margin: 0px 1px; border-radius: 2px;&quot;&gt;C:\dell\drivers\R169189&lt;/code&gt;&amp;nbsp;下。右键&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: SFMono-Regular, &amp;quot;Liberation Mono&amp;quot;, Consolas, Menlo, monospace, &amp;quot;Microsoft Yahei&amp;quot;; font-size: 0.9em; background: rgba(0, 0, 0, 0.07); padding: 2px 4px; margin: 0px 1px; border-radius: 2px;&quot;&gt;DDDP.exe&lt;/code&gt;，以管理员身份运行。图片效果如下：&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;figure class=&quot;wp-block-image size-large&quot; style=&quot;box-sizing: border-box; margin: 0px 0px 20px; color: rgb(38, 38, 38); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans CN&amp;quot;, sans-serif; font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;/figure&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; line-height: 1.8; overflow-wrap: break-word; white-space: pre-wrap; text-indent: 2em; color: rgb(38, 38, 38); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans CN&amp;quot;, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);&quot;&gt;刻录 U 盘。插入无数据的优盘（注意：此步会格式化 U 盘，因此不要用有数据的优盘进行操作），选择&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: SFMono-Regular, &amp;quot;Liberation Mono&amp;quot;, Consolas, Menlo, monospace, &amp;quot;Microsoft Yahei&amp;quot;; font-size: 0.9em; background: rgba(0, 0, 0, 0.07); padding: 2px 4px; margin: 0px 1px; border-radius: 2px;&quot;&gt;Install USB to Flash Drive&lt;/code&gt;，一路点 OK 确认。&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;figure class=&quot;wp-block-image size-full&quot; style=&quot;box-sizing: border-box; margin: 0px 0px 20px; color: rgb(38, 38, 38); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans CN&amp;quot;, sans-serif; font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;/figure&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; line-height: 1.8; overflow-wrap: break-word; white-space: pre-wrap; text-indent: 2em; color: rgb(38, 38, 38); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans CN&amp;quot;, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);&quot;&gt;下载工具包，解压下载的 Tools.zip。并将 Tools.zip 解压后的文件，复制粘贴到步骤 2 中刻录好的 U 盘中。复制时会提示是否覆盖，选跳过（不覆盖）。&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;figure class=&quot;wp-block-image size-large&quot; style=&quot;box-sizing: border-box; margin: 0px 0px 20px; color: rgb(38, 38, 38); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans CN&amp;quot;, sans-serif; font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;/figure&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; line-height: 1.8; overflow-wrap: break-word; white-space: pre-wrap; text-indent: 2em; color: rgb(38, 38, 38); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans CN&amp;quot;, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);&quot;&gt;U 盘插在&lt;span class=&quot;wpcom_keyword_link&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;a href=&quot;https://www.cnaaa.com/&quot; title=&quot;服务器&quot; rel=&quot;noopener&quot; style=&quot;box-sizing: border-box; background-color: transparent; text-decoration-line: none;&quot;&gt;服务器&lt;/a&gt;&lt;/span&gt;上 USB2.0 接口上，启动。Legacy 模式开机，F11 选择启动盘为 U 盘。DOS 模式下，出现选项时，输入&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: SFMono-Regular, &amp;quot;Liberation Mono&amp;quot;, Consolas, Menlo, monospace, &amp;quot;Microsoft Yahei&amp;quot;; font-size: 0.9em; background: rgba(0, 0, 0, 0.07); padding: 2px 4px; margin: 0px 1px; border-radius: 2px;&quot;&gt;4&lt;/code&gt;（也就是默认的退出选项），将出现命令输入界面。直接输入命令&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; font-family: SFMono-Regular, &amp;quot;Liberation Mono&amp;quot;, Consolas, Menlo, monospace, &amp;quot;Microsoft Yahei&amp;quot;; font-size: 0.9em; background: rgba(0, 0, 0, 0.07); padding: 2px 4px; margin: 0px 1px; border-radius: 2px;&quot;&gt;asset /s 9QYZF42&lt;/code&gt;&amp;nbsp;，选择 Y。&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; line-height: 1.8; overflow-wrap: break-word; white-space: pre-wrap; text-indent: 2em; color: rgb(38, 38, 38); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans CN&amp;quot;, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);&quot;&gt;拔掉 U 盘，重启。导入 idrac&amp;nbsp;激活文件(DE00000009660549.xml)。完成激活。&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;figure class=&quot;wp-block-image size-large&quot; style=&quot;box-sizing: border-box; margin: 0px 0px 20px; color: rgb(38, 38, 38); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Ubuntu, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;PingFang SC&amp;quot;, &amp;quot;Hiragino Sans GB&amp;quot;, &amp;quot;Microsoft YaHei UI&amp;quot;, &amp;quot;Microsoft YaHei&amp;quot;, &amp;quot;Source Han Sans CN&amp;quot;, sans-serif; font-size: 16px; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;/figure&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Fri, 13 Oct 2023 10:21:58 +0800</pubDate></item><item><title>win7关闭数字签名检测</title><link>http://www.99xyz.com/post/2023/07/49.html</link><description>&lt;p&gt;bcdedit.exe -set loadoptions DISABLE_INTEGRITY_CHECKS&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #313131; font-family: 微软雅黑; font-size: 16px; background-color: #FFFFFF;&quot;&gt;bcdedit.exe /set nointegritychecks on&lt;/span&gt;&lt;/p&gt;</description><pubDate>Tue, 11 Jul 2023 23:16:28 +0800</pubDate></item><item><title>pve删除local-lvm存储</title><link>http://www.99xyz.com/post/2023/07/48.html</link><description>&lt;h2 id=&quot;215dhl&quot; class=&quot;markdown-heading&quot; style=&quot;box-sizing: border-box; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;Segoe UI&amp;quot;, Arial, freesans, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica; line-height: 1.225; color: rgb(36, 41, 46); margin: 1em 0px 16px; font-size: 1.75em; padding: 0px 0px 0.3em; -webkit-tap-highlight-color: transparent; position: relative; border-bottom: 1px solid rgb(238, 238, 238); white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;local和local-lvm&lt;/h2&gt;&lt;h4 id=&quot;fukb1j&quot; class=&quot;markdown-heading&quot; style=&quot;box-sizing: border-box; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, &amp;quot;Segoe UI&amp;quot;, Arial, freesans, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;, &amp;quot;Microsoft Yahei&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica; line-height: 1.4; color: rgb(36, 41, 46); margin: 1em 0px 16px; font-size: 1.25em; padding: 0px; -webkit-tap-highlight-color: transparent; position: relative; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;a name=&quot;fukb1j&quot; class=&quot;reference-link&quot; style=&quot;box-sizing: border-box; background: transparent; color: rgb(65, 131, 196);&quot;&gt;&lt;/a&gt;&lt;/h4&gt;&lt;p&gt;移除存储里的local-lvm&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;使用命令删除 lvremove /dev/pve/data -y&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;再将lvm-thin的空间转移到pve-root，&lt;/p&gt;&lt;p&gt;使用命令lvextend -rl +100%FREE /dev/pve/root&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;关闭local预分配&lt;/p&gt;&lt;p class=&quot;line&quot; style=&quot;box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding: 0px; -webkit-tap-highlight-color: transparent; color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; white-space: normal; background-color: rgb(255, 255, 255);&quot;&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Tue, 11 Jul 2023 12:53:47 +0800</pubDate></item></channel></rss>