<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Yzual的博客]]></title><description><![CDATA[欲买桂花同载酒，终不似，少年游。]]></description><link>https://yzual.com</link><image><url>https://yzual.com/api/v2/objects/icon/c6uzkrbva6purguqwa.svg</url><title>Yzual的博客</title><link>https://yzual.com</link></image><generator>Shiro (https://github.com/Innei/Shiro)</generator><lastBuildDate>Sat, 25 Jul 2026 11:03:25 GMT</lastBuildDate><atom:link href="https://yzual.com/feed" rel="self" type="application/rss+xml"/><pubDate>Sat, 25 Jul 2026 11:03:25 GMT</pubDate><language><![CDATA[zh-CN]]></language><item><title><![CDATA[PVE 9.0 安装英伟达驱动并启用硬件直通（GPU Passthrough）教程]]></title><description><![CDATA[<div><blockquote>该渲染由 Shiro API 生成，可能存在排版问题，最佳体验请前往：<a href="https://yzual.com/posts/tutorial/pve-9-0-nvidia-driver-gpu-passthrough-tutorial">https://yzual.com/posts/tutorial/pve-9-0-nvidia-driver-gpu-passthrough-tutorial</a></blockquote><div><p>本文档演示如何在 Proxmox VE 9.0 上安装 NVIDIA 专有驱动，并为虚拟机启用 GPU 硬件直通。</p><hr/><h2 id="">前提条件</h2><ol start="1"><li>主板 BIOS/UEFI 已启用 VT-d（Intel）或 AMD-Vi/IOMMU（AMD）。</li><li>已安装并启动 Proxmox VE 9.0。</li><li>有 root 权限或等效 sudo 权限。</li></ol><hr/><h2 id="-0-biosuefi--iommu">步骤 0：在 BIOS/UEFI 中开启 IOMMU</h2><ol start="1"><li>重启主机并进入 BIOS/UEFI 设置。</li><li>将 Intel 平台的“VT-d”或 AMD 平台的“IOMMU”选项设为 Enabled。</li><li>保存并退出，继续开机。</li></ol><hr/><h2 id="-1-grub-">步骤 1：配置 GRUB 启动参数</h2><ol start="1"><li><p>编辑 <code>/etc/default/grub</code>：</p><pre class="language-bash lang-bash"><code class="language-bash lang-bash">nano /etc/default/grub
</code></pre>
</li><li><p>找到 <code>GRUB_CMDLINE_LINUX_DEFAULT</code>，追加 IOMMU 参数：</p><ul><li><p>Intel 平台：</p><pre class="language-text lang-text"><code class="language-text lang-text">GRUB_CMDLINE_LINUX_DEFAULT=&quot;quiet intel_iommu=on iommu=pt&quot;
</code></pre>
</li><li><p>AMD 平台：</p><pre class="language-text lang-text"><code class="language-text lang-text">GRUB_CMDLINE_LINUX_DEFAULT=&quot;quiet amd_iommu=on iommu=pt&quot;
</code></pre>
</li></ul></li><li><p>保存后执行：</p><pre class="language-bash lang-bash"><code class="language-bash lang-bash">update-grub
reboot
</code></pre>
</li><li><p>重启完成后，可通过 <code>dmesg | grep -e DMAR -e IOMMU</code> 确认 IOMMU 已启用。</p></li></ol><hr/><h2 id="-2-contrib--non-free-">步骤 2：添加 contrib 与 non-free 软件源</h2><ol start="1"><li><p>编辑 <code>/etc/apt/sources.list</code>，确保已包含 <code>contrib</code> 与 <code>non-free</code>：</p><pre class="language-text lang-text"><code class="language-text lang-text">deb http://deb.debian.org/debian trixie main contrib non-free non-free-firmware
deb http://deb.debian.org/debian trixie-updates main contrib non-free non-free-firmware
deb http://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
</code></pre>
</li><li><p>更新软件包列表：</p><pre class="language-bash lang-bash"><code class="language-bash lang-bash">apt update
</code></pre>
</li></ol><hr/><h2 id="-3-dkms">步骤 3：安装内核头文件、编译环境及 DKMS</h2><pre class="language-bash lang-bash"><code class="language-bash lang-bash">apt install --install-recommends \
  pve-headers-$(uname -r) \
  build-essential \
  dkms
</code></pre><blockquote>
<p>确保已安装与当前运行内核版本相匹配的 <code>pve-headers</code>。</p></blockquote>
<hr/><h2 id="-4-nvidia-">步骤 4：安装 NVIDIA 专有驱动</h2><pre class="language-bash lang-bash"><code class="language-bash lang-bash">apt install nvidia-driver nvidia-settings
</code></pre>
<p>该命令将自动安装适用于当前内核的 NVIDIA 驱动及管理工具。</p><hr/><h2 id="-5-nouveau-">步骤 5：禁用 Nouveau 开源驱动</h2><ol start="1"><li><p>创建黑名单文件 <code>/etc/modprobe.d/blacklist-nouveau.conf</code>：</p><pre class="language-bash lang-bash"><code class="language-bash lang-bash">cat &lt;&lt;EOF &gt; /etc/modprobe.d/blacklist-nouveau.conf
blacklist nouveau
options nouveau modeset=0
EOF
</code></pre>
</li></ol><pre class=""><code class="">1. 更新 initramfs：  
   </code></pre><p>bash
   update-initramfs -u -k all</p><pre class=""><code class="">
---

## 步骤 6：重启并验证驱动安装

1. 重启宿主机：  

   </code></pre><p>bash
   reboot</p><pre class=""><code class="">
2. 登录后执行：  

   </code></pre><p>bash
   lsmod | grep nvidia
   nvidia-smi</p><pre class=""><code class="">
   如果能看到 NVIDIA 驱动模块和 GPU 列表，即表示安装成功。

---

至此，Proxmox VE 9.0 上的 NVIDIA 驱动已就绪，接下来即可在虚拟机配置中绑定 GPU，实现硬件直通。祝顺利！

</code></pre></div><p style="text-align:right"><a href="https://yzual.com/posts/tutorial/pve-9-0-nvidia-driver-gpu-passthrough-tutorial#comments">看完了？说点什么呢</a></p></div>]]></description><link>https://yzual.com/posts/tutorial/pve-9-0-nvidia-driver-gpu-passthrough-tutorial</link><guid isPermaLink="true">https://yzual.com/posts/tutorial/pve-9-0-nvidia-driver-gpu-passthrough-tutorial</guid><dc:creator><![CDATA[Izual]]></dc:creator><pubDate>Mon, 13 Oct 2025 08:05:47 GMT</pubDate></item><item><title><![CDATA[20250701]]></title><description><![CDATA[<div><blockquote>该渲染由 Shiro API 生成，可能存在排版问题，最佳体验请前往：<a href="https://yzual.com/notes/2">https://yzual.com/notes/2</a></blockquote><span>突发奇想想要刷机，折腾了小半天，给我的N8P刷了外版系统+root，最开始还是先救砖。折腾一番下来，颇有成就感。</span><p style="text-align:right"><a href="https://yzual.com/notes/2#comments">看完了？说点什么呢</a></p></div>]]></description><link>https://yzual.com/notes/2</link><guid isPermaLink="true">https://yzual.com/notes/2</guid><dc:creator><![CDATA[Izual]]></dc:creator><pubDate>Tue, 01 Jul 2025 15:38:42 GMT</pubDate></item><item><title><![CDATA[【教程】在同一台电脑上管理多个 GitHub 账号的终极指南]]></title><description><![CDATA[<div><blockquote>该渲染由 Shiro API 生成，可能存在排版问题，最佳体验请前往：<a href="https://yzual.com/posts/tutorial/manage-multiple-github-accounts-ssh">https://yzual.com/posts/tutorial/manage-multiple-github-accounts-ssh</a></blockquote><div><p><em>本文在 gemini-2.5-pro 的辅助下完成</em></p><p>在日常开发中，我们可能需要同时使用公司的 GitHub 账号和自己的个人账号。如果每次切换账号都需要重新配置或输入密码，会非常繁琐。本教程将引导你如何通过配置独立的 SSH 密钥和 Git 用户信息，实现无缝、自动地在多个账号间切换。</p><p><strong>最终目标</strong>：将不同账号的项目存放在不同目录（如 <code>~/projects/work</code> 和 <code>~/projects/personal</code>），Git 将会自动为每个目录下的项目使用正确的 SSH 密钥进行认证，并配置正确的 <code>user.name</code> 和 <code>user.email</code> 进行提交。</p><hr/><h3 id="-ssh-"><strong>第一步：为每个账号生成独立的 SSH 密钥</strong></h3><p>我们需要为每个 GitHub 账号创建一对独一无二的 SSH 密钥（公钥和私钥）。</p><ol start="1"><li><p>打开 <strong>Git Bash</strong>。</p></li><li><p><strong>为第一个账号 (account1) 生成密钥</strong>。 执行以下命令，将 <code>email1@example.com</code> 替换为你的第一个账号的邮箱。</p><pre class=""><code class=""># 推荐使用 ed25519 算法，更现代且安全ssh-keygen -t ed25519 -C &quot;email1@example.com&quot;
# 如果需要兼容旧系统，也可以使用 RSA 4096# ssh-keygen -t rsa -b 4096 -C &quot;email1@example.com&quot;
</code></pre>
</li><li><p>当看到提示 <code>Enter file in which to save the key (...)</code> 时，<strong>不要直接按回车</strong>。为了区分不同账号的密钥，我们需要指定一个新文件名。例如，输入：</p><pre class=""><code class="">/c/Users/YourUserName/.ssh/id_ed25519_account1
</code></pre>
</li></ol><blockquote><p><strong>提示</strong>：你也可以使用 <code>~/.ssh/id_ed25519_account1</code>，<code>~</code> 是用户主目录的简写，更通用。</p></blockquote>
<ol start="4"><li><p>接着会提示你输入密码（passphrase）。可以直接按两次回车设置为空密码，这样 Git 操作时无需再次输入。</p></li><li><p><strong>为第二个账号 (account2) 生成密钥</strong>，重复上述过程，但确保使用<strong>不同的邮箱</strong>和<strong>不同的文件名</strong>。</p></li></ol><pre class=""><code class="">ssh-keygen -t ed25519 -C &quot;email2@example.com&quot;
</code></pre>
<p>在提示保存文件时，输入另一个文件名，例如：</p><pre class=""><code class="">  /c/Users/YourUserName/.ssh/id_ed25519_account2
  </code></pre>
<p>现在，你的 <code>~/.ssh</code> 目录（即 <code>C:\Users\YourUserName.ssh</code>）下应该包含以下文件：</p><ul><li><code>id_ed25519_account1</code> (私钥 - <strong>绝不外泄</strong>)</li><li><code>id_ed25519_account1.pub</code> (公钥 - 用于分享)</li><li><code>id_ed25519_account2</code> (私钥)</li><li><code>id_ed25519_account2.pub</code> (公钥)</li></ul><hr/><h3 id="-github-"><strong>第二步：将公钥添加到对应的 GitHub 账号</strong></h3><p>你需要将每个公钥的内容分别添加到对应的 GitHub 账号中。</p><ol start="1"><li><p>登录你的第一个 GitHub 账号 (<code>account1</code>)。</p></li><li><p>进入 <strong>Settings</strong> -&gt; <strong>SSH and GPG keys</strong>。</p></li><li><p>点击 <strong>New SSH key</strong>。</p></li><li><p><strong>复制公钥内容</strong>。打开 Git Bash，使用以下命令可以方便地将公钥内容复制到剪贴板：</p></li></ol><pre class=""><code class="">cat ~/.ssh/id_ed25519_account1.pub | clip
</code></pre>
<ol start="5"><li><p>将剪贴板中的内容粘贴到 GitHub 页面的 &quot;Key&quot; 文本框中。</p></li><li><p>为这个密钥取一个好记的标题（Title），例如 <code>My-Windows-PC-Account1</code>，以便将来识别。</p></li><li><p><strong>为 <code>account2</code> 重复此过程</strong>，确保复制的是 <code>id_ed25519_account2.pub</code> 的内容，并将其添加到 <code>account2</code> 的 SSH 密钥设置中。</p></li></ol><hr/><h3 id="-ssh-"><strong>第三步：配置 SSH 客户端以自动选择密钥</strong></h3><p>现在，我们需要告诉 SSH 客户端，在连接不同的 &quot;主机&quot; 时使用哪个私钥。这是通过 <code>config</code> 文件实现的。</p><ol start="1"><li><p>在你的 <code>~/.ssh</code> 目录下，创建一个名为 <code>config</code> 的文件（<strong>注意：没有扩展名</strong>）。如果文件已存在，直接编辑即可。</p></li><li><p>用你喜欢的文本编辑器（如 VS Code）打开 <code>config</code> 文件，并添加以下内容：</p></li></ol><pre class=""><code class=""># 第一个账号 (account1) 的配置
Host github.com-account1
HostName github.com
User git
IdentityFile ~/.ssh/id_ed25519_account1
IdentitiesOnly yes

# 第二个账号 (account2) 的配置
Host github.com-account2
HostName github.com
User git
IdentityFile ~/.ssh/id_ed25519_account2
IdentitiesOnly yes
</code></pre>
<p><strong>配置解释</strong>:</p><ul><li><code>Host</code>: 这是我们为真实主机创建的一个<strong>自定义别名</strong>。之后克隆或推送时，我们会用这个别名代替 <code>github.com</code>。</li><li><code>HostName</code>: 真实的主机名，这里就是 <code>github.com</code>。</li><li><code>User</code>: 连接 GitHub 时使用的用户名，固定为 <code>git</code>。</li><li><code>IdentityFile</code>: 指定该别名应使用的<strong>私钥</strong>文件路径。</li><li><code>IdentitiesOnly yes</code>: 推荐添加此项，确保 SSH 只使用 <code>IdentityFile</code> 指定的密钥进行认证，避免尝试其他默认密钥导致认证失败。</li></ul><hr/><h3 id=""><strong>第四步：测试连接</strong></h3><p>在 Git Bash 中，我们可以用 <code>ssh -T</code> 命令分别测试两个别名是否能成功连接到对应的 GitHub 账号。</p><pre class=""><code class=""># 测试 account1
ssh -T git@github.com-account1

# 测试 account2
ssh -T git@github.com-account2
</code></pre>
<ul><li><strong>首次连接</strong>：你可能会看到一条关于主机真实性（fingerprint）的警告，输入 <code>yes</code> 并回车即可。</li><li><strong>成功响应</strong>：如果配置正确，你会看到类似 <code>Hi account1! You&#x27;ve successfully authenticated...</code> 的欢迎信息，证明你的密钥和账号已经成功关联。</li></ul><hr/><h3 id=""><strong>第五步：在项目中使用新配置</strong></h3><p>配置完成后，关键在于如何在 Git 操作中使用我们定义的 <code>Host</code> 别名。</p><h4 id=""><strong>克隆新仓库</strong></h4><p>克隆仓库时，需要手动修改仓库的 SSH URL，将 <code>github.com</code> 替换为我们定义的别名。</p><ul><li><strong>克隆 <code>account1</code> 的仓库</strong>:
<br/><ul><li>原始 URL: <code>git@github.com:account1/some-repo.git</code></li><li><strong>修改后 URL</strong>: <code>git@github.com-account1:account1/some-repo.git</code></li></ul></li><li><strong>克隆 <code>account2</code> 的仓库</strong>:
<br/><ul><li>原始 URL: <code>git@github.com:account2/another-repo.git</code></li><li><strong>修改后 URL</strong>: <code>git@github.com-account2:account2/another-repo.git</code></li></ul></li></ul><h4 id=""><strong>修改已存在的仓库</strong></h4><p>如果你的电脑上已经克隆了项目，只需进入项目目录，修改其远程仓库 <code>origin</code> 的 URL。</p><pre class=""><code class=""># 假设当前仓库属于 account1
# 1. 查看当前远程 URL
git remote -v
# 2. 修改为使用别名的 URL
git remote set-url origin git@github.com-account1:account1/some-repo.git
# 3. 再次查看，确认修改成功git remote -v
</code></pre>
<hr/><h3 id="-git--usernameuseremail"><strong>进阶：自动切换 Git 用户信息 (<code>user.name</code> 和 <code>user.email</code>)</strong></h3><p>到目前为止，我们解决了<strong>认证</strong>问题。但还有一个问题：所有仓库的 Git 提交记录（commit）都会使用全局配置的 <code>user.name</code> 和 <code>user.email</code>。我们需要让 Git 根据项目目录自动切换作者信息。</p><p>这可以通过 Git 的 <code>includeIf</code> 指令完美解决。</p><h4 id=""><strong>思路</strong></h4><p>我们将不同账号的项目分别存放在不同的父目录下，例如：</p><ul><li><code>C:\Users\YourUserName\projects\work` (用于 </code>account1` 的所有项目)</li><li><code>C:\Users\YourUserName\projects\personal` (用于 </code>account2` 的所有项目)</li></ul><h4 id="-1--git-"><strong>步骤 1: 创建独立的 Git 配置文件</strong></h4><ol start="1"><li>在你的用户主目录（例如 <code>~</code> 或 <code>C:\Users\YourUserName</code>）下，创建两个新的 Git 配置文件：
 
<ul><li><code>.gitconfig-work</code></li><li><code>.gitconfig-personal</code></li></ul></li><li>编辑 <code>.gitconfig-work</code>，写入 <code>account1</code> 的用户信息：</li></ol><pre class=""><code class="">[user]
name = Your Name for Account1
email = email1@example.com
</code></pre>
<ol start="3"><li>编辑 <code>.gitconfig-personal</code>，写入 <code>account2</code> 的用户信息：</li></ol><pre class=""><code class="">[user]
name = Your Name for Account2
email = email2@example.com
</code></pre>
<h4 id="-2-gitconfig"><strong>步骤 2: 修改主 <code>.gitconfig</code> 文件</strong></h4><p>打开你主目录下的 <code>.gitconfig</code> 文件（位于 <code>~/.gitconfig</code>），在文件末尾添加以下内容：</p><pre class=""><code class="">[includeIf &quot;gitdir:~/projects/work/&quot;]
path = ~/.gitconfig-work
[includeIf &quot;gitdir:~/projects/personal/&quot;]
path = ~/.gitconfig-personal
</code></pre>
<p><strong>重要提示</strong>:</p><ul><li>路径必须使用正斜杠 <code>/</code>，即使在 Windows 系统中。</li><li>路径末尾必须有斜杠 <code>/</code>，表示该目录及其所有子目录。</li><li><code>~/</code> 是一个简写，代表你的用户主目录，Git 会自动识别它。</li></ul><h4 id=""><strong>工作原理</strong></h4><p>现在，当你：</p><ul><li>在 <code>~/projects/work/</code> 或其任何子目录中执行 <code>git</code> 命令时，Git 会自动加载 <code>.gitconfig-work</code> 的配置，你的提交作者将是 <code>account1</code>。</li><li>在 <code>~/projects/personal/</code> 或其任何子目录中执行 <code>git</code> 命令时，Git 会自动加载 <code>.gitconfig-personal</code> 的配置，你的提交作者将是 <code>account2</code>。</li></ul><hr/><h3 id=""><strong>总结</strong></h3><p>恭喜你！通过以上设置，你已经搭建了一套完全自动化的多账号管理工作流：</p><ol start="1"><li><strong>克隆仓库时</strong>：根据账号选择正确的 <code>Host</code> 别名（如 <code>git@github.com-account1:...</code>）。</li><li><strong>存放项目时</strong>：将项目克隆到为其规划好的父目录（如 <code>~/projects/work</code>）。</li></ol><p>之后，无论是 <code>git push/pull</code> 进行认证，还是 <code>git commit</code> 记录作者信息，一切都会被自动、正确地处理。</p></div><p style="text-align:right"><a href="https://yzual.com/posts/tutorial/manage-multiple-github-accounts-ssh#comments">看完了？说点什么呢</a></p></div>]]></description><link>https://yzual.com/posts/tutorial/manage-multiple-github-accounts-ssh</link><guid isPermaLink="true">https://yzual.com/posts/tutorial/manage-multiple-github-accounts-ssh</guid><dc:creator><![CDATA[Izual]]></dc:creator><pubDate>Mon, 30 Jun 2025 15:20:27 GMT</pubDate></item><item><title><![CDATA[解决chrome提示“由贵单位管理”]]></title><description><![CDATA[<div><blockquote>该渲染由 Shiro API 生成，可能存在排版问题，最佳体验请前往：<a href="https://yzual.com/posts/tutorial/chrome-managed-by-your-organization">https://yzual.com/posts/tutorial/chrome-managed-by-your-organization</a></blockquote><div><p><a href="https://support.google.com/chrome/thread/110236196/how-do-you-remove-managed-by-your-organization-i-ve-tried-everything">原问题链接</a></p><p><a href="https://drive.google.com/uc?export=download&amp;id=0B5uG-tHNHBj5XzNJbzlsd0NONnc">bat脚本下载链接</a></p><p>google搜索关键词：delete<em>chrome</em>policies</p><p>bat脚本内容如下：</p><pre class=""><code class="">:: Chrome Policy Remover for Windows
:: version 1.0 - 21 May 2022
:: Created by Stefan vd
:: Chrome Product Expert
:: https://productexperts.withgoogle.com

@echo off

echo Closing Google Chrome...
taskkill /F /IM chrome.exe /T &gt; nul
echo.

IF NOT EXIST &quot;%WINDIR%\System32\GroupPolicy&quot; goto next

echo Deleting GroupPolicy folder...
RD /S /Q &quot;%WINDIR%\System32\GroupPolicy&quot; || goto error
echo.

:next
IF NOT EXIST &quot;%WINDIR%\System32\GroupPolicyUsers&quot; goto next2

echo Deleting GroupPolicyUsers folder...
RD /S /Q &quot;%WINDIR%\System32\GroupPolicyUsers&quot; || goto error
echo.

:next2
IF NOT EXIST &quot;%ProgramFiles(x86)%\Google\Policies&quot; goto next3

echo Deleting GroupPolicyUsers folder...
RD /S /Q &quot;%ProgramFiles(x86)%\Google\Policies&quot; || goto error

:next3
IF NOT EXIST &quot;%ProgramFiles%\Google\Policies&quot; goto next4

echo Deleting GroupPolicyUsers folder...
RD /S /Q &quot;%ProgramFiles%\Google\Policies&quot; || goto error

:next4
gpupdate /force

echo Deleting policies from Windows registries...
reg delete HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome /f
reg delete HKEY_LOCAL_MACHINE\Software\Policies\Google\Update /f
reg delete HKEY_LOCAL_MACHINE\Software\Policies\Chromium /f
reg delete HKEY_LOCAL_MACHINE\Software\Google\Chrome /f
reg delete HKEY_LOCAL_MACHINE\Software\WOW6432Node\Google\Enrollment /f
reg delete HKEY_CURRENT_USER\Software\Policies\Google\Chrome /f
reg delete HKEY_CURRENT_USER\Software\Policies\Chromium /f
reg delete HKEY_CURRENT_USER\Software\Google\Chrome /f
reg delete &quot;HKEY_LOCAL_MACHINE\Software\WOW6432Node\Google\Update\ClientState\{430FD4D0-B729-4F61-AA34-91526481799D}&quot; /v &quot;CloudManagementEnrollmentToken&quot; /f

pause
exit

:error
echo.
echo An unexpected error has occurred. �Have opened the program as an administrator (right click, run as administrator)?
echo.
pause
exit
</code></pre>
<p>运行即可</p></div><p style="text-align:right"><a href="https://yzual.com/posts/tutorial/chrome-managed-by-your-organization#comments">看完了？说点什么呢</a></p></div>]]></description><link>https://yzual.com/posts/tutorial/chrome-managed-by-your-organization</link><guid isPermaLink="true">https://yzual.com/posts/tutorial/chrome-managed-by-your-organization</guid><dc:creator><![CDATA[Izual]]></dc:creator><pubDate>Mon, 30 Jun 2025 10:07:47 GMT</pubDate></item><item><title><![CDATA[【测试】RackNerd Labor Day Promo]]></title><description><![CDATA[<link rel="preload" as="image" href="https://images.pxgo.de/1750847577087.webp"/><link rel="preload" as="image" href="https://images.pxgo.de/1750847588287.webp"/><link rel="preload" as="image" href="https://images.pxgo.de/1750847584635.webp"/><div><blockquote>该渲染由 Shiro API 生成，可能存在排版问题，最佳体验请前往：<a href="https://yzual.com/posts/VPS/racknerd-kvm-labor-day">https://yzual.com/posts/VPS/racknerd-kvm-labor-day</a></blockquote><div><h1 id="">💻基本信息</h1><pre class=""><code class="">Basic System Information:
---------------------------------
Uptime     : 46 days, 15 hours, 48 minutes
Processor  : Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz
CPU cores  : 3 @ 2899.998 MHz
AES-NI     : ✔ Enabled
VM-x/AMD-V : ❌ Disabled
RAM        : 2.7 GiB
Swap       : 3.0 GiB
Disk       : 46.0 GiB
Distro     : Debian GNU/Linux 12 (bookworm)
Kernel     : 4.18.0-553.50.1.el8_10.x86_64
VM Type    : KVM
IPv4/IPv6  : ✔ Online / ✔ Online

IPv4 Network Information:
---------------------------------
ISP        : Multacom Corporation
ASN        : AS35916 MULTACOM CORPORATION
Host       : TELUS Communications Inc
Location   : Los Angeles, California (CA)
Country    : United States

fio Disk Speed Tests (Mixed R/W 50/50) (Partition -):
---------------------------------
Block Size | 4k            (IOPS) | 64k           (IOPS)
  ------   | ---            ----  | ----           ---- 
Read       | 82.20 MB/s   (20.5k) | 926.32 MB/s  (14.4k)
Write      | 82.42 MB/s   (20.6k) | 931.20 MB/s  (14.5k)
Total      | 164.63 MB/s  (41.1k) | 1.85 GB/s    (29.0k)
           |                      |                     
Block Size | 512k          (IOPS) | 1m            (IOPS)
  ------   | ---            ----  | ----           ---- 
Read       | 1.32 GB/s     (2.5k) | 1.44 GB/s     (1.4k)
Write      | 1.39 GB/s     (2.7k) | 1.53 GB/s     (1.5k)
Total      | 2.72 GB/s     (5.3k) | 2.97 GB/s     (2.9k)

Geekbench 5 Benchmark Test:
---------------------------------
Test            | Value                         
                |                               
Single Core     | 510                           
Multi Core      | 1263                          
Full Test       | https://browser.geekbench.com/v5/cpu/23632995

 SysBench CPU 测试 (Fast Mode, 1-Pass @ 5sec)
---------------------------------
 1 线程测试(单核)得分:          784 Scores
 3 线程测试(多核)得分:          2465 Scores
 SysBench 内存测试 (Fast Mode, 1-Pass @ 5sec)
---------------------------------
 单线程读测试:          15254.69 MB/s
 单线程写测试:          13901.66 MB/s
</code></pre>
<h1 id="ip">🎬IP质量</h1><p> <img src="https://images.pxgo.de/1750847577087.webp" alt="image" height="3280" width="1476"/></p><h1 id="">🌐网络质量</h1><p> <img src="https://images.pxgo.de/1750847588287.webp" alt="image"/></p><h1 id="">📍回程路由</h1><p> <img src="https://images.pxgo.de/1750847584635.webp" alt="image"/></p>
<p><a href="https://nodequality.com/r/NUTBSahw0Klb9GFZVbDyrSgaBPpF9ibq">NodeQuality链接</a></p></div><p style="text-align:right"><a href="https://yzual.com/posts/VPS/racknerd-kvm-labor-day#comments">看完了？说点什么呢</a></p></div>]]></description><link>https://yzual.com/posts/VPS/racknerd-kvm-labor-day</link><guid isPermaLink="true">https://yzual.com/posts/VPS/racknerd-kvm-labor-day</guid><dc:creator><![CDATA[Izual]]></dc:creator><pubDate>Wed, 25 Jun 2025 10:40:22 GMT</pubDate></item><item><title><![CDATA[【测试】FameSystems AMD EPYC™ 9654 Rootserver (Easter) 2C4G 120G]]></title><description><![CDATA[<link rel="preload" as="image" href="https://yzual.com/api/v2/objects/file/rkek9j40v6kuoz1142.webp"/><link rel="preload" as="image" href="https://yzual.com/api/v2/objects/file/hqedztjffrnxmbsdg0.webp"/><link rel="preload" as="image" href="https://yzual.com/api/v2/objects/file/fcf17035do8ge8ym8n.webp"/><div><blockquote>该渲染由 Shiro API 生成，可能存在排版问题，最佳体验请前往：<a href="https://yzual.com/posts/VPS/famesystems-2c4g">https://yzual.com/posts/VPS/famesystems-2c4g</a></blockquote><div><h1 id="">💻基本信息</h1><pre class=""><code class="">Basic System Information:
---------------------------------
Uptime     : 58 days, 14 hours, 0 minutes
Processor  : AMD EPYC 9654 96-Core Processor
CPU cores  : 2 @ 2400.000 MHz
AES-NI     : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
RAM        : 3.8 GiB
Swap       : 1024.0 MiB
Disk       : 120.0 GiB
Distro     : Debian GNU/Linux 12 (bookworm)
Kernel     : 6.8.0-58-generic
VM Type    : STANDARD PC (I440FX + PIIX, 1996)
IPv4/IPv6  : ✔ Online / ✔ Online

IPv6 Network Information:
---------------------------------
ISP        : Oliver Horscht is trading as \&quot;SYNLINQ\&quot;
ASN        : AS44486 Oliver Horscht is trading as \&quot;SYNLINQ\&quot;
Host       : FameSystems GmbH \u0026 Co. KG
Location   : Frankfurt am Main, Hesse (HE)
Country    : Germany

fio Disk Speed Tests (Mixed R/W 50/50) (Partition -):
---------------------------------
Block Size | 4k            (IOPS) | 64k           (IOPS)
  ------   | ---            ----  | ----           ---- 
Read       | 387.34 MB/s  (96.8k) | 3.64 GB/s    (56.9k)
Write      | 388.36 MB/s  (97.0k) | 3.66 GB/s    (57.2k)
Total      | 775.71 MB/s (193.9k) | 7.30 GB/s   (114.1k)
           |                      |                     
Block Size | 512k          (IOPS) | 1m            (IOPS)
  ------   | ---            ----  | ----           ---- 
Read       | 4.79 GB/s     (9.3k) | 7.95 GB/s     (7.7k)
Write      | 5.05 GB/s     (9.8k) | 8.48 GB/s     (8.2k)
Total      | 9.84 GB/s    (19.2k) | 16.44 GB/s   (16.0k)

Geekbench 5 Benchmark Test:
---------------------------------
Test            | Value                         
                |                               
Single Core     | 1314                          
Multi Core      | 2484                          
Full Test       | https://browser.geekbench.com/v5/cpu/23629381

 SysBench CPU 测试 (Fast Mode, 1-Pass @ 5sec)
---------------------------------
 1 线程测试(单核)得分:          4396 Scores
 2 线程测试(多核)得分:          8580 Scores
 SysBench 内存测试 (Fast Mode, 1-Pass @ 5sec)
---------------------------------
 单线程读测试:          47006.62 MB/s
 单线程写测试:          29601.88 MB/s
</code></pre>
<h1 id="ip">🎬IP质量</h1><p> <img src="https://yzual.com/api/v2/objects/file/rkek9j40v6kuoz1142.webp" alt="IP质量" height="3280" width="1476"/></p><h1 id="">🌐网络质量</h1><p> <img src="https://yzual.com/api/v2/objects/file/hqedztjffrnxmbsdg0.webp" alt="网络质量"/></p><h1 id="">📍回程路由</h1><p> <img src="https://yzual.com/api/v2/objects/file/fcf17035do8ge8ym8n.webp" alt="回程路由"/></p>
<p><a href="https://nodequality.com/r/a6A7hchwmdu9JQ8BkXYg1sN3Fb2LHKGd">NodeQuality链接</a></p></div><p style="text-align:right"><a href="https://yzual.com/posts/VPS/famesystems-2c4g#comments">看完了？说点什么呢</a></p></div>]]></description><link>https://yzual.com/posts/VPS/famesystems-2c4g</link><guid isPermaLink="true">https://yzual.com/posts/VPS/famesystems-2c4g</guid><dc:creator><![CDATA[Izual]]></dc:creator><pubDate>Mon, 23 Jun 2025 21:02:59 GMT</pubDate></item><item><title><![CDATA[OpenAI 反向代理API接口 Nginx配置]]></title><description><![CDATA[<div><blockquote>该渲染由 Shiro API 生成，可能存在排版问题，最佳体验请前往：<a href="https://yzual.com/posts/tutorial/openai-reverse-proxy">https://yzual.com/posts/tutorial/openai-reverse-proxy</a></blockquote><div><p>话不多说，直接上nginx配置：</p><pre class=""><code class="">server {
    listen 80;
    server_name openai.xxx.com;

    # 自动重定向到 HTTPS
    return 301 https://$host$request_uri;
}

server {
    listen 443 ssl http2;
    server_name openai.xxx.com;

    # SSL 证书配置
    ssl_certificate     /root/cert/openai.xxx.com.pem;
    ssl_certificate_key /root/cert/openai.xxx.com.key;

    # 推荐的安全配置
    ssl_protocols       TLSv1.2 TLSv1.3;
    ssl_ciphers         HIGH:!aNULL:!MD5;

    # 反向代理设置
    location / {
        proxy_pass https://api.openai.com/;
        proxy_http_version 1.1;
        proxy_set_header Host api.openai.com;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;

    proxy_ssl_server_name on;
    proxy_ssl_name api.openai.com;

        # 防止 WebSocket 断连（如有需要）
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection &quot;upgrade&quot;;
    }

    # 可选：限制上传大小
    client_max_body_size 20M;

    # 可选：开启压缩
    gzip on;
    gzip_types application/json text/plain text/css application/javascript;
    gzip_min_length 1000;

    # 可选：访问日志
    access_log /var/log/nginx/api.access.log;
    error_log  /var/log/nginx/api.error.log;
}
</code></pre></div><p style="text-align:right"><a href="https://yzual.com/posts/tutorial/openai-reverse-proxy#comments">看完了？说点什么呢</a></p></div>]]></description><link>https://yzual.com/posts/tutorial/openai-reverse-proxy</link><guid isPermaLink="true">https://yzual.com/posts/tutorial/openai-reverse-proxy</guid><dc:creator><![CDATA[Izual]]></dc:creator><pubDate>Mon, 23 Jun 2025 16:43:36 GMT</pubDate></item><item><title><![CDATA[Windows删除无效打开方式]]></title><description><![CDATA[<div><blockquote>该渲染由 Shiro API 生成，可能存在排版问题，最佳体验请前往：<a href="https://yzual.com/posts/tutorial/windows-delete-invalid-opening-methods">https://yzual.com/posts/tutorial/windows-delete-invalid-opening-methods</a></blockquote><div><p>win+r打开注册表，输入 regedit，回车；</p><p>定位到 <code>计算机\HKEY_CLASSES_ROOT\Applications\</code>，找到已经删除了的应用程序文件夹，删除即可。</p></div><p style="text-align:right"><a href="https://yzual.com/posts/tutorial/windows-delete-invalid-opening-methods#comments">看完了？说点什么呢</a></p></div>]]></description><link>https://yzual.com/posts/tutorial/windows-delete-invalid-opening-methods</link><guid isPermaLink="true">https://yzual.com/posts/tutorial/windows-delete-invalid-opening-methods</guid><dc:creator><![CDATA[Izual]]></dc:creator><pubDate>Sat, 21 Jun 2025 13:49:17 GMT</pubDate></item><item><title><![CDATA[20250620]]></title><description><![CDATA[<div><blockquote>该渲染由 Shiro API 生成，可能存在排版问题，最佳体验请前往：<a href="https://yzual.com/notes/1">https://yzual.com/notes/1</a></blockquote><span>18号，考完了一门，有可能是大学期间的最后一门。也许不是这辈子的最后一门课，但是还是值得庆贺的事情。</span><p style="text-align:right"><a href="https://yzual.com/notes/1#comments">看完了？说点什么呢</a></p></div>]]></description><link>https://yzual.com/notes/1</link><guid isPermaLink="true">https://yzual.com/notes/1</guid><dc:creator><![CDATA[Izual]]></dc:creator><pubDate>Thu, 19 Jun 2025 21:05:05 GMT</pubDate></item><item><title><![CDATA[SG | Tier 1 International Optimization Network - SG-T1]]></title><description><![CDATA[<link rel="preload" as="image" href="https://yzual.com/api/v2/objects/file/4nxjdble6emur335h4.webp"/><link rel="preload" as="image" href="https://yzual.com/api/v2/objects/file/tjbfztl8mwpgs4unkw.webp"/><link rel="preload" as="image" href="https://yzual.com/api/v2/objects/file/pye3res18uebsoefjo.webp"/><div><blockquote>该渲染由 Shiro API 生成，可能存在排版问题，最佳体验请前往：<a href="https://yzual.com/posts/VPS/RFCHOST-SG-Tier1">https://yzual.com/posts/VPS/RFCHOST-SG-Tier1</a></blockquote><div><h1 id="">💻基本信息</h1><pre class=""><code class="">Basic System Information:
---------------------------------
Uptime     : 0 days, 8 hours, 0 minutes
Processor  : AMD EPYC-Rome Processor
CPU cores  : 1 @ 2595.124 MHz
AES-NI     : ✔ Enabled
VM-x/AMD-V : ❌ Disabled
RAM        : 957.4 MiB
Swap       : 543.0 MiB
Disk       : 16.3 GiB
Distro     : Debian GNU/Linux 12 (bookworm)
Kernel     : 5.15.0-141-generic
VM Type    : KVM
IPv4/IPv6  : ✔ Online / ❌ Offline

IPv4 Network Information:
---------------------------------
ISP        : Prime Security Corp.
ASN        : AS400618 Prime Security Corp.
Host       : Prime Security Corp
Location   : Singapore, North West (03)
Country    : Singapore

fio Disk Speed Tests (Mixed R/W 50/50) (Partition -):
---------------------------------
Block Size | 4k            (IOPS) | 64k           (IOPS)
  ------   | ---            ----  | ----           ---- 
Read       | 80.10 MB/s   (20.0k) | 1.07 GB/s    (16.7k)
Write      | 80.31 MB/s   (20.0k) | 1.07 GB/s    (16.8k)
Total      | 160.41 MB/s  (40.1k) | 2.15 GB/s    (33.6k)
           |                      |                     
Block Size | 512k          (IOPS) | 1m            (IOPS)
  ------   | ---            ----  | ----           ---- 
Read       | 1.02 GB/s     (1.9k) | 1.00 GB/s      (983)
Write      | 1.07 GB/s     (2.1k) | 1.07 GB/s     (1.0k)
Total      | 2.10 GB/s     (4.1k) | 2.08 GB/s     (2.0k)

Geekbench 5 Benchmark Test:
---------------------------------
Test            | Value                         
                |                               
Single Core     | 1012                          
Multi Core      | 1017                          
Full Test       | https://browser.geekbench.com/v5/cpu/23618038

 SysBench CPU 测试 (Fast Mode, 1-Pass @ 5sec)
---------------------------------
 1 线程测试(单核)得分:          1624 Scores
 SysBench 内存测试 (Fast Mode, 1-Pass @ 5sec)
---------------------------------
 单线程读测试:          43483.68 MB/s
 单线程写测试:          19710.24 MB/s
</code></pre>
<h1 id="ip">🎬IP质量</h1><p><img src="https://yzual.com/api/v2/objects/file/4nxjdble6emur335h4.webp" alt="IP质量" height="1712" width="1476"/></p><h1 id="">🌐网络质量</h1><p><img src="https://yzual.com/api/v2/objects/file/tjbfztl8mwpgs4unkw.webp" alt="网络质量"/></p><h1 id="">📍回程路由</h1><p><img src="https://yzual.com/api/v2/objects/file/pye3res18uebsoefjo.webp" alt="回程路由"/></p><p><a href="https://nodequality.com/r/0wZ6nnHML0oLRv9GI2wtxh7VOkb5gz0B">NodeQuality链接</a></p></div><p style="text-align:right"><a href="https://yzual.com/posts/VPS/RFCHOST-SG-Tier1#comments">看完了？说点什么呢</a></p></div>]]></description><link>https://yzual.com/posts/VPS/RFCHOST-SG-Tier1</link><guid isPermaLink="true">https://yzual.com/posts/VPS/RFCHOST-SG-Tier1</guid><dc:creator><![CDATA[Izual]]></dc:creator><pubDate>Wed, 18 Jun 2025 23:46:51 GMT</pubDate></item></channel></rss>