<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>墨羽的日常</title>
        <link>https://blog.pigcyan.com/</link>
        <description>Welcome to MoYu’s blog!</description>
        <lastBuildDate>Sun, 24 May 2026 03:29:46 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>zh-CN</language>
        <copyright>All rights reserved 2026, 墨羽</copyright>
        <item>
            <title><![CDATA[WSL中Ubuntu-20.04系统安装ROS-Noetic]]></title>
            <link>https://blog.pigcyan.com/article/ros-noetic</link>
            <guid>https://blog.pigcyan.com/article/ros-noetic</guid>
            <pubDate>Tue, 25 Nov 2025 00:00:00 GMT</pubDate>
            <description><![CDATA[WSL中Ubuntu-20.04系统安装ROS-Noetic]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-37265ab9b230495b98de20de8e925078"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-2b66de47affc804a9b5dcba5798886c7" data-id="2b66de47affc804a9b5dcba5798886c7"><span><div id="2b66de47affc804a9b5dcba5798886c7" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2b66de47affc804a9b5dcba5798886c7" title="1. 配置Ubuntu存储库"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">1. 配置Ubuntu存储库</span></span></h3><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-2b66de47affc808e8718ff9834a815fa" data-id="2b66de47affc808e8718ff9834a815fa"><span><div id="2b66de47affc808e8718ff9834a815fa" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2b66de47affc808e8718ff9834a815fa" title="1.1 配置并启用 restricted、universe 和 multiverse 软件仓库"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">1.1 配置并启用 <b>restricted</b>、<b>universe</b> 和 <b>multiverse</b> 软件仓库</span></span></h4><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-2b66de47affc802ab88ac26913044fa6" data-id="2b66de47affc802ab88ac26913044fa6"><span><div id="2b66de47affc802ab88ac26913044fa6" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2b66de47affc802ab88ac26913044fa6" title="1.2 更新软件包索引"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">1.2 更新软件包索引</span></span></h4><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-2b66de47affc800f9fdcd1cbcec5b46d" data-id="2b66de47affc800f9fdcd1cbcec5b46d"><span><div id="2b66de47affc800f9fdcd1cbcec5b46d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2b66de47affc800f9fdcd1cbcec5b46d" title="2 设置 sources.list"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">2 设置 sources.list</span></span></h3><div class="notion-text notion-block-2b66de47affc802f84c7db5fc9e66c0f">设置计算机接受来自packages.ros.org的软件。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-2b66de47affc808d8b14c99247178def" data-id="2b66de47affc808d8b14c99247178def"><span><div id="2b66de47affc808d8b14c99247178def" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2b66de47affc808d8b14c99247178def" title="3 设置你的密钥"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">3 设置你的密钥</span></span></h3><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-2b66de47affc80b6b454de230e11e026" data-id="2b66de47affc80b6b454de230e11e026"><span><div id="2b66de47affc80b6b454de230e11e026" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2b66de47affc80b6b454de230e11e026" title="4 安装"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">4 安装</span></span></h3><div class="notion-text notion-block-2b66de47affc800092b6f5ac0b07ad30">首先，确保系统包索引是最新的</div><div class="notion-text notion-block-2b66de47affc802d9fa9ed738f66ea2c">现在选择您想要安装ROS的内容</div><div class="notion-text notion-block-2b66de47affc80a28547f4fafeb5a031">ROS中甚至有更多可用的包。您总是可以直接安装特定的包</div><div class="notion-text notion-block-2b66de47affc80b7a9e3f5a36a2cca6e">e.g.</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-2b66de47affc803bab1ce522124e2f35" data-id="2b66de47affc803bab1ce522124e2f35"><span><div id="2b66de47affc803bab1ce522124e2f35" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2b66de47affc803bab1ce522124e2f35" title="5 环境设置"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">5 环境设置</span></span></h3><div class="notion-text notion-block-2b66de47affc80d38812d21676771790">您必须在使用ROS的每个bash终端中提供该脚本</div><div class="notion-text notion-block-2b66de47affc802cb209f05cd909d82b">在每次启动一个新shell时，自动地获取这个脚本是很方便的。这些命令将为您完成这些工作</div><div class="notion-text notion-block-2b66de47affc8065b802ecaa1baec1cb"><b>bash</b></div><ul class="notion-list notion-list-disc notion-block-2b66de47affc805ebf01dea1b490f52c"><li><code class="notion-inline-code">If you have more than one ROS distribution installed, ~/.bashrc must only source the setup.bash for the version you are currently using.</code></li></ul><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-2b66de47affc8022ab2dd7eaeecd5be0" data-id="2b66de47affc8022ab2dd7eaeecd5be0"><span><div id="2b66de47affc8022ab2dd7eaeecd5be0" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2b66de47affc8022ab2dd7eaeecd5be0" title="6 构建包的依赖关系"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">6 构建包的依赖关系</span></span></h3><div class="notion-text notion-block-2b76de47affc80d68867e0ce260d599a">到目前为止，您已经安装了运行核心ROS包所需的组件。要创建和管理您自己的ROS工作区，需要分别分发各种工具和需求。例如，rosinstall是一个常用的命令行工具，它使您能够使用一个命令轻松地下载ROS包的许多源树。</div><div class="notion-text notion-block-2b76de47affc80af9342df447383621e">需注意无论哪种安装方式，其中一定包含构建包的依赖，也就是下面这个安装命令，否则后面安装PX4环境会出现问题</div><div class="notion-text notion-block-2b76de47affc8050a927c5d61ed110b0">要安装此工具和其他用于构建ROS包的依赖项，请运行：</div><ul class="notion-list notion-list-disc notion-block-2b76de47affc80f2b37fc3c691a2d874"><li>在使用许多ROS工具之前，需要初始化rosdep。rosdep使您能够轻松地为要编译的源代码安装系统依赖项，并且需要在ROS中运行一些核心组件。如果您尚未安装rosdep，请按以下步骤安装。</li></ul><ul class="notion-list notion-list-disc notion-block-2b76de47affc80baa2f8e8ab82c3c7f6"><li>通过以下条件，你可以初始化rosdep
</li></ul><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-2b66de47affc8038a8a3eabf35d056e1" data-id="2b66de47affc8038a8a3eabf35d056e1"><span><div id="2b66de47affc8038a8a3eabf35d056e1" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2b66de47affc8038a8a3eabf35d056e1" title="7 检查是否安装好"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">7 检查是否安装好</span></span></h3><div class="notion-text notion-block-2b66de47affc802490a2dd5fb78f7069">ROS是否安装好可以通过终端依次输入下面指令，运行小乌龟程序来检验，如果可以正常键盘的<code class="notion-inline-code">↑↓←→</code>键控制小乌龟代表正常ROS安装成功</div><ul class="notion-list notion-list-disc notion-block-2b66de47affc8095baf7fc8dd05e5fb8"><li>开一个终端输入</li></ul><ul class="notion-list notion-list-disc notion-block-2b66de47affc80b3a610f3418213275d"><li>再开一个终端输入</li></ul><ul class="notion-list notion-list-disc notion-block-2b66de47affc80aa9b59e8003c2c60cc"><li>再开一个终端输入</li></ul><div class="notion-text notion-block-2b66de47affc8010a446e0eb1317c6cf">并保持该终端选中</div><div class="notion-blank notion-block-2b76de47affc807297e0efda48e5ae50"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-2b76de47affc80febf63c2f8f962da6c" data-id="2b76de47affc80febf63c2f8f962da6c"><span><div id="2b76de47affc80febf63c2f8f962da6c" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2b76de47affc80febf63c2f8f962da6c" title="Ref."><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">Ref.</span></span></h2><div class="notion-text notion-block-2b76de47affc80f99afaf9e17c54a850">[1]<a class="notion-link" href="https://wiki.ros.org/noetic/Installation/Ubuntu" target="_blank" rel="noopener noreferrer">noetic/Installation/Ubuntu - ROS Wiki</a></div><div class="notion-blank notion-block-2b76de47affc80eaa7a6c720ceae8eb6"> </div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[抗生素药物相关]]></title>
            <link>https://blog.pigcyan.com/article/medicine-antibiotic</link>
            <guid>https://blog.pigcyan.com/article/medicine-antibiotic</guid>
            <pubDate>Mon, 26 Feb 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[常见抗生素药物的适应症及不良反应]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-04ef54af8e68449c84bf6888b47630e6"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-1a333740094946c6bee994ab23497025" data-id="1a333740094946c6bee994ab23497025"><span><div id="1a333740094946c6bee994ab23497025" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1a333740094946c6bee994ab23497025" title="1.大环内酯类"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">1.大环内酯类</span></span></h2><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-7113e8f1c1a048c0ba4827c10bae2810" data-id="7113e8f1c1a048c0ba4827c10bae2810"><span><div id="7113e8f1c1a048c0ba4827c10bae2810" class="notion-header-anchor"></div><a class="notion-hash-link" href="#7113e8f1c1a048c0ba4827c10bae2810" title="1.1罗红霉素"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">1.1罗红霉素</span></span></h3><div class="notion-text notion-block-0b5f1b9652ce4c6782993410141b7884">罗红霉素，Roxithromycin，西医药物，是新一代大环内酯类抗生素。</div><div class="notion-text notion-block-c13c87e3ea1e4174affd82a0e54264be">作用于<span class="notion-inline-underscore">革兰氏阳性菌</span>、<span class="notion-inline-underscore">厌氧菌</span>、<span class="notion-inline-underscore">衣原体</span>、<span class="notion-inline-underscore">支原体</span>等。</div><div class="notion-text notion-block-fb01f841601e4317b4cd937334ddc4d9">其体外抗菌作用与红霉素相类似，体内抗菌作用比<b>红霉素</b>强1~4倍。</div><div class="notion-text notion-block-a52f3a1c48c541c887ed7a50b3f32c11"><b>适应症</b></div><div class="notion-text notion-block-3534062817884c109c116595d5d3c0f0">1.适用于治疗<span class="notion-inline-underscore">化脓性链球菌</span>引起的咽炎及<b>扁桃体炎</b>。</div><div class="notion-text notion-block-20f2122258fa4f1c98e255edfa9ed99c">2.适用于治疗<span class="notion-inline-underscore">敏感菌</span>所致的<b>鼻窦炎</b>、<b>中耳炎</b>、<b>急性支气管炎</b>、<b>慢性支气管炎</b>急性发作。</div><div class="notion-text notion-block-167b64518072459fb6e059f9cb6e8072">3.适用于治疗<span class="notion-inline-underscore">肺炎支原体</span>或<span class="notion-inline-underscore">肺炎衣原体</span>所致的肺炎；<span class="notion-inline-underscore">沙眼衣原衣原体</span>引起的<b>尿道炎</b>和<b>非特异性尿道炎（宫颈炎）</b>。</div><div class="notion-text notion-block-ab0976d2e494488d9647eb85c2d78027">4.适用于治疗<span class="notion-inline-underscore">敏感细菌</span>引起的<b>皮肤软组织感染</b>。<b>泌尿生殖系统感染</b>。</div><div class="notion-text notion-block-88d13dea73af40cb85703a3ea2f8ca56"><b>不良反应</b></div><div class="notion-text notion-block-adabc527f6c64c4ba00eb4d73af3bf88">罗红霉素的不良反应轻微，且发生率较低（总发生率约为4%）。</div><div class="notion-text notion-block-fdfacda4806449a18fab7cdcb70e1f7d">1.较为多见腹痛、腹泻、恶心、呕吐等胃肠道症状，但发生率明显低于红霉素。</div><div class="notion-text notion-block-13b2c35cfd724fa99260a59373f93dc5">2.偶见轻微的皮疹、荨麻疹、瘙痒、药物热等过敏反应。</div><div class="notion-text notion-block-8516eadb365744f6932b13dc4fea9564">3.少数患者用药后偶可出现肝功能异常。</div><div class="notion-text notion-block-5568c4ed292c450582ca6b0886479923">4.少数患者用药后偶有头痛、头晕等症状。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-d7405c845faf4f09b4fe238baa2c1c5d" data-id="d7405c845faf4f09b4fe238baa2c1c5d"><span><div id="d7405c845faf4f09b4fe238baa2c1c5d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#d7405c845faf4f09b4fe238baa2c1c5d" title="1.2阿奇霉素"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">1.2阿奇霉素</span></span></h3><div class="notion-text notion-block-44cab678ffc34622b6faba70d2ca51ce">爱奇美阿奇霉素（阿奇霉素干混悬剂、阿奇霉素片）大环内酯类抗生素阿奇霉素。主要用于治疗呼吸道及生殖道感染。可治疗多种病原体引起的儿童及成人的呼吸道感染，生殖道沙眼衣原体感染等，是国内外医学指南推荐的一线治疗药物。</div><div class="notion-text notion-block-9246f0cc7c8743fdbfc9496ef47eedfe"><b>适应症</b></div><div class="notion-text notion-block-7ee514dcc92c4c22a886d4ba9768761a">1.<span class="notion-inline-underscore">化脓性链球菌</span>引起的<b>急性咽炎</b>、<b>急性扁桃体炎</b>。</div><div class="notion-text notion-block-eda65cce7ec3473f8a54e84b7a9f3116">2.<span class="notion-inline-underscore">敏感细菌</span>引起的<b>鼻窦炎</b>、<b>急性中耳炎</b>、<b>急性支气管炎</b>、<b>慢性支气管炎急性发作</b>。</div><div class="notion-text notion-block-2f403ac1f3d94a1681b8e58734e13426">3.<span class="notion-inline-underscore">肺炎链球菌</span>、<span class="notion-inline-underscore">流感嗜血杆菌</span>以及<span class="notion-inline-underscore">肺炎支原体</span>所致的<b>肺炎</b>。</div><div class="notion-text notion-block-0867cab069624bedb0337bb1162c2069">4.<span class="notion-inline-underscore">沙眼衣原体</span>及非多种耐药<span class="notion-inline-underscore">淋病奈瑟菌</span>所致的<b>尿道炎</b>和<b>宫颈炎</b>。</div><div class="notion-text notion-block-ffa38bda7fba4e43993bcce45eae396b">5.<span class="notion-inline-underscore">敏感细菌</span>引起的<b>皮肤软组织感染</b>。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-f0116f9d979e4cf7bd93653ef73f4c42" data-id="f0116f9d979e4cf7bd93653ef73f4c42"><span><div id="f0116f9d979e4cf7bd93653ef73f4c42" class="notion-header-anchor"></div><a class="notion-hash-link" href="#f0116f9d979e4cf7bd93653ef73f4c42" title="1.3克拉霉素"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">1.3克拉霉素</span></span></h3><div class="notion-text notion-block-3824c8c0107b42cf95c26e5b1c4bf946">克拉霉素，是一种大环内酯类抗生素，属红霉素的衍生物。（校医院开的）</div><div class="notion-text notion-block-bfad2d5f17dd4487825d76e590d0b7ac"><b>适应症</b></div><div class="notion-text notion-block-20ddb8b282c94776807b1144eb8c6c40">主要用于<span class="notion-inline-underscore">敏感细菌</span>所致的上、下呼吸道，包括扁桃体炎、咽喉炎、鼻窦炎、支气管炎、肺炎等、皮肤、软组织感染、脓疖、丹毒、毛囊炎、伤口感染等，疗效与其他大环内酯类相仿。该品也可用于<span class="notion-inline-underscore">沙眼衣原体</span>或<span class="notion-inline-underscore">溶脲脲原体</span>所致<b>生殖泌尿系感染</b>、<b>艾滋病患者的非典型分支杆菌感染</b>等。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-3c75b3eb29a2435090d0b61489aa71fe" data-id="3c75b3eb29a2435090d0b61489aa71fe"><span><div id="3c75b3eb29a2435090d0b61489aa71fe" class="notion-header-anchor"></div><a class="notion-hash-link" href="#3c75b3eb29a2435090d0b61489aa71fe" title="2.青霉素类"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">2.青霉素类</span></span></h3><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-c814c1cb303d48afae6d8b2aac850f6b" data-id="c814c1cb303d48afae6d8b2aac850f6b"><span><div id="c814c1cb303d48afae6d8b2aac850f6b" class="notion-header-anchor"></div><a class="notion-hash-link" href="#c814c1cb303d48afae6d8b2aac850f6b" title="2.1阿莫西林"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">2.1阿莫西林</span></span></h4><div class="notion-text notion-block-9d714ca19d364d13a860826edfd50175">阿莫西林（Amoxicillin），又称之为<a class="notion-link" href="https://baike.baidu.com/item/%E7%BE%9F%E6%B0%A8%E8%8B%84%E9%9D%92%E9%9C%89%E7%B4%A0/7801887?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">羟氨苄青霉素</a>，属于<a class="notion-link" href="https://baike.baidu.com/item/%E9%9D%92%E9%9C%89%E7%B4%A0%E5%AE%B6%E6%97%8F/6929080?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">青霉素家族</a>的氨基青霉素类。其为白色或类白色的结晶型粉末，稍有特异的气味和苦味，是第二代青霉素的主要品种，系广谱半合成抗生素，能抑制细菌细胞壁的合成，具有高效的广谱抗菌作用，而且毒副作用很小，常用于治疗<code class="notion-inline-code">细菌感染</code>，如<code class="notion-inline-code">中耳感染</code>、<code class="notion-inline-code">链球菌性喉炎</code>、<code class="notion-inline-code">肺炎</code>、<code class="notion-inline-code">皮肤感染</code>和<code class="notion-inline-code">尿路感染</code>。世界卫生组织（WHO）推荐本品作为首选的<code class="notion-inline-code"><a class="notion-link" href="https://baike.baidu.com/item/%CE%B2-%E5%86%85%E9%85%B0%E8%83%BA/8592901?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">β-内酰胺</a></code>类口服抗生素，在口服抗生素中占有重要的位置。</div><div class="notion-text notion-block-170f94fc587d48cab66fd61ed0d08bd8"><b>适应症</b></div><div class="notion-text notion-block-5ab8d54243bf4445ae8991d8a9febcf0">阿莫西林用以治疗<b>伤寒</b>、其他<span class="notion-inline-underscore">沙门菌</span>感染和<b>伤寒带菌</b>者可获得满意疗效。治疗<span class="notion-inline-underscore">敏感细菌不产β-内酰胺酶的菌株</span>所致的<b>尿路感染</b>也获得良好疗效，对<b>下尿路感染</b>的患者和<span class="notion-inline-underscore">不产酶淋病奈瑟菌</span>尿道炎、宫颈炎，口服单次剂量3g即可获得满意疗效。<b>肺炎链球菌</b>、<b>不产青霉素酶金葡菌</b>、<b>溶血性链球菌</b>和不产β内酰胺酶的<b>流感嗜血杆菌</b>所致的耳、鼻、喉感染、呼吸道感染和皮肤软组织感染等皆为适应症。<span class="notion-inline-underscore">钩端螺旋体</span>病也可用阿莫西林。本品亦可用于敏感大肠埃希菌、奇异变形杆菌和粪肠球菌所致泌尿生殖系统感染。本品与<a class="notion-link" href="https://baike.baidu.com/item/%E5%85%8B%E6%8B%89%E9%9C%89%E7%B4%A0/7801451?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">克拉霉素</a>和<a class="notion-link" href="https://baike.baidu.com/item/%E5%85%B0%E7%B4%A2%E6%8B%89%E5%94%91/3385350?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">兰索拉唑</a>联合治疗<a class="notion-link" href="https://baike.baidu.com/item/%E5%B9%BD%E9%97%A8%E8%9E%BA%E6%9D%86%E8%8F%8C/1226672?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">幽门螺杆菌</a>感染有良好疗效。</div><div class="notion-text notion-block-056d28d6d252453184f2b16eef9551a7">阿莫西林适用于敏感细菌（不产β-内酰胺酶菌株）所致的下列感染：</div><div class="notion-text notion-block-c68293a4486e44acbddb5f65c8ca0441">1、<span class="notion-inline-underscore">溶血链球菌</span>、<span class="notion-inline-underscore">肺炎链球菌</span>、<span class="notion-inline-underscore">葡萄球菌</span>或<span class="notion-inline-underscore">流感嗜血杆菌</span>所致中耳炎、鼻窦炎、咽炎、扁桃体炎等上呼吸道感染；</div><div class="notion-text notion-block-69af55819e724da8a39c5120bc90f712">2、<span class="notion-inline-underscore">大肠埃希菌</span>、<span class="notion-inline-underscore">奇异变形杆菌</span>或<span class="notion-inline-underscore">粪肠球菌</span>所致的泌尿生殖道感染；</div><div class="notion-text notion-block-4c0f15c8852e42bbbfa2ef7a90c85bde">3、<span class="notion-inline-underscore">溶血链球菌</span>、<span class="notion-inline-underscore">葡萄球菌</span>或<span class="notion-inline-underscore">大肠埃希菌</span>所致的皮肤软组织感染；</div><div class="notion-text notion-block-96e9e63bfd72456fb47888c6d50e70fd">4、<span class="notion-inline-underscore">溶血链球菌</span>、<span class="notion-inline-underscore">肺炎链球菌</span>、<span class="notion-inline-underscore">葡萄球菌</span>或<span class="notion-inline-underscore">流感嗜血杆菌</span>所致急性支气管炎、肺炎等下呼吸道感染；</div><div class="notion-text notion-block-59f001e4efef42e2afda87f9fb5494e0">5、急性单纯性淋病；</div><div class="notion-text notion-block-36a170f45e3040f68adf7bcc5ab71e7e">6、可用于治疗伤寒、其他沙门菌感染、伤寒带菌者及钩端螺旋体病；阿莫西林亦可与克拉霉素、兰索拉唑三联用药根除胃、十二指肠幽门螺杆菌，降低消化道溃疡复发率。</div><div class="notion-text notion-block-e79c0a90b1d84fba994554faa57aa6c9"><b>不良反应</b></div><div class="notion-text notion-block-8b79551b89bd4217ab671ea5c2c23e75">临床应用阿莫西林的不良反应发生率约为5～6%，因反应而停药者约2%。</div><div class="notion-text notion-block-3f982c4b3d91420081dba2549ed509a3">不良反应与其他β-内酰胺类抗生素相似，包括恶心、呕吐、皮疹和抗生素相关性结肠炎。也可能出现大便稀薄（腹泻）。较罕见的不良反应包括精神改变、头晕、失眠、意识模糊、焦虑、对光线和声音敏感以及思维不清。一旦出现这些不良反应的征兆，应立即就医。</div><div class="notion-text notion-block-ed6f6c04c2bf4bc696b575b5d091ae69">具体不良反应包括：</div><div class="notion-text notion-block-920c04f6754e4222b2459ff8f1c4c2cb">1、过敏反应症状：可出现药物热、荨麻疹、皮疹和哮喘等，尤易发生于传染性单核细胞增多症患者，少见过敏性休克。</div><div class="notion-text notion-block-af50fa63f76a473891f295ff566d1d25">2、消化系统症状：多见腹泻、恶心、呕吐等症状，偶见假膜性结肠炎等胃肠道反应。</div><div class="notion-text notion-block-7778c5229cc04552b140bb0213008793">3、血液系统症状：偶见嗜酸粒细胞增多、白细胞减少、血小板减少、贫血等。</div><div class="notion-text notion-block-b6ec5308e62f4d2ab78d8f5513f3769e">4、皮肤粘膜反应：偶见斑丘疹、渗出性多形性红斑、Lyell综合征、剥脱性皮炎。</div><div class="notion-text notion-block-40a17de33fa64002b0a62b19f62b3589">5、肝、肾功能紊乱：少数患者用药后偶见血清氨基转移酶轻度升高、急性间质性肾炎。</div><div class="notion-text notion-block-d33a102b9dd043298e2fbc0a38a2fb74">6、其他：兴奋，焦虑，失眠，头晕以及行为异常等中枢神经系统症状。长期使用本药可出现由念珠菌或耐药菌引起的二重感染。</div><div class="notion-text notion-block-d210d76aaf7a4addbd0242a25a950633">7、静脉注射量大时可见惊厥、嗜酸性粒细胞增多。</div><div class="notion-text notion-block-9e4edebd7f1048dab0c68dc696869e9b">对阿莫西林的过敏反应可能会非常突然和强烈，必须尽快寻求紧急医疗救助。这种反应的最初阶段通常表现为精神状态改变、皮肤出疹并伴有剧烈瘙痒（通常从指尖和腹股沟周围开始，并迅速扩散）、发烧、恶心和呕吐。任何其他可疑症状都必须引起高度重视。不过，轻微的过敏症状（如皮疹）可能会在治疗期间的任何时候出现，甚至在治疗停止一周后出现。对于某些对阿莫西林过敏的人来说，不良反应有可能会因过敏性休克而致命。</div><div class="notion-text notion-block-5517eabbc51c48ebaa07fca56e3c11a3">使用阿莫西林/克拉维酸复方制剂超过一周后，一些患者会出现药物诱发的免疫过敏性肝炎。急性过量摄入阿莫西林的幼儿表现为嗜睡、呕吐和肾功能障碍。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-54fcfb8731fa4cbd91bc0908e82c2be7" data-id="54fcfb8731fa4cbd91bc0908e82c2be7"><span><div id="54fcfb8731fa4cbd91bc0908e82c2be7" class="notion-header-anchor"></div><a class="notion-hash-link" href="#54fcfb8731fa4cbd91bc0908e82c2be7" title="2.2克拉维酸钾"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">2.2克拉维酸钾</span></span></h3><div class="notion-text notion-block-c99500cefe144906bb7f2eea90efea07">单独应用无效。常与青霉素类药物联合应用以克服微生物产β-内酰胺酶而引起的耐药性，提高疗效。</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-677e17563dec495e8f9cc5622a4fbca1" data-id="677e17563dec495e8f9cc5622a4fbca1"><span><div id="677e17563dec495e8f9cc5622a4fbca1" class="notion-header-anchor"></div><a class="notion-hash-link" href="#677e17563dec495e8f9cc5622a4fbca1" title="3.头孢类（轻易别吃！）"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">3.头孢类（<b>轻易别吃！</b>）</span></span></h2><div class="notion-text notion-block-fc951249867d4967980fdeee002190a0">头孢是头孢类<a class="notion-link" href="https://baike.baidu.com/item/%E6%8A%97%E8%8F%8C%E8%8D%AF/10663255?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">抗菌药</a>的总称，<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E8%8F%8C%E7%B4%A0%E7%B1%BB/533041?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢菌素类</a>（Cephalosporins）是以冠头孢菌培养得到的天然<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E8%8F%8C%E7%B4%A0C/3762930?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢菌素C</a>作为原料，经半合成改造其<a class="notion-link" href="https://baike.baidu.com/item/%E4%BE%A7%E9%93%BE/9492925?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">侧链</a>而得到的一类抗生素。</div><div class="notion-text notion-block-df76ca494a0248b8870ad0925c60ef01">常用的头孢约有30种，按其发代的先后和抗菌性能的不同而分为一、二、三、四、五代。</div><div class="notion-text notion-block-39f78b5639b54885af393a767e9ac0d5">在抗生素市场中，<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E7%B1%BB%E6%8A%97%E7%94%9F%E7%B4%A0/4077112?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢类抗生素</a>占据着较大的份额，而其相关中间体也连带着表现出可观的<a class="notion-link" href="https://baike.baidu.com/item/%E5%B8%82%E5%9C%BA%E6%BD%9C%E5%8A%9B/853669?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">市场潜力</a>。头孢类抗生素中销量最大的品种有<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E6%9B%B2%E6%9D%BE%E9%92%A0/1748373?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢曲松钠</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E5%94%91%E5%95%89%E9%92%A0/1745814?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢唑啉钠</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E5%99%BB%E8%82%9F/9541003?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢噻肟</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E4%B8%89%E5%97%AA/9540915?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢三嗪</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E5%93%8C%E9%85%AE/4409899?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢哌酮</a>和<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E5%91%8B%E8%BE%9B/9571408?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢呋辛</a>(酯)等，相应的中间体包括<a class="notion-link" href="https://baike.baidu.com/item/7-ACA/3762484?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">7-ACA</a>、<a class="notion-link" href="https://baike.baidu.com/item/7-ADCA/2417067?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">7-ADCA</a>、GCLE、<a class="notion-link" href="https://baike.baidu.com/item/%E6%B0%A8%E5%99%BB%E8%82%9F%E9%85%B8/19179313?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">氨噻肟酸</a>、<a class="notion-link" href="https://baike.baidu.com/item/AE-%E6%B4%BB%E6%80%A7%E9%85%AF/4557263?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">AE-活性酯</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E4%B8%89%E5%97%AA%E7%8E%AF/324136?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">三嗪环</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%9B%9B%E6%B0%AE%E5%94%91%E4%B9%99%E9%85%B8/8476320?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">四氮唑乙酸</a>、甲巯<a class="notion-link" href="https://baike.baidu.com/item/%E5%9B%9B%E6%B0%AE%E5%94%91/3875244?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">四氮唑</a>、HO-EPCP、<a class="notion-link" href="https://baike.baidu.com/item/%E7%94%B2%E6%B0%A7%E8%83%BA%E7%9B%90%E9%85%B8%E7%9B%90/6900223?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">甲氧胺盐酸盐</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%91%8B%E5%96%83/1403984?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">呋喃</a>胺盐(SIMA)以及<a class="notion-link" href="https://baike.baidu.com/item/%E6%B0%AF%E7%A3%BA%E9%85%B8/6032293?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">氯磺酸</a><a class="notion-link" href="https://baike.baidu.com/item/%E5%BC%82%E6%B0%B0%E9%85%B8%E9%85%AF/6867007?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">异氰酸酯</a>等。</div><table class="notion-simple-table notion-block-0f071cd31a234b7eb834a29a72470a6c"><tbody><tr class="notion-simple-table-row notion-block-e8cd407f2c8f43ea87a7faa4f48faf3d"><td class="" style="width:120px"><div class="notion-simple-table-cell"><b>第一代</b></div></td><td class="" style="width:572px"><div class="notion-simple-table-cell"><a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E5%99%BB%E5%90%A9%E9%92%A0/1744889?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢噻吩钠</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E6%B0%A8%E8%8B%84/1745504?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢氨苄</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E7%BE%9F%E6%B0%A8%E8%8B%84/1746550?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢羟氨苄</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E5%94%91%E5%95%89/9494161?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢唑啉</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E6%8B%89%E5%AE%9A/1745903?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢拉定</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E7%A1%AB%E8%84%92/1746515?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢硫脒</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E5%85%8B%E7%BD%97/1746787?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢克罗</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E5%99%BB%E5%95%B6/1745073?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢噻啶</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E6%9D%A5%E6%98%9F/1745355?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢来星</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E4%B9%99%E8%85%88/1746108?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢乙腈</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E5%8C%B9%E6%9E%97/1746371?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢匹林</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E6%9B%BF%E5%94%91/391708?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢替唑</a>。</div></td></tr><tr class="notion-simple-table-row notion-block-744e236f50284028a22043bcdbab1cb2"><td class="" style="width:120px"><div class="notion-simple-table-cell"><b>第二代</b></div></td><td class="" style="width:572px"><div class="notion-simple-table-cell"><a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E5%91%8B%E8%BE%9B%E9%92%A0/1746838?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢呋辛钠</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E5%91%8B%E8%BE%9B%E9%85%AF/1747940?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢呋辛酯</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E5%AD%9F%E5%A4%9A/1746952?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢孟多</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E5%85%8B%E6%B4%9B/1748005?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢克洛</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E6%9B%BF%E5%AE%89/1747883?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢替安</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E7%BE%8E%E5%94%91/1747864?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢美唑</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E4%B8%99%E7%83%AF/9601195?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢丙烯</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E5%B0%BC%E8%A5%BF/10148980?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢尼西</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E9%9B%B7%E7%89%B9/5805137?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢雷特</a>。</div></td></tr><tr class="notion-simple-table-row notion-block-b93084664ecc4742ac8a46ad69d29a73"><td class="" style="width:120px"><div class="notion-simple-table-cell"><b>第三代</b></div></td><td class="" style="width:572px"><div class="notion-simple-table-cell"><a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E5%99%BB%E8%82%9F%E9%92%A0/1748102?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢噻肟钠</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E5%93%8C%E9%85%AE/4409899?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢哌酮</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E4%BB%96%E5%95%B6/1748259?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢他啶</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E6%9B%B2%E6%9D%BE/9541330?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢曲松</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E5%94%91%E8%82%9F/9494041?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢唑肟</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E7%94%B2%E8%82%9F/1612286?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢甲肟</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E5%8C%B9%E8%83%BA/9541612?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢匹胺</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E6%9B%BF%E5%9D%A6/1748882?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢替坦</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E5%85%8B%E8%82%9F/1612324?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢克肟</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E6%B3%8A%E8%82%9F%E9%85%AF/1749318?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢泊肟酯</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E4%BB%96%E7%BE%8E%E9%85%AF/1749226?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢他美酯</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E5%9C%B0%E5%97%AA/1748950?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢地嗪</a>、头孢噻腾、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E5%9C%B0%E5%B0%BC/9571542?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢地尼</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E7%89%B9%E4%BB%91/9502388?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢特仑</a>、头孢拉奈、<a class="notion-link" href="https://baike.baidu.com/item/%E6%8B%89%E6%B0%A7%E5%A4%B4%E5%AD%A2/1748560?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">拉氧头孢</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E5%B8%83%E7%83%AF/9571687?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢布烯</a>、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E7%B1%B3%E8%AF%BA/537803?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢米诺</a>、头孢罗齐。</div></td></tr><tr class="notion-simple-table-row notion-block-db395d4853c14cb6af3e5583b7356ba1"><td class="" style="width:120px"><div class="notion-simple-table-cell"><b>第四代</b></div></td><td class="" style="width:572px"><div class="notion-simple-table-cell"><a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E5%90%A1%E8%82%9F/1749688?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢吡肟</a>、头孢匹罗。</div></td></tr><tr class="notion-simple-table-row notion-block-7bbc8291e4d24303ad0a3162592e0c16"><td class="" style="width:120px"><div class="notion-simple-table-cell"><b>第五代</b></div></td><td class="" style="width:572px"><div class="notion-simple-table-cell">头孢洛林、<a class="notion-link" href="https://baike.baidu.com/item/%E5%A4%B4%E5%AD%A2%E5%90%A1%E6%99%AE/6749777?fromModule=lemma_inlink" target="_blank" rel="noopener noreferrer">头孢吡普</a>等。</div></td></tr></tbody></table><div class="notion-blank notion-block-049b5e8e38614d78a7150f46052ed0e5"> </div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[VPS测试存档]]></title>
            <link>https://blog.pigcyan.com/article/vps-test</link>
            <guid>https://blog.pigcyan.com/article/vps-test</guid>
            <pubDate>Tue, 22 Aug 2023 00:00:00 GMT</pubDate>
            <description><![CDATA[VPS测试存档]]></description>
            <content:encoded><![CDATA[VPS测试存档]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PVE8.4.1使用10+小时后自动断网]]></title>
            <link>https://blog.pigcyan.com/article/pve-net-lost</link>
            <guid>https://blog.pigcyan.com/article/pve-net-lost</guid>
            <pubDate>Wed, 07 May 2025 00:00:00 GMT</pubDate>
            <description><![CDATA[PVE8.4.1使用10+小时后自动断网，网上收集的资料是intel网卡在PVE下有驱动兼容性问题]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-1836de47affc80da84efd1693565b29b"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-text notion-block-1ec6de47affc80a29ceace96a12ab5c3"><b>PVE8.4.1使用10+小时后自动断网，网上收集的资料是intel网卡在PVE下有驱动兼容性问题，关闭一些优化功能可实现稳定运行</b></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-1ec6de47affc800fbf09c4015a4a6575" data-id="1ec6de47affc800fbf09c4015a4a6575"><span><div id="1ec6de47affc800fbf09c4015a4a6575" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1ec6de47affc800fbf09c4015a4a6575" title="1 安装软件并设置"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">1 安装软件并设置</span></span></h3><div class="notion-text notion-block-1ed6de47affc8045bdb7f92fb97a0e75">这个命令是用来关闭网络设备（在这个例子中是eno1）的几种网络优化技术：GSO（Generic Segmentation Offload），GRO（Generic Receive Offload）和TSO（TCP Segmentation Offload）。这些技术一般用来提高网络性能，减少CPU的负担。</div><ol start="1" class="notion-list notion-list-numbered notion-block-1ed6de47affc80cc962edb01584558f9" style="list-style-type:decimal"><li>GSO是一种让网络设备自己处理数据包分段的技术，当关闭后，这个任务就会交给CPU来做，可能会增加CPU负担，但在某些情况下（如网络设备驱动有问题），关闭可能会有助于提高网络稳定性。</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-1ed6de47affc8092ba20e67807a6b6ff" style="list-style-type:decimal"><li>GRO也是一种让网络设备自己处理数据包的技术，但它是用来处理接收的数据包。关闭后的效果和GSO类似。</li></ol><ol start="3" class="notion-list notion-list-numbered notion-block-1ed6de47affc80d19395e4c6ac60c6ad" style="list-style-type:decimal"><li>TSO则是一种让网络设备处理TCP数据包分段的技术。关闭后，分段任务会交给CPU，可能增加CPU负担，但在某些情况下（如网络设备驱动有问题），关闭可能有助于提高网络稳定性。</li></ol><div class="notion-text notion-block-1ed6de47affc802db0bce19de3cd1e40">所以，这个命令的作用取决于你的具体情况，如果你的网络设备驱动有问题，或者你的CPU有足够的空闲时间，那么关闭这些优化技术可能会帮助你提高网络稳定性。但如果你的CPU已经很繁忙，或者你的网络设备工作正常，那么关闭可能会降低网络性能。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-1ec6de47affc8081a3c9f20543d73ed4" data-id="1ec6de47affc8081a3c9f20543d73ed4"><span><div id="1ec6de47affc8081a3c9f20543d73ed4" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1ec6de47affc8081a3c9f20543d73ed4" title="2 修改网卡配置"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">2 修改网卡配置</span></span></h3><div class="notion-text notion-block-1ec6de47affc80b69398e5eaa984fc69">在<code class="notion-inline-code">iface eno1 inet manual</code>下新增<code class="notion-inline-code">post-up ethtool -K eno1 tso off gso off</code></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-1ec6de47affc808791a6d67e21806da9" data-id="1ec6de47affc808791a6d67e21806da9"><span><div id="1ec6de47affc808791a6d67e21806da9" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1ec6de47affc808791a6d67e21806da9" title="3 Ref."><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">3 Ref.</span></span></h3><div class="notion-text notion-block-1ec6de47affc80dc92c0cb39de1909ab">[1]<a class="notion-link" href="https://blog.51cto.com/fengwan/13882658" target="_blank" rel="noopener noreferrer">PVE 8.4.0使用一段时间后自动断网_运维记事的技术博客_51CTO博客</a></div><div class="notion-text notion-block-1ec6de47affc8012bd00fc68bad50b92">[2]<a class="notion-link" href="https://kiritow.com/proxmox-eth-fix/" target="_blank" rel="noopener noreferrer">Proxmox网卡驱动修复 | 积少成多, 聚沙成塔</a></div><div class="notion-text notion-block-1ec6de47affc80bead1cc6a13af4ed63">[3]<a class="notion-link" href="https://forum.proxmox.com/threads/e1000-driver-hang.58284/" target="_blank" rel="noopener noreferrer">e1000 driver hang | Proxmox Support Forum</a></div><div class="notion-text notion-block-1ed6de47affc80e39e35f692313914d2">[4]<a class="notion-link" href="https://www.cnblogs.com/liulianzhen99/articles/17824100.html" target="_blank" rel="noopener noreferrer">linux ethtool -K &quot;eth0&quot; gso off gro off tso off 这个的作用是什么 - 寻梦99 - 博客园</a></div><div class="notion-blank notion-block-1ec6de47affc800195c6cdf30c618584"> </div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linux系统安装samba实现文件共享服务]]></title>
            <link>https://blog.pigcyan.com/article/samba</link>
            <guid>https://blog.pigcyan.com/article/samba</guid>
            <pubDate>Tue, 16 Jan 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[基于RHEL9系统的samba服务安装]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-824c3fb81e04475fba966796913b2e02"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-68e3bb338ad94228af2c847e71dbaace" data-id="68e3bb338ad94228af2c847e71dbaace"><span><div id="68e3bb338ad94228af2c847e71dbaace" class="notion-header-anchor"></div><a class="notion-hash-link" href="#68e3bb338ad94228af2c847e71dbaace" title="1.安装samba"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">1.安装samba</span></span></h3><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-e6add4628759478f83ae9845e5f1fc2c" data-id="e6add4628759478f83ae9845e5f1fc2c"><span><div id="e6add4628759478f83ae9845e5f1fc2c" class="notion-header-anchor"></div><a class="notion-hash-link" href="#e6add4628759478f83ae9845e5f1fc2c" title="2.添加新用户（可选）"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">2.添加新用户（可选）</span></span></h3><ul class="notion-list notion-list-disc notion-block-9f5be87855d14b0ca5b1827da0bb7073"><li>添加用户<code class="notion-inline-code">USERNAME</code>及其主目录<code class="notion-inline-code">/PATH/TO/HOME</code>，禁止登录。</li></ul><ul class="notion-list notion-list-disc notion-block-34edc84dd9bf431ab6f033df45633adb"><li>改变用户<code class="notion-inline-code">USERNAME</code>的密码</li></ul><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-c6189fe4d24a4440951df5473723b4cd" data-id="c6189fe4d24a4440951df5473723b4cd"><span><div id="c6189fe4d24a4440951df5473723b4cd" class="notion-header-anchor"></div><a class="notion-hash-link" href="#c6189fe4d24a4440951df5473723b4cd" title="3.启用并修改smb用户的访问密码"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">3.启用并修改smb用户的访问密码</span></span></h3><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-df68de32512840bd9fd4f62cc4f19bf1" data-id="df68de32512840bd9fd4f62cc4f19bf1"><span><div id="df68de32512840bd9fd4f62cc4f19bf1" class="notion-header-anchor"></div><a class="notion-hash-link" href="#df68de32512840bd9fd4f62cc4f19bf1" title="4.修改smb的配置文件"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">4.修改smb的配置文件</span></span></h3><ul class="notion-list notion-list-disc notion-block-3db12aa259674648b662c959a3f443f9"><li>修改<b> </b><code class="notion-inline-code"><b>[global]</b></code><b> </b>部分</li></ul><ul class="notion-list notion-list-disc notion-block-38527637dc874f8ea3441acce619a880"><li>如果samba的共享目录中有软链接，在配置文件<code class="notion-inline-code">[global]</code>中要添加如下配置</li></ul><ul class="notion-list notion-list-disc notion-block-a2040de3bbf24d0bb6d2795cf2d420b1"><li>修改<b> </b><code class="notion-inline-code"><b>[home]</b></code><b> </b>部分</li></ul><ul class="notion-list notion-list-disc notion-block-46c5a6b4844b4d3b9fc4a19d35bb2f7e"><li>修改其他共享部分，例如<code class="notion-inline-code">[mnt]</code></li></ul><div class="notion-text notion-block-14c2fa3db66b48a1bb6737ce51d19918">若该目录不在主目录下，默认由于SELinux无法访问。需要设置boolean来访问它（未启用）</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-2724211d9352420a9221cc80ac32da3c" data-id="2724211d9352420a9221cc80ac32da3c"><span><div id="2724211d9352420a9221cc80ac32da3c" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2724211d9352420a9221cc80ac32da3c" title="5.SELinux启用时设置（未启用）"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">5.SELinux启用时设置（未启用）</span></span></h3><ul class="notion-list notion-list-disc notion-block-821d9b84912a425b9b75b7ebaca2d9f9"><li>设置SELinux的Booleans</li></ul><div class="notion-text notion-block-a2f556209e014835a0ff8ba989342984">完成上述操作后，如果SELinux设置为禁用，则可以使用samba访问主目录，否则需要配置SELinux。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-9b99c789ddfe499ea20754338b2daf36" data-id="9b99c789ddfe499ea20754338b2daf36"><span><div id="9b99c789ddfe499ea20754338b2daf36" class="notion-header-anchor"></div><a class="notion-hash-link" href="#9b99c789ddfe499ea20754338b2daf36" title="6.设置防火墙"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">6.设置防火墙</span></span></h3><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-1a98404eea1147148e8db0d3b0a14748" data-id="1a98404eea1147148e8db0d3b0a14748"><span><div id="1a98404eea1147148e8db0d3b0a14748" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1a98404eea1147148e8db0d3b0a14748" title="7.重启smb以应用配置"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">7.重启smb以应用配置</span></span></h3><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-73a3f7373b7e402c9c997f89158f4b9d" data-id="73a3f7373b7e402c9c997f89158f4b9d"><span><div id="73a3f7373b7e402c9c997f89158f4b9d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#73a3f7373b7e402c9c997f89158f4b9d" title="8.Windows清理SMB共享连接和缓存账号密码"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">8.Windows清理SMB共享连接和缓存账号密码</span></span></h3><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-82f0f07df1084f739c00596a827c211e" data-id="82f0f07df1084f739c00596a827c211e"><span><div id="82f0f07df1084f739c00596a827c211e" class="notion-header-anchor"></div><a class="notion-hash-link" href="#82f0f07df1084f739c00596a827c211e" title="Ref."><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">Ref.</span></span></h3><div class="notion-text notion-block-cb10738fa8cb47f8825076cdaac897b3">[1] <a class="notion-link" href="https://dashdreams.github.io/p/7c9e3091.html" target="_blank" rel="noopener noreferrer">Install Samba on RHEL/CentOS/Fedora | Day Day Up! (dashdreams.github.io)</a></div><div class="notion-blank notion-block-7d150a02fc804053bd6435f1c664a5d8"> </div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[利用docker-compose自建Rustdesk中继]]></title>
            <link>https://blog.pigcyan.com/article/docker-rustdesk</link>
            <guid>https://blog.pigcyan.com/article/docker-rustdesk</guid>
            <pubDate>Sat, 11 Feb 2023 00:00:00 GMT</pubDate>
            <description><![CDATA[利用docker-compose自建Rustdesk中继]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-56ca9b64363b48e9b4e1ba3bc9c44057"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-af182aa28bb04a96ab6ff6a9d2b92e94" data-id="af182aa28bb04a96ab6ff6a9d2b92e94"><span><div id="af182aa28bb04a96ab6ff6a9d2b92e94" class="notion-header-anchor"></div><a class="notion-hash-link" href="#af182aa28bb04a96ab6ff6a9d2b92e94" title="1 服务端配置"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">1 服务端配置</span></span></h2><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-9f3337e0c68b441f9519bcc1cb5b8073" data-id="9f3337e0c68b441f9519bcc1cb5b8073"><span><div id="9f3337e0c68b441f9519bcc1cb5b8073" class="notion-header-anchor"></div><a class="notion-hash-link" href="#9f3337e0c68b441f9519bcc1cb5b8073" title="1.1 编写docker-compose.yaml文件"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">1.1 编写docker-compose.yaml文件</span></span></h3><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-841b7a3087394421b7e96c3411a70131" data-id="841b7a3087394421b7e96c3411a70131"><span><div id="841b7a3087394421b7e96c3411a70131" class="notion-header-anchor"></div><a class="notion-hash-link" href="#841b7a3087394421b7e96c3411a70131" title="1.2 服务说明"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">1.2 服务说明</span></span></h3><ul class="notion-list notion-list-disc notion-block-8158a53f29d64aa888a6799a2d20508a"><li>hbbs - RustDesk ID注册服务器</li></ul><ul class="notion-list notion-list-disc notion-block-eaa49641630c418a851e8d67cf3ffb10"><li>hbbr - RustDesk 中继服务器</li></ul><div class="notion-text notion-block-19b4317a4bf84b6ab1372b3e3fbc0ae5">默认情况下，hbbs 监听21115(tcp), 21116(tcp/udp), 21118(tcp)，hbbr 监听21117(tcp), 21119(tcp)。务必在防火墙开启这几个端口， 请注意21116同时要开启TCP和UDP。其中21115是hbbs用作NAT类型测试，21116/UDP是hbbs用作ID注册与心跳服务，21116/TCP是hbbs用作TCP打洞与连接服务，21117是hbbr用作中继服务, 21118和21119是为了支持网页客户端。如果您不需要网页客户端（21118，21119）支持，对应端口可以不开。</div><ul class="notion-list notion-list-disc notion-block-bc940e1ab18b4b94a4f1a7e96bf740a2"><li>TCP(21115, 21116, 21117, 21118, 21119)</li></ul><ul class="notion-list notion-list-disc notion-block-7b0366fa1a484514a1580753c5b75ac0"><li>UDP(21116)</li></ul><div class="notion-text notion-block-3374690165954f6f834b62d5cbdab7a3">如果你想选择自己的端口，使用 “-h” 选项查看帮助。</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-274689f61e504cc59cbb40f37bbd78d2" data-id="274689f61e504cc59cbb40f37bbd78d2"><span><div id="274689f61e504cc59cbb40f37bbd78d2" class="notion-header-anchor"></div><a class="notion-hash-link" href="#274689f61e504cc59cbb40f37bbd78d2" title="2 客户端配置"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">2 客户端配置</span></span></h2><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-f31dc31c091c45ad89b83681dfe5b682" data-id="f31dc31c091c45ad89b83681dfe5b682"><span><div id="f31dc31c091c45ad89b83681dfe5b682" class="notion-header-anchor"></div><a class="notion-hash-link" href="#f31dc31c091c45ad89b83681dfe5b682" title="2.1 下载客户端"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">2.1 下载客户端</span></span></h3><div class="notion-text notion-block-df91352ce12f4cd78889b62dfafcf2e6">在客户端<a class="notion-link" href="https://github.com/rustdesk/rustdesk/releases" target="_blank" rel="noopener noreferrer">Github发布页</a>下载对应版本的客户端程序</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-b692738e3d584ebbba8c4779c7102884" data-id="b692738e3d584ebbba8c4779c7102884"><span><div id="b692738e3d584ebbba8c4779c7102884" class="notion-header-anchor"></div><a class="notion-hash-link" href="#b692738e3d584ebbba8c4779c7102884" title="2.2 设置 hbbs/hbbr 地址"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">2.2 设置 hbbs/hbbr 地址</span></span></h3><div class="notion-text notion-block-50e5b012f27c4f809646777abeb80409">点击 ID 右侧的菜单按钮如下，选择“ ID/中继服务器”。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-e5eacf2e9eaf4b389c7443f33f1948d1"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:480px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://rustdesk.com/docs/en/self-host/rustdesk-server-oss/install/images/server-set-menu-zh.png?spaceId=07a82874-60bc-455b-8c60-03ad02edc3bf&amp;t=e5eacf2e-9eaf-4b38-9c74-43f33f1948d1" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-22839e4096db45968b0a8823f0b9730d">在 ID 服务器输入框中（被控端+主控端）输入 hbbs 主机或 ip 地址，另外两个地址可以不填，RustDesk会自动推导（如果没有特别设定），中继服务器指的是hbbr（21117）端口。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-4a05e9e67a54437bb334cc5025ae5000"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:576px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://rustdesk.com/docs/en/self-host/rustdesk-server-oss/install/images/server-set-window-zh.png?spaceId=07a82874-60bc-455b-8c60-03ad02edc3bf&amp;t=4a05e9e6-7a54-437b-b334-cc5025ae5000" alt="notion image" loading="lazy" decoding="async"/></div></figure><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-3e0d6600dd564c10ae0a624c6f5de25a" data-id="3e0d6600dd564c10ae0a624c6f5de25a"><span><div id="3e0d6600dd564c10ae0a624c6f5de25a" class="notion-header-anchor"></div><a class="notion-hash-link" href="#3e0d6600dd564c10ae0a624c6f5de25a" title="2.3 把配置放在可执行文件名里 (Windows only)"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><s>2.3 把配置放在可执行文件名里 (Windows only)</s></span></span></h3><div class="notion-text notion-block-c050a8e8bc7542da903ffbdd50082fe9">把rustdesk.exe 修改为 rustdesk-host=&lt;host-ip-or-name&gt;,key=&lt;public-key-string&gt;.exe, 例如： rustdesk-host=192.168.1.137,key=xfdsfsd32=32.exe，你可以在About窗口看到配置结果，如下图所示。</div><ul class="notion-list notion-list-disc notion-block-8bdfb910565a4786be962bb968ecf8a4"><li>host 和 key 都需要添加，缺少一个就不好使。</li></ul><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-4ded2e8448f44fc9bb4d7d93d552df1b"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:336px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://rustdesk.com/docs/en/self-host/rustdesk-server-oss/install/images/aboutmenu.png?spaceId=07a82874-60bc-455b-8c60-03ad02edc3bf&amp;t=4ded2e84-48f4-4fc9-bb4d-7d93d552df1b" alt="notion image" loading="lazy" decoding="async"/></div></figure><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-2457b85921bc49259b2030299cb408c2"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:480px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://rustdesk.com/docs/en/self-host/rustdesk-server-oss/install/images/lic.png?spaceId=07a82874-60bc-455b-8c60-03ad02edc3bf&amp;t=2457b859-21bc-4925-9b20-30299cb408c2" alt="notion image" loading="lazy" decoding="async"/></div></figure><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-4d5423eb42e6426790ad8b93438135b8" data-id="4d5423eb42e6426790ad8b93438135b8"><span><div id="4d5423eb42e6426790ad8b93438135b8" class="notion-header-anchor"></div><a class="notion-hash-link" href="#4d5423eb42e6426790ad8b93438135b8" title="3 Ref."><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">3 Ref.</span></span></h2><div class="notion-text notion-block-8e155383456b4d408f69155e3fe697e6">[1] <a class="notion-link" href="https://rustdesk.com/docs/zh-cn/self-host/install/" target="_blank" rel="noopener noreferrer">https://rustdesk.com/docs/zh-cn/self-host/install/</a>
[2] <a class="notion-link" href="https://www.cnblogs.com/zwgbk/p/16648073.html" target="_blank" rel="noopener noreferrer">https://www.cnblogs.com/zwgbk/p/16648073.html</a></div></main></div>]]></content:encoded>
        </item>
    </channel>
</rss>