<?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>Blog Not Found</title>
        <link>https://www.miku404.eu.org/</link>
        <description>我随便写写 你随便看看</description>
        <lastBuildDate>Sun, 20 Jul 2025 00:51:37 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en-US</language>
        <copyright>All rights reserved 2025, 𝕸𝖎𝖐𝖚</copyright>
        <item>
            <title><![CDATA[

如何破解某人的加密脚本]]></title>
            <link>https://www.miku404.eu.org/article/2024/10/18/fuck-encrypted-script</link>
            <guid>https://www.miku404.eu.org/article/2024/10/18/fuck-encrypted-script</guid>
            <pubDate>Fri, 18 Oct 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-122bbca27413800b9e4bdb00fb955a8e"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-122bbca2741380cebd2afb4aab4dd872" data-id="122bbca2741380cebd2afb4aab4dd872"><span><div id="122bbca2741380cebd2afb4aab4dd872" class="notion-header-anchor"></div><a class="notion-hash-link" href="#122bbca2741380cebd2afb4aab4dd872" title="如何破解某人的加密脚本"><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">如何破解某人的加密脚本</span></span></h2><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-122bbca27413805c8526f83e81bdec0e" data-id="122bbca27413805c8526f83e81bdec0e"><span><div id="122bbca27413805c8526f83e81bdec0e" class="notion-header-anchor"></div><a class="notion-hash-link" href="#122bbca27413805c8526f83e81bdec0e" title="第一步 eval混淆"><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">第一步 eval混淆</span></span></h3><div class="notion-text notion-block-122bbca27413802dacbbff8c362b0937">查看脚本 如果格式是为xxxx eval xxxx 的格式.
将eval改成echo 运行脚本 脚本会输入混淆前的内容.</div><ul class="notion-list notion-list-disc notion-block-122bbca2741380a8b7cecb001eb44327"><li>将脚本下载到本地 使用以下命令</li></ul><ul class="notion-list notion-list-disc notion-block-122bbca2741380b38f0ac230d94f23f4"><li>step1.txt就是我们解密后的脚本</li></ul><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-122bbca2741380b68aede24df7bd2937" data-id="122bbca2741380b68aede24df7bd2937"><span><div id="122bbca2741380b68aede24df7bd2937" class="notion-header-anchor"></div><a class="notion-hash-link" href="#122bbca2741380b68aede24df7bd2937" title="第二步 babs64编码套娃"><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">第二步 babs64编码套娃</span></span></h3><div class="notion-text notion-block-122bbca2741380a1b600fcfe01006ccb">查看脚本 你会发现脚本格式为：
bash -c &quot;$(base64 -d &lt;&lt;&lt; &quot;\base64编码&quot;)&quot; bash &quot;$@&quot;</div><ul class="notion-list notion-list-disc notion-block-122bbca2741380588bd6e774918b728b"><li>我们在本地创建一个脚本 <a target="_blank" rel="noopener noreferrer" class="notion-link" href="http://xn--decode-995jr06c.sh/">就叫decode.sh</a></li></ul><ul class="notion-list notion-list-disc notion-block-122bbca2741380bd8e88e0c8dab2b485"><li>保存 运行&quot;bash <a target="_blank" rel="noopener noreferrer" class="notion-link" href="http://decode.sh/">decode.sh</a> -in step1.txt&quot; 或者你可以用我的</li></ul><ul class="notion-list notion-list-disc notion-block-122bbca274138025a9b0ed9186591482"><li>运行脚本 使用cat查看 发现没有以”bash -c &quot;$(base64 -d &lt;&lt;&lt; &quot;\”开头了 那么恭喜你得到了真正的脚本（吗</li></ul><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-122bbca2741380999d8cc149d954c4e3" data-id="122bbca2741380999d8cc149d954c4e3"><span><div id="122bbca2741380999d8cc149d954c4e3" class="notion-header-anchor"></div><a class="notion-hash-link" href="#122bbca2741380999d8cc149d954c4e3" title="第三步 bzip压缩加密"><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">第三步 bzip压缩加密</span></span></h3><div class="notion-text notion-block-122bbca2741380a7b99cffefc9c47575">仔细观察脚本的内容 你会发现脚本的下半部分有下载了另外一个脚本 打开看 这么这么多乱码 不要慌 查看注释下的第一行 找到skip=数字 一般都是75.</div><ul class="notion-list notion-list-disc notion-block-122bbca2741380249751cd473c33fd02"><li>记住数字 运行以下命令 恭喜你 得到了 真_解密后的脚本</li></ul><ul class="notion-list notion-list-disc notion-block-122bbca2741380d7a668f3e3dcea624b"><li>使用&quot;cat <a target="_blank" rel="noopener noreferrer" class="notion-link" href="http://script.sh/">script.sh</a>&quot;查看解密后的脚本</li></ul><div class="notion-blank notion-block-123bbca2741380a19a3fcf8aed539f59"> </div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-123bbca2741380ffb9cec8f45d9c61e7" data-id="123bbca2741380ffb9cec8f45d9c61e7"><span><div id="123bbca2741380ffb9cec8f45d9c61e7" class="notion-header-anchor"></div><a class="notion-hash-link" href="#123bbca2741380ffb9cec8f45d9c61e7" title="三步？ 我只需要一步"><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">三步？ 我只需要一步</span></span></h3><ul class="notion-list notion-list-disc notion-block-123bbca274138056ac19dcc9703ad6fb"><li>直接运行下面的脚本即可</li></ul><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-122bbca2741380478c8bff52956fa636" data-id="122bbca2741380478c8bff52956fa636"><span><div id="122bbca2741380478c8bff52956fa636" class="notion-header-anchor"></div><a class="notion-hash-link" href="#122bbca2741380478c8bff52956fa636" title="后记"><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">后记</span></span></h3><ul class="notion-list notion-list-disc notion-block-123bbca2741380d58b2bf9827a714cdc"><li>看到这了 我相信在座的各位不用猜都知道这是谁的手笔了 那么我在这里送给他一句话 也是一行命令（当然不是加密的了</li></ul><ul class="notion-list notion-list-disc notion-block-122bbca27413804aab85e8d282bbad14"><li>这下你知道本文为什么要分类在心情随笔里了吧：)</li></ul></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[我的cloudflare防火墙规则]]></title>
            <link>https://www.miku404.eu.org/article/2024/09/27/cf-waf</link>
            <guid>https://www.miku404.eu.org/article/2024/09/27/cf-waf</guid>
            <pubDate>Fri, 27 Sep 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[如何配置cloudflare防火墙 为你的网站增加安全性]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-10ebbca274138062b14ef3f4fe7159eb"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><ul class="notion-list notion-list-disc notion-block-10ebbca274138108a23adc253c12146c"><li>转载 内容来自 <b><a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://blog.dejavu.moe/posts/cloudflare-waf-set-up-guide">Cloudflare WAF 防护策略简易指南</a></b></li></ul><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-10ebbca2741380cd830df5421dc38312" data-id="10ebbca2741380cd830df5421dc38312"><span><div id="10ebbca2741380cd830df5421dc38312" class="notion-header-anchor"></div><a class="notion-hash-link" href="#10ebbca2741380cd830df5421dc38312" title="前言"><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">前言</span></span></h2><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-10fbbca2741380edb03ae140311cb0cd" data-id="10fbbca2741380edb03ae140311cb0cd"><span><div id="10fbbca2741380edb03ae140311cb0cd" class="notion-header-anchor"></div><a class="notion-hash-link" href="#10fbbca2741380edb03ae140311cb0cd" title="什么是WAF"><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">什么是WAF</span></span></h3><div class="notion-text notion-block-10fbbca2741380d1882ec4617c6b11d4">‘Cloudflare Web 应用程序防火墙 (Cloudflare WAF) 检查传入的 Web 和 API 请求，并根据称为规则集的规则集过滤不需要的流量。支持 WAF 规则的匹配引擎支持使用<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://developers.cloudflare.com/ruleset-engine/rules-language/">规则语言的</a>wirefilter 语法。‘</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-10fbbca274138080abbec4e3859fd73f" data-id="10fbbca274138080abbec4e3859fd73f"><span><div id="10fbbca274138080abbec4e3859fd73f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#10fbbca274138080abbec4e3859fd73f" title="为什么要配置WAF"><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">为什么要配置WAF</span></span></h3><div class="notion-text notion-block-10fbbca2741380dab960c7e6780a561a">阻止恶意流量&amp;爬虫恶意访问你的网站&amp;爬取你网站的内容 为你的网站增加安全性</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-10fbbca27413803bb4b4fcc173cd605c" data-id="10fbbca27413803bb4b4fcc173cd605c"><span><div id="10fbbca27413803bb4b4fcc173cd605c" class="notion-header-anchor"></div><a class="notion-hash-link" href="#10fbbca27413803bb4b4fcc173cd605c" title="自定义规则"><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">自定义规则</span></span></h2><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-10fbbca2741380ea8cc3d7ee03d0d772" data-id="10fbbca2741380ea8cc3d7ee03d0d772"><span><div id="10fbbca2741380ea8cc3d7ee03d0d772" class="notion-header-anchor"></div><a class="notion-hash-link" href="#10fbbca2741380ea8cc3d7ee03d0d772" title="Allow"><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">Allow</span></span></h3><ul class="notion-list notion-list-disc notion-block-10fbbca2741380ffbd93e59afe0d1ac7"><li>跳过后续所有规则</li></ul><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-10ebbca2741380389e28f6f42a05bf8e" data-id="10ebbca2741380389e28f6f42a05bf8e"><span><div id="10ebbca2741380389e28f6f42a05bf8e" class="notion-header-anchor"></div><a class="notion-hash-link" href="#10ebbca2741380389e28f6f42a05bf8e" title="Bypass"><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">Bypass</span></span></h3><ul class="notion-list notion-list-disc notion-block-10fbbca2741380faaabad1ac1f0344b8"><li>跳过UA检查 浏览器完整性检查 Hotlink保护 安全等级 速率限制规则</li></ul><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-10fbbca27413803e8b0aec97faad6db7" data-id="10fbbca27413803e8b0aec97faad6db7"><span><div id="10fbbca27413803e8b0aec97faad6db7" class="notion-header-anchor"></div><a class="notion-hash-link" href="#10fbbca27413803e8b0aec97faad6db7" title="Managed Challenge"><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"><b>Managed Challenge</b></span></span></h3><ul class="notion-list notion-list-disc notion-block-10fbbca2741380ba97f5f8c69c00fb44"><li>托管质询</li></ul><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-10fbbca274138086a029ea07ee300c26" data-id="10fbbca274138086a029ea07ee300c26"><span><div id="10fbbca274138086a029ea07ee300c26" class="notion-header-anchor"></div><a class="notion-hash-link" href="#10fbbca274138086a029ea07ee300c26" title="JS Challenge"><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"><b>JS Challenge</b></span></span></h3><ul class="notion-list notion-list-disc notion-block-10fbbca2741380609964ea96a6816990"><li>JS质询</li></ul><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-10fbbca2741380248112c291134f6920" data-id="10fbbca2741380248112c291134f6920"><span><div id="10fbbca2741380248112c291134f6920" class="notion-header-anchor"></div><a class="notion-hash-link" href="#10fbbca2741380248112c291134f6920" title="Block"><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"><b>Block</b></span></span></h3><ul class="notion-list notion-list-disc notion-block-10fbbca274138079b8b5c70e3ee4522b"><li>阻止</li></ul><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-10fbbca2741380ce9c66ecdc5042af1e" data-id="10fbbca2741380ce9c66ecdc5042af1e"><span><div id="10fbbca2741380ce9c66ecdc5042af1e" class="notion-header-anchor"></div><a class="notion-hash-link" href="#10fbbca2741380ce9c66ecdc5042af1e" title="速率限制规则"><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">速率限制规则</span></span></h2><ul class="notion-list notion-list-disc notion-block-10fbbca27413806ab660fccfa563503a"><li>当50请求/10秒 阻止 持续10秒</li></ul><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-10fbbca2741380d7bd7ecca2a83ae0f2" data-id="10fbbca2741380d7bd7ecca2a83ae0f2"><span><div id="10fbbca2741380d7bd7ecca2a83ae0f2" class="notion-header-anchor"></div><a class="notion-hash-link" href="#10fbbca2741380d7bd7ecca2a83ae0f2" title="DDoS保护"><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">DDoS保护</span></span></h2><ul class="notion-list notion-list-disc notion-block-10fbbca2741380a4b241cb8a76ae026e"><li>规则集操作：阻止</li></ul><ul class="notion-list notion-list-disc notion-block-10fbbca2741380318c30e96788d63891"><li>规则集敏感度：高</li></ul></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[sing-box windows食用指南]]></title>
            <link>https://www.miku404.eu.org/article/2024/09/25/easy-to-use-sing-box</link>
            <guid>https://www.miku404.eu.org/article/2024/09/25/easy-to-use-sing-box</guid>
            <pubDate>Wed, 25 Sep 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[如何在windows上使用sing-box]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-10cbbca27413808ea398fb8cb62897e4"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-fffbbca274138172b94dd65513f0932d" data-id="fffbbca274138172b94dd65513f0932d"><span><div id="fffbbca274138172b94dd65513f0932d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#fffbbca274138172b94dd65513f0932d" title="前言"><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">前言</span></span></h2><div class="notion-text notion-block-10cbbca274138063906ec74d03236ae3">sing box作为一款代理软件 可以在全平台使用 并且在ios tvos osx android等平台都有了成熟且相对易于使用的图形界面客户端</div><div class="notion-text notion-block-10cbbca274138051a6b0d4819abf8c8a">然而在windows平台上 官方却没有开发出相对应的客户端 第三方开发的gui for sing-box也不是那么好用 </div><div class="notion-text notion-block-10cbbca27413806aa5a1e72e07eced7e">今天我们将使用一些简单的方式实现简要的客户端功能</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-10cbbca2741380d0b2cdcf03d0865d2d" data-id="10cbbca2741380d0b2cdcf03d0865d2d"><span><div id="10cbbca2741380d0b2cdcf03d0865d2d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#10cbbca2741380d0b2cdcf03d0865d2d" title="准备工作"><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">准备工作</span></span></h2><div class="notion-text notion-block-10cbbca2741380e6b8d5d1a11abe6bf5">进入sing-box的github <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://github.com/SagerNet/sing-box">release页面</a> 下载适合你当前cpu架构 平台的压缩包</div><div class="notion-text notion-block-10cbbca2741380d58937e0e37b7a3dfa">我们有两种方法运行sing-box</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-10cbbca27413809dabfbca76b196239a" data-id="10cbbca27413809dabfbca76b196239a"><span><div id="10cbbca27413809dabfbca76b196239a" class="notion-header-anchor"></div><a class="notion-hash-link" href="#10cbbca27413809dabfbca76b196239a" title="直接通过脚本运行sing-box二进制文件"><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">直接通过脚本运行sing-box二进制文件</span></span></h3><ol start="1" class="notion-list notion-list-numbered notion-block-10cbbca27413808e8057e085376b5b7d"><li>创建一个文件夹 放入刚才下载好并解压出来的二进制文件</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-10cbbca27413802988cacae24aadf3c7"><li>打开记事本 将以下代码复制进去 并另存为run.bat</li></ol><ol start="1" class="notion-list notion-list-numbered notion-block-10cbbca27413806e98c7f926a3577c4e"><li>放入你的配置文件 重命名为config.json 双击运行脚本</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-10cbbca27413807e9293f2e1b31a2cd4"><li>如果你使用机场 切机场支持sing-box配置 则可以使用一下脚本先下载配置 再运行sing-box</li></ol><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-10cbbca274138081a2a3eefe82c6e2b0" data-id="10cbbca274138081a2a3eefe82c6e2b0"><span><div id="10cbbca274138081a2a3eefe82c6e2b0" class="notion-header-anchor"></div><a class="notion-hash-link" href="#10cbbca274138081a2a3eefe82c6e2b0" title="通过winsw运行sing-box服务"><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">通过winsw运行sing-box服务</span></span></h3><ol start="1" class="notion-list notion-list-numbered notion-block-10cbbca2741380aeb822e7f528aad3d3"><li>在winsw的<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://github.com/winsw/winsw/releases">github release页面</a>下载winsw文件 并重命名为sing-box-service.exe</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-10cbbca2741380fb9554cbc66ddba724"><li>创建一个文件夹 放入sing-box和winsw的二进制文件</li></ol><ol start="3" class="notion-list notion-list-numbered notion-block-10cbbca2741380ef84bbdb65dcbab604"><li>打开记事本 输入以下内容 并另存为 sing-box-service.xml</li></ol><ol start="1" class="notion-list notion-list-numbered notion-block-10cbbca2741380a887a0d9ae3a5f6208"><li>准备好你的配置文件（参考上文）</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-10cbbca27413800999cee5318256e338"><li>打开cmd 切换到当前目录 输入.\sing-box-service.exe install &amp;&amp; .\sing-box-service.exe start 安装 并启动sing-box服务 使用.\sing-box-service.exe stop &amp;&amp; .\sing-box-service.exe uninstall 停止 并卸载sing-box服务</li></ol><ol start="3" class="notion-list notion-list-numbered notion-block-10cbbca274138085923ed1f91ebca1d9"><li>当然您也可以将本目录添加到环境变量 然后就可以在cmd里直接控制sing-box服务了</li></ol><div class="notion-blank notion-block-10cbbca27413801bbbf5f109bec3128e"> </div><ul class="notion-list notion-list-disc notion-block-10cbbca27413801f9a25d19fa3227f2a"><li>如果你不想使用cmd 使用一下脚本即可操作sing-box服务</li></ul><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-10cbbca2741380a6b7cadbe7ce1c69d2" data-id="10cbbca2741380a6b7cadbe7ce1c69d2"><span><div id="10cbbca2741380a6b7cadbe7ce1c69d2" class="notion-header-anchor"></div><a class="notion-hash-link" href="#10cbbca2741380a6b7cadbe7ce1c69d2" title="附录"><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">附录</span></span></h2><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-10cbbca27413801b9b0fd6f40ad08212" data-id="10cbbca27413801b9b0fd6f40ad08212"><span><div id="10cbbca27413801b9b0fd6f40ad08212" class="notion-header-anchor"></div><a class="notion-hash-link" href="#10cbbca27413801b9b0fd6f40ad08212" title="订阅转换与配置生成"><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">订阅转换与配置生成</span></span></h3><div class="notion-text notion-block-10cbbca27413807b88a5fbf5dddbda52">如果你的机场不支持 或者你不喜欢机场的配置 那么你可以使用sing-box配置生成器来生成配置</div><div class="notion-text notion-block-10cbbca2741380d48821f4731dface4b">格式如下</div><div class="notion-blank notion-block-10cbbca274138042bc24d0ab9fd0d2bb"> </div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[如何搭建属于你的blog]]></title>
            <link>https://www.miku404.eu.org/article/2024/09/18/how-to-build-ur-blog</link>
            <guid>https://www.miku404.eu.org/article/2024/09/18/how-to-build-ur-blog</guid>
            <pubDate>Wed, 18 Sep 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[使用wordpress和hexo作为示例 为你讲解如何搭建博客]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-105bbca2741380918488cec9c9f982c5"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-105bbca27413808d8a43c89ef64b0ba2" data-id="105bbca27413808d8a43c89ef64b0ba2"><span><div id="105bbca27413808d8a43c89ef64b0ba2" class="notion-header-anchor"></div><a class="notion-hash-link" href="#105bbca27413808d8a43c89ef64b0ba2" title="动态博客"><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">动态博客</span></span></h2><div class="notion-text notion-block-105bbca274138062a2d9de8429d6edef">我们使用wordpress作为要讲解的内容（下文简称为wp）</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-105bbca274138074b670efc01456a2ca" data-id="105bbca274138074b670efc01456a2ca"><span><div id="105bbca274138074b670efc01456a2ca" class="notion-header-anchor"></div><a class="notion-hash-link" href="#105bbca274138074b670efc01456a2ca" title="依赖安装"><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">依赖安装</span></span></h3><ol start="1" class="notion-list notion-list-numbered notion-block-105bbca274138020bd7df7fb21c985eb"><li>使用以下命令安装wp需要的软件包</li></ol><ol start="1" class="notion-list notion-list-numbered notion-block-105bbca27413809d952ed5d9b41ba930"><li>重启服务</li></ol><div class="notion-blank notion-block-417862ec6e6249f29ce86680a011866b"> </div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-105bbca2741380ada1eed5fefd7e1c36" data-id="105bbca2741380ada1eed5fefd7e1c36"><span><div id="105bbca2741380ada1eed5fefd7e1c36" class="notion-header-anchor"></div><a class="notion-hash-link" href="#105bbca2741380ada1eed5fefd7e1c36" title="数据库配置"><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">数据库配置</span></span></h3><div class="notion-text notion-block-105bbca2741380a2ac76e5563496e1b9">我们适用MariaDB/Mysql当作博客的数据库你也可以使用其他的</div><ul class="notion-list notion-list-disc notion-block-105bbca2741380299e73f931e947dac8"><li>登陆mysql并创建数据库</li></ul><div class="notion-blank notion-block-105bbca274138076b3fbf774a39c7b2d"> </div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-105bbca274138086af6bcc4c1d7509da" data-id="105bbca274138086af6bcc4c1d7509da"><span><div id="105bbca274138086af6bcc4c1d7509da" class="notion-header-anchor"></div><a class="notion-hash-link" href="#105bbca274138086af6bcc4c1d7509da" title="下载wp源码并配置"><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">下载wp源码并配置</span></span></h3><ol start="1" class="notion-list notion-list-numbered notion-block-105bbca2741380b4aa77fdce9c401513"><li>下载源代码并解压</li></ol><ol start="1" class="notion-list notion-list-numbered notion-block-105bbca274138044bedbfd3f41fa2eb6"><li>配置访问权限</li></ol><ol start="1" class="notion-list notion-list-numbered notion-block-105bbca2741380cc9144fd3a72afb2b2"><li>配置nginx</li></ol><ol start="1" class="notion-list notion-list-numbered notion-block-105bbca27413802c8ff8caf9024d4e9f"><li>访问你的blog域名 语言选择简体中文 按照提示输入数据库名称用户和密码</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-105bbca2741380deb0f7e174ce8881fc"><li>继续配置其他基本信息 头像需要用你填写的邮箱在<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://gravatar.com/">gravatar</a>注册并配置</li></ol><div class="notion-blank notion-block-105bbca2741380be8c56c3b74b0d4588"> </div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-105bbca2741380bbaa05dde8adb2ee3b" data-id="105bbca2741380bbaa05dde8adb2ee3b"><span><div id="105bbca2741380bbaa05dde8adb2ee3b" class="notion-header-anchor"></div><a class="notion-hash-link" href="#105bbca2741380bbaa05dde8adb2ee3b" title="性能优化"><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">性能优化</span></span></h3><div class="notion-text notion-block-105bbca2741380a6b1c6f8f938e7aee0">以下内容是可选的</div><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-105bbca2741380e59cedf526281a3f90" data-id="105bbca2741380e59cedf526281a3f90"><span><div id="105bbca2741380e59cedf526281a3f90" class="notion-header-anchor"></div><a class="notion-hash-link" href="#105bbca2741380e59cedf526281a3f90" title="为wp配置redis"><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">为wp配置redis</span></span></h4><div class="notion-text notion-block-105bbca274138002811bf50217f56d95">我们在之前已经安装了redis和对应的php扩展 默认你已经配置好redis</div><div class="notion-text notion-block-105bbca27413806095a3f963bc89d0c4">现在我们登陆wp的后台 搜索并安装Redis Object Cache插件</div><div class="notion-text notion-block-e6d8a3edef27423a8bbf7ccd06306cf6">填写你配置好的信息</div><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-105bbca2741380e489fee3ee80d036fc" data-id="105bbca2741380e489fee3ee80d036fc"><span><div id="105bbca2741380e489fee3ee80d036fc" class="notion-header-anchor"></div><a class="notion-hash-link" href="#105bbca2741380e489fee3ee80d036fc" title="为php启用opcache"><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">为php启用opcache</span></span></h4><div class="notion-text notion-block-105bbca2741380289838f1616af8c234">我们已经安装opcache</div><div class="notion-text notion-block-105bbca27413804598abe4b7515cd5f5">将以下内容复制到你的php主配置文件内（一般在/etc/php/你的php版本/fpm/php.ini内）</div><div class="notion-text notion-block-105bbca274138079958cd6f9bdec142e">重启php服务</div><div class="notion-blank notion-block-105bbca2741380848536f32d5f5254fa"> </div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-6a9b1cf9f3bf45e1a4bd9723f61dd174" data-id="6a9b1cf9f3bf45e1a4bd9723f61dd174"><span><div id="6a9b1cf9f3bf45e1a4bd9723f61dd174" class="notion-header-anchor"></div><a class="notion-hash-link" href="#6a9b1cf9f3bf45e1a4bd9723f61dd174" title="其他"><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">其他</span></span></h3><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-105bbca274138007a452dbc0a95a9cd5" data-id="105bbca274138007a452dbc0a95a9cd5"><span><div id="105bbca274138007a452dbc0a95a9cd5" class="notion-header-anchor"></div><a class="notion-hash-link" href="#105bbca274138007a452dbc0a95a9cd5" title="使用certbot申请证书"><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">使用certbot申请证书</span></span></h4><ul class="notion-list notion-list-disc notion-block-105bbca27413800d8e78d31794ad42dc"><li>使用apt install certbot -y安装certbot</li></ul><ul class="notion-list notion-list-disc notion-block-105bbca27413807eaa50c7760f107a8c"><li>输入下列命令申请证书</li></ul><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-105bbca2741380dcad2bc472e8c91ad2" data-id="105bbca2741380dcad2bc472e8c91ad2"><span><div id="105bbca2741380dcad2bc472e8c91ad2" class="notion-header-anchor"></div><a class="notion-hash-link" href="#105bbca2741380dcad2bc472e8c91ad2" title="备份博客"><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">备份博客</span></span></h3><div class="notion-text notion-block-b119b4b857194e10b5ac92c6426014ed">我们使用mysqld u</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-254307edd54b4d04b0acf7eaf764c7d3" data-id="254307edd54b4d04b0acf7eaf764c7d3"><span><div id="254307edd54b4d04b0acf7eaf764c7d3" class="notion-header-anchor"></div><a class="notion-hash-link" href="#254307edd54b4d04b0acf7eaf764c7d3" title="静态博客"><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">静态博客</span></span></h2><div class="notion-text notion-block-105bbca2741380ea9226fb3a18daa024">我们使用hexo作为要讲解的内容</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-105bbca27413802c88a3d63fbb32be1a" data-id="105bbca27413802c88a3d63fbb32be1a"><span><div id="105bbca27413802c88a3d63fbb32be1a" class="notion-header-anchor"></div><a class="notion-hash-link" href="#105bbca27413802c88a3d63fbb32be1a" title="安装nodejs npm和hexo"><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">安装nodejs npm和hexo</span></span></h3><ol start="1" class="notion-list notion-list-numbered notion-block-105bbca2741380b9bb0ed54f6a72280c"><li>输入以下命令安装nodejs和npm</li></ol><ol start="1" class="notion-list notion-list-numbered notion-block-105bbca274138068bf18e815d5519a5b"><li>全局安装hexo</li></ol><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-105bbca274138039bd65ff3f598924d5" data-id="105bbca274138039bd65ff3f598924d5"><span><div id="105bbca274138039bd65ff3f598924d5" class="notion-header-anchor"></div><a class="notion-hash-link" href="#105bbca274138039bd65ff3f598924d5" title="初始化并配置hexo"><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">初始化并配置hexo</span></span></h3><ul class="notion-list notion-list-disc notion-block-105bbca2741380179c63d6b629be89f2"><li>输入以下命令初始化hexo</li></ul><ul class="notion-list notion-list-disc notion-block-6e4eb3d659484455a813cdb4d120f77d"><li>编辑config.yml</li></ul><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-105bbca2741380b589fcc21c4098b39f" data-id="105bbca2741380b589fcc21c4098b39f"><span><div id="105bbca2741380b589fcc21c4098b39f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#105bbca2741380b589fcc21c4098b39f" title="创作预览和部署"><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">创作预览和部署</span></span></h3><ul class="notion-list notion-list-disc notion-block-105bbca27413802a8ea0e1c313f40ae9"><li>使用以下命令创建文章和页面</li></ul><ul class="notion-list notion-list-disc notion-block-105bbca27413803cbbd8e4679f85e546"><li>使用hexo server预览内容 访问http://localhost:4000即可查看</li></ul><ul class="notion-list notion-list-disc notion-block-105bbca27413807a869bc47bca0ad41a"><li>使用hexo g生成静态文件</li></ul><ul class="notion-list notion-list-disc notion-block-105bbca2741380de9559cd31da0b394a"><li>使用hexo d部署（需要在配置里编辑相应内容）</li></ul><div class="notion-text notion-block-105bbca2741380679804f2f0eb15f189">推荐是用github pages托管blog 省去了配置nginx和备份的步骤</div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Re:从零开始的机场维护]]></title>
            <link>https://www.miku404.eu.org/article/2024/09/17/easy-airport-2</link>
            <guid>https://www.miku404.eu.org/article/2024/09/17/easy-airport-2</guid>
            <pubDate>Tue, 17 Sep 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-104bbca27413806a8313e287bf67d456"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-104bbca2741380b99f24c757a6dcce8f" data-id="104bbca2741380b99f24c757a6dcce8f"><span><div id="104bbca2741380b99f24c757a6dcce8f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#104bbca2741380b99f24c757a6dcce8f" title="机场面板维护教程"><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">机场面板维护教程</span></span></h2><div class="notion-blank notion-block-daeaffe14cea406f874ec8c53babe1e4"> </div><div class="notion-text notion-block-104bbca27413803e9a5fc94dbf5da536">to be continue…</div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Re:从零开始的机场搭建]]></title>
            <link>https://www.miku404.eu.org/article/2024/09/17/easy-airport</link>
            <guid>https://www.miku404.eu.org/article/2024/09/17/easy-airport</guid>
            <pubDate>Tue, 17 Sep 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[不使用面板 纯手动搭建NeXT Panel]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-104bbca27413800381a4edeedf8a09b1"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-5e4d824598254f4f9457dcfa34aad5f1" data-id="5e4d824598254f4f9457dcfa34aad5f1"><span><div id="5e4d824598254f4f9457dcfa34aad5f1" class="notion-header-anchor"></div><a class="notion-hash-link" href="#5e4d824598254f4f9457dcfa34aad5f1" title="面板搭建"><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">面板搭建</span></span></h2><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-104bbca274138019a83cf40d009c2320" data-id="104bbca274138019a83cf40d009c2320"><span><div id="104bbca274138019a83cf40d009c2320" class="notion-header-anchor"></div><a class="notion-hash-link" href="#104bbca274138019a83cf40d009c2320" title="依赖安装"><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">依赖安装</span></span></h3><div class="notion-text notion-block-104bbca27413805bbe72c4120f71e25f">面板我们使用<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://github.com/The-NeXT-Project/NeXT-Panel">NeXT-Panel</a></div><div class="notion-text notion-block-104bbca27413805bab10e1a553d75cea">可以对照<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://nextpanel.dev/docs">官方文档</a>进行安装</div><ol start="1" class="notion-list notion-list-numbered notion-block-104bbca2741380fe9a25edd18e98c6a5"><li>使用apt update &amp;&amp; apt upgrade -y更新软件包</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-104bbca27413808f918ec620fa624fc5"><li>安装需要的依赖</li></ol><ol start="1" class="notion-list notion-list-numbered notion-block-104bbca274138049bc7bfc1644482744"><li>设置nginx</li></ol><ul class="notion-list notion-list-disc notion-block-104bbca2741380d7b10ffecce4878567"><li>将将<code class="notion-inline-code">/etc/nginx/nginx.conf</code>中的<code class="notion-inline-code">user</code>更改为www-data</li></ul><ul class="notion-list notion-list-disc notion-block-104bbca27413802fabfadc156cf7cb60"><li>修改nginx配置为</li></ul><ul class="notion-list notion-list-disc notion-block-104bbca27413808099eef92ef8dd8b8d"><li>替换对应的内容 并使用 nginx -s reload 重启nginx</li></ul><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-83cb5f9e7cb14b8c88a5c3f1475a85fe" data-id="83cb5f9e7cb14b8c88a5c3f1475a85fe"><span><div id="83cb5f9e7cb14b8c88a5c3f1475a85fe" class="notion-header-anchor"></div><a class="notion-hash-link" href="#83cb5f9e7cb14b8c88a5c3f1475a85fe" title="下载网站源码"><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">下载网站源码</span></span></h3><ol start="1" class="notion-list notion-list-numbered notion-block-104bbca27413806e92a9f13cdf848dd7"><li>使用cd /var/www 切换到对应目录</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-104bbca27413801ba59ef43c79e21c5b"><li>使用mkdir nextpanel &amp;&amp; cd nextpanel创建文件夹并进入里面</li></ol><ol start="3" class="notion-list notion-list-numbered notion-block-104bbca27413801aaeedfb52b1686c17"><li>使用wget <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://github.com/SSPanel-NeXT/NeXT-Panel/releases/download/24.5.1/NeXT-Panel-24.5.1.zip">https://github.com/SSPanel-NeXT/NeXT-Panel/releases/download/24.5.1/NeXT-Panel-24.5.1.zip</a> -O panel.zip &amp;&amp; unzip panel.zip &amp;&amp; rm -f panel.zip下载网站源码并解压</li></ol><ol start="4" class="notion-list notion-list-numbered notion-block-104bbca274138061b041ca9b960428d1"><li>使用chmod -R 755 * &amp;&amp; chown -R www-data:www-data *设置文件权限</li></ol><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-104bbca274138068914bcdc02ef51eef" data-id="104bbca274138068914bcdc02ef51eef"><span><div id="104bbca274138068914bcdc02ef51eef" class="notion-header-anchor"></div><a class="notion-hash-link" href="#104bbca274138068914bcdc02ef51eef" title="设置数据库"><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">设置数据库</span></span></h3><ol start="1" class="notion-list notion-list-numbered notion-block-104bbca27413802aa2c7e52a21e10590"><li>运行mariadb -u root -p登陆数据</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-104bbca27413807ab125d168ea9517f8"><li>运行以下命令 设置数据库</li></ol><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-104bbca2741380b9b1bbec837675c955" data-id="104bbca2741380b9b1bbec837675c955"><span><div id="104bbca2741380b9b1bbec837675c955" class="notion-header-anchor"></div><a class="notion-hash-link" href="#104bbca2741380b9b1bbec837675c955" title="编辑站点配置"><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">编辑站点配置</span></span></h3><ol start="1" class="notion-list notion-list-numbered notion-block-d2bb814441734db8a2ca2d97591a774a"><li>使用cd /var/www/nextpanel切换到站点目录</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-104bbca274138071a5e7e3b5cdba4684"><li>执行以下命令 编辑配置文件</li></ol><ol start="1" class="notion-list notion-list-numbered notion-block-5238d7b74d8c4313a947b7c6d109696a"><li>执行以下命令初始化面板</li></ol><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-419169ea7f6a4be0baf3b7f9cac498c7" data-id="419169ea7f6a4be0baf3b7f9cac498c7"><span><div id="419169ea7f6a4be0baf3b7f9cac498c7" class="notion-header-anchor"></div><a class="notion-hash-link" href="#419169ea7f6a4be0baf3b7f9cac498c7" title="可选 提高php性能和安全性"><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">可选 提高php性能和安全性</span></span></h3><ul class="notion-list notion-list-disc notion-block-104bbca274138026a99cc4519f61cd8e"><li>禁用php函数</li></ul><ul class="notion-list notion-list-disc notion-block-104bbca27413803c87baff2448b7d19b"><li>启用OPcache和JIT</li></ul><ul class="notion-list notion-list-disc notion-block-104bbca2741380ed9bccc741f6ad94a1"><li>使用systemctl restart php8.3-fpm重启php以应用更改</li></ul><div class="notion-blank notion-block-104bbca2741380b2a500d8550d4f6d7e"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-cc4a333683bd419aa37b8875f203a0a2" data-id="cc4a333683bd419aa37b8875f203a0a2"><span><div id="cc4a333683bd419aa37b8875f203a0a2" class="notion-header-anchor"></div><a class="notion-hash-link" href="#cc4a333683bd419aa37b8875f203a0a2" title="后端搭建&amp;对接"><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">后端搭建&amp;对接</span></span></h2><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-104bbca274138048b01ac718537b0d9c" data-id="104bbca274138048b01ac718537b0d9c"><span><div id="104bbca274138048b01ac718537b0d9c" class="notion-header-anchor"></div><a class="notion-hash-link" href="#104bbca274138048b01ac718537b0d9c" title="搭建后端"><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">搭建后端</span></span></h3><ol start="1" class="notion-list notion-list-numbered notion-block-104bbca2741380ae9855dc30f5824e22"><li>在next-server的github <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://github.com/The-NeXT-Project/NeXT-Server/releases">release页面</a>下载对应cpu架构的压缩包</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-104bbca27413806180b6f14bb292b899"><li>解压压缩包 并进入解压出来的文件夹</li></ol><ol start="3" class="notion-list notion-list-numbered notion-block-104bbca27413808c8a9bed4527cedb2c"><li>移动文件</li></ol><ul class="notion-list notion-list-disc notion-block-104bbca274138060ad99d45be42e03fc"><li>使用mv next-server /usr/local/server将服务器二进制文件移动到对应目录 并使用chmod +x next-server给予可执行权限</li></ul><ul class="notion-list notion-list-disc notion-block-104bbca27413805cabd9c46c01f96f0b"><li>使用mv * /etc/server 将配置文件等一系列文件放入对应文件夹</li></ul><ul class="notion-list notion-list-disc notion-block-104bbca274138005bbadf6fe2e736075"><li>写入服务并启用</li></ul><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-104bbca27413806588eefd40786f2c13" data-id="104bbca27413806588eefd40786f2c13"><span><div id="104bbca27413806588eefd40786f2c13" class="notion-header-anchor"></div><a class="notion-hash-link" href="#104bbca27413806588eefd40786f2c13" title="对接面板"><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">对接面板</span></span></h3><ul class="notion-list notion-list-disc notion-block-f46749621134460ebe4fee831237d83d"><li>修改配置为以下内容 并重启next-server</li></ul><ul class="notion-list notion-list-disc notion-block-104bbca274138064b72bd2934ddc9454"><li>其他示例配置请参考next-server仓库内的<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://github.com/The-NeXT-Project/NeXT-Server/tree/main/release/config">示例配置</a></li></ul><ul class="notion-list notion-list-disc notion-block-104bbca27413807890deda661864a91d"><li>更多详细参数请参考<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://nextpanel.dev/docs/server/next-server">next-server文档</a>和<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://xrayr-project.github.io/XrayR-doc/">xrayr文档</a></li></ul><div class="notion-blank notion-block-104bbca2741380b0b873c9aa988661a5"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-104bbca274138045b2e0c7c745eeacfb" data-id="104bbca274138045b2e0c7c745eeacfb"><span><div id="104bbca274138045b2e0c7c745eeacfb" class="notion-header-anchor"></div><a class="notion-hash-link" href="#104bbca274138045b2e0c7c745eeacfb" title="其他"><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">其他</span></span></h2><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-5f34ce8b1849496187e857ab2c7aab27" data-id="5f34ce8b1849496187e857ab2c7aab27"><span><div id="5f34ce8b1849496187e857ab2c7aab27" class="notion-header-anchor"></div><a class="notion-hash-link" href="#5f34ce8b1849496187e857ab2c7aab27" title="域名申请"><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">域名申请</span></span></h4><div class="notion-text notion-block-104bbca27413806b956dd4700de3f694">申请域名可以使用certbot</div><div class="notion-blank notion-block-104bbca274138073bbcce737e12c74f0"> </div><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-64485a14d2b84353b8328d9d13df855f" data-id="64485a14d2b84353b8328d9d13df855f"><span><div id="64485a14d2b84353b8328d9d13df855f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#64485a14d2b84353b8328d9d13df855f" title="数据库备份与恢复"><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">数据库备份与恢复</span></span></h4><ul class="notion-list notion-list-disc notion-block-104bbca2741380ea8ba9efd75f08b6b0"><li>备份</li></ul><ul class="notion-list notion-list-disc notion-block-104bbca274138049bd88c6681c213c4d"><li>恢复</li></ul><div class="notion-blank notion-block-104bbca274138041bbd6fbf0de45b560"> </div></main></div>]]></content:encoded>
        </item>
    </channel>
</rss>