<?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>NotionNext BLOG</title>
        <link>https://xiaohong15.eu.org/</link>
        <description>这是一个由NotionNext生成的站点</description>
        <lastBuildDate>Sun, 14 May 2023 10:24:25 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 2023, 未来探路者一号</copyright>
        <item>
            <title><![CDATA[使用Notion搭建个人网站系列一、使用Notion创建个人主页]]></title>
            <link>https://xiaohong15.eu.org/article/notion/blog</link>
            <guid>https://xiaohong15.eu.org/article/notion/blog</guid>
            <pubDate>Thu, 16 Feb 2023 00:00:00 GMT</pubDate>
            <description><![CDATA[使用Notion搭建个人博客系列一、使用Notion编写个人主页]]></description>
            <content:encoded><![CDATA[<div id="container" class="mx-auto undefined"><main class="notion light-mode notion-page notion-block-04c319cc58644b83b712f291e770f8e3"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-text notion-block-17d6813673044e60a6b1e170a9e9a989"><b>原文地址：</b></div><div class="notion-row"><a target="_blank" rel="noopener noreferrer" class="notion-bookmark notion-block-4617ed41105846cc8cafcf7218875b60" href="https://leftpocket.cn/post/notion/blog/"><div><div class="notion-bookmark-title">leftpocket.cn</div><div class="notion-bookmark-link"><div class="notion-bookmark-link-text">https://leftpocket.cn/post/notion/blog/</div></div></div></a></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-9223d689842b4ea3be99e020a757e5ac" data-id="9223d689842b4ea3be99e020a757e5ac"><span><div id="9223d689842b4ea3be99e020a757e5ac" class="notion-header-anchor"></div><a class="notion-hash-link" href="#9223d689842b4ea3be99e020a757e5ac" 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-67682f8ea8ae4e3883b4cd436c7ab036"><b>之前我制作了一个系列教程，使用Hugo搭建个人博客系列</b></div><div class="notion-row"><a target="_blank" rel="noopener noreferrer" class="notion-bookmark notion-block-47ee9c61f0184ccea36098002425a20f" href="https://www.leftpocket.cn/categories/hugo/"><div><div class="notion-bookmark-title">hugo</div><div class="notion-bookmark-description">Hugo theme even example site.</div><div class="notion-bookmark-link"><div class="notion-bookmark-link-icon"><img src="https://www.leftpocket.cn/apple-touch-icon.png" alt="hugo" loading="lazy" decoding="async"/></div><div class="notion-bookmark-link-text">https://www.leftpocket.cn/categories/hugo/</div></div></div></a></div><div class="notion-blank notion-block-1f6e98e5440347c9ae090244dc9cfcd3"> </div><div class="notion-text notion-block-04b527635d7242408c90847bc30453b2">但是 <span class="notion-orange">Hugo</span> 对于电脑小白来说有一定的难度，需要执行一些命令，所以我这期教程准备使用 <span class="notion-orange">Notion</span> 来搭建个人网站，即使你是小白用户，也可以不用一行代码一条指令就可以轻松搭建自己的个人网站。</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-4bec7bd88ef74c428eeca56dc737227d" data-id="4bec7bd88ef74c428eeca56dc737227d"><span><div id="4bec7bd88ef74c428eeca56dc737227d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#4bec7bd88ef74c428eeca56dc737227d" 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-a9dc106ea37b4618966fc1c2f488e780">如图为个人网站的展示效果：</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-82166dc302ff477ca69debcfe5b45fb6"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fa1682d91-6bfd-4319-adfd-08c33ce4bde6%2Fdisplay.png?table=block&amp;id=82166dc3-02ff-477c-a69d-ebcfe5b45fb6" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-blank notion-block-a0e1ff7bb26d46ed8079419f0d44d639"> </div><div class="notion-text notion-block-8d8f99769a734d82ab3f138e0b3fdebe">在这个个人网站中有几个部分：<b>
</b></div><ol start="1" class="notion-list notion-list-numbered notion-block-14833f5bbb594e068b34078ad0599c77"><li>中间部分的文章是使用Notion编写的页面内容。</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-288c2653f825486fadf519d8afeefe05"><li>整个网站的展示效果是Github上的NotionNext项目实现的，可以配置化实现很多功能，比如不同的主题，添加音乐，字体，支持评论等等</li></ol><ol start="3" class="notion-list notion-list-numbered notion-block-c2a954f917264fafa0344a22624df48c"><li>这个网站部署在Vercel托管平台，Vercel可以一键导入Github项目，非常方便</li></ol><ol start="4" class="notion-list notion-list-numbered notion-block-15f346426ded46d294766466c871d460"><li>申请免费域名并绑定到个人网站
</li></ol><div class="notion-text notion-block-49c8ee973592495a8b5f31a718542515">我会通过一个系列来教大家如何完整的搭建自己的个人网站，这篇文章主要教大家如果使用Notion编写个人主页。</div><div class="notion-blank notion-block-d6feb2c3e1fe40c5bafea0c59ea69033"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-b5ec959e030742cbb4617ab480e6836a" data-id="b5ec959e030742cbb4617ab480e6836a"><span><div id="b5ec959e030742cbb4617ab480e6836a" class="notion-header-anchor"></div><a class="notion-hash-link" href="#b5ec959e030742cbb4617ab480e6836a" title="Notion是什么？"><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">Notion是什么？</span></span></h2><div class="notion-text notion-block-a1404089a1eb4f8fb989867c4199e209">Notion是一款效率软件，它极大的提升了我的学习和工作效率，并且能很好的帮助我管理我的日常生活、学习、工作等各种事情。</div><div class="notion-text notion-block-6f095e1cd5d249d98fe0b52d0efe78b3">Notion的功能实在是太过强大，基本上满足各种各样的需求，比如笔记，任务，学习，工作，协助，会议记录，规划，待办等等。</div><div class="notion-text notion-block-2c6a6d6995b343228d7a364c17cc3345">推荐每一个人都使用。</div><div class="notion-text notion-block-38f933c5c904410785d4793b686afd73">我们这里就只使用Notion来搭建个人网站。</div><div class="notion-blank notion-block-6c8b353e1b6a45d8b3c12cbad4a1d17b"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-6fe04d41e0d0494e83d996e94e70e503" data-id="6fe04d41e0d0494e83d996e94e70e503"><span><div id="6fe04d41e0d0494e83d996e94e70e503" class="notion-header-anchor"></div><a class="notion-hash-link" href="#6fe04d41e0d0494e83d996e94e70e503" title="使用Notion编写个人主页"><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">使用Notion编写个人主页</span></span></h2><div class="notion-text notion-block-9962c60bc7114555aa26ca9f8e1cfe30">首先我们需要有Notion账号，输入notion的官网地址：</div><div class="notion-row"><a target="_blank" rel="noopener noreferrer" class="notion-bookmark notion-block-24eb3a9d311c48388d2fd3ccf428b901" href="https://www.notion.so/"><div><div class="notion-bookmark-title">Your wiki, docs &amp; projects. Together.</div><div class="notion-bookmark-description">A new tool that blends your everyday work apps into one. It&#x27;s the all-in-one workspace for you and your team.</div><div class="notion-bookmark-link"><div class="notion-bookmark-link-icon"><img src="https://www.notion.so/front-static/favicon.ico" alt="Your wiki, docs &amp; projects. Together." loading="lazy" decoding="async"/></div><div class="notion-bookmark-link-text">https://www.notion.so/</div></div></div><div class="notion-bookmark-image"><img style="object-fit:cover" src="https://www.notion.so/front-static/meta/default.png" alt="Your wiki, docs &amp; projects. Together." loading="lazy" decoding="async"/></div></a></div><div class="notion-text notion-block-f94c90da44164d4eace622e2643b523b">如果是手机端可使用<span class="notion-orange"><b>Notion App</b></span></div><div class="notion-blank notion-block-087be7599efd44f9b1d437eb84f1efc6"> </div><div class="notion-text notion-block-ecb9fec0d72d47408280b7021422e29b">如果你没有notion账号，可以注册一个notion账号，可以使用email地址或者google地址注册。</div><div class="notion-text notion-block-bb4bb462fdb94e76a56183e87474baa1">侧边栏可以创建非常丰富的笔记类型，能满足基本所有的效率笔记需求。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-737f08edf24a4022bdb83f717de607ef"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F06bd199e-f965-4506-a241-cafad08c594e%2Fhome.png?table=block&amp;id=737f08ed-f24a-4022-bdb8-3f717de607ef" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-blank notion-block-3926318fb6494b90aa10802047792318"> </div><div class="notion-text notion-block-abb2d1d94e8d4d659f191be05fbe81b9">登录账号之后，打开这个Notion模版：</div><div class="notion-row"><a target="_blank" rel="noopener noreferrer" class="notion-bookmark notion-block-2a5b5b796ed94056ad8ce9c8f228dd83" href="https://www.notion.so/4011bf1dc54d4144b1c71ff18582202c"><div><div class="notion-bookmark-title">www.notion.so</div><div class="notion-bookmark-link"><div class="notion-bookmark-link-text">https://www.notion.so/4011bf1dc54d4144b1c71ff18582202c</div></div></div></a></div><div class="notion-blank notion-block-2c2923ab7b934f74aa283683bc2831d0"> </div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-aca95ccafdaa41d589e1cf96816f1d45"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F5f061c7e-78a8-44a3-bfe8-26249539c086%2Ftemplate.png?table=block&amp;id=aca95cca-fdaa-41d5-89e1-cf96816f1d45" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-7830af48ffde4a36a661ebb2dd0c6a7f">然后点击右上角的Duplicate，克隆到你的账号下面，这样你就可以开始创作了。

我们点击Duplicate克隆到到个人账户之后，点击右上角的<span class="notion-orange">Share-&gt;Share to Web</span>，那么互联网上的用户就能使用这个链接来访问我们的个人页面了。</div><div class="notion-blank notion-block-896ef07f09a94f2eb7da17d48bbc76b5"> </div><div class="notion-text notion-block-fb67c4027cb54235ab1acae55a629591">这个模版是一个表格，表格的每一行是一篇博客，我们可以在表格上面进行编辑

点击`+New`可以添加新的一行，也就是新的一篇博客，点击文档图标打开具体的博客内容进行编辑，Notion文档支持markdown语法。

我们点击`/`就可以编辑特定格式的文本，比如添加页面，待办列表，标题，表格，有序列表，无序列表，甚至还能添加媒体，比如图片，视频，音频，代码，文件等等。

所以说Notion是非常强大的。当你需要写一篇文章的时候，只需要在复制后的模版里面添加一行，然后编辑那个页面就可以了。</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-c41c78fd91124bf99bb00b4ceb47f50a" data-id="c41c78fd91124bf99bb00b4ceb47f50a"><span><div id="c41c78fd91124bf99bb00b4ceb47f50a" class="notion-header-anchor"></div><a class="notion-hash-link" href="#c41c78fd91124bf99bb00b4ceb47f50a" 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-94e3424883bd4c64b7c0830b6c5c0518">本片文章主要讲解了使用Notion搭建个人网站的宏观效果，以及教大家怎么样使用Notion去写自己的个人网站，后续的教程我会教大家怎么把个人网站托管到Vercel平台，然后申请免费域名。

就像我现在的个人网站一样。</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-287aa7e220264b84b150b05c8caa3209" data-id="287aa7e220264b84b150b05c8caa3209"><span><div id="287aa7e220264b84b150b05c8caa3209" class="notion-header-anchor"></div><a class="notion-hash-link" href="#287aa7e220264b84b150b05c8caa3209" 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><figure class="notion-asset-wrapper notion-asset-wrapper-video notion-block-358504a7a16e4cedb01166cc34fbd076"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;padding-bottom:56.25%"><link rel="preload" href="https://i.ytimg.com/vi/rpIdyWg9hUg/hqdefault.jpg" as="image"/><div class="notion-yt-lite notion-asset-object-fit" style="object-fit:contain"><img src="https://i.ytimg.com/vi/rpIdyWg9hUg/hqdefault.jpg" class="notion-yt-thumbnail" alt="Video preview"/><div class="notion-yt-playbtn"></div></div></div></figure><div class="notion-blank notion-block-20c93337bb364a05bcd1f653631594d6"> </div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[使用Notion搭建个人网站系列二、Notion页面部署到Vercel平台]]></title>
            <link>https://xiaohong15.eu.org/article/notion/vercel</link>
            <guid>https://xiaohong15.eu.org/article/notion/vercel</guid>
            <pubDate>Mon, 20 Feb 2023 00:00:00 GMT</pubDate>
            <description><![CDATA[使用Notion搭建个人网站系列二、Notion页面部署到Vercel平台]]></description>
            <content:encoded><![CDATA[<div id="container" class="mx-auto undefined"><main class="notion light-mode notion-page notion-block-52c5c2a6a148490ba8558cf919a5f1d9"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-3cd7874622044c9c9eb96b973520e080" data-id="3cd7874622044c9c9eb96b973520e080"><span><div id="3cd7874622044c9c9eb96b973520e080" class="notion-header-anchor"></div><a class="notion-hash-link" href="#3cd7874622044c9c9eb96b973520e080" 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-f8efecd5ac99431fb7fdff5add009f16">这个系列适合所有零基础的电脑小白用户，轻轻松松搭建属于自己的个人网站。</div><div class="notion-text notion-block-4c8e4431f21a405f81f0b7ba653ffce9">如果对怎么使用Notion创建一个网站页面不了解，可以看我上一篇教程：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://leftpocket.cn/post/notion/blog/">使用Notion搭建个人网站系列一、使用Notion创建个人主页</a></div><div class="notion-text notion-block-d675761151634591b3d02cf3076bbf34">按惯例先看下我的个人网站展示效果。我是非常喜欢这种主题的，也计划要把个人网站全部迁移到Notion上。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-de00969e857e4caba32b049fccfd877b"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F66b2845d-71f4-460a-8bf1-7e8540f27fc2%2Fdisplay.png?table=block&amp;id=de00969e-857e-4cab-a32b-049fccfd877b" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-919ea50cb0d2452c90d338eb92a9e5c6">搭建这样效果的个人网站只需要两个账号即可。</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-7a999f34397945dba3055ed569e8f36e" data-id="7a999f34397945dba3055ed569e8f36e"><span><div id="7a999f34397945dba3055ed569e8f36e" class="notion-header-anchor"></div><a class="notion-hash-link" href="#7a999f34397945dba3055ed569e8f36e" title="一、Github账号"><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">一、Github账号</span></span></h2><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-0cf9d8ee1f874ac5b3240bf99e6debd5" data-id="0cf9d8ee1f874ac5b3240bf99e6debd5"><span><div id="0cf9d8ee1f874ac5b3240bf99e6debd5" class="notion-header-anchor"></div><a class="notion-hash-link" href="#0cf9d8ee1f874ac5b3240bf99e6debd5" 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-d2e3846d0eef49e48466ad4d7d92f35a">如果你还没有<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://github.com/">Github</a>账号，先使用email地址注册一个，非常简单。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-cbb5dcdf3f11431bac874e68d616cfcd" data-id="cbb5dcdf3f11431bac874e68d616cfcd"><span><div id="cbb5dcdf3f11431bac874e68d616cfcd" class="notion-header-anchor"></div><a class="notion-hash-link" href="#cbb5dcdf3f11431bac874e68d616cfcd" 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-85458cddd526438ca84361db05ae9890">Fork <code class="notion-inline-code">NotionNext</code>到你的Github账号</div><div class="notion-text notion-block-e54bfb88bdcb41a78e1f51e70998e508">可以在Github的搜索框直接搜索<code class="notion-inline-code">NotionNext</code>，也可以直接点击链接：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://github.com/tangly1024/NotionNext">https://github.com/tangly1024/NotionNext</a></div><div class="notion-text notion-block-5a1aa9cc17b34240b11da5cd4f83895d">然后点击点击右上角的<code class="notion-inline-code">Fork</code>按钮：</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-9ad4af849db44e3086d2afcb667829f1"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fb592cab7-651f-44d0-8190-e81bb73981cf%2Ffork.png?table=block&amp;id=9ad4af84-9db4-4e30-86d2-afcb667829f1" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-60f2909e93eb42f98f34f5441df75836">然后就会弹出如下界面，点击<code class="notion-inline-code">Create Fork</code>，就会在你的Github账号里面拷贝一份代码。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-e63358f376744a09ae5decc7ddbd0618"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F3872d0ba-cb64-4def-a5ce-271f0ca521f8%2Ffork_notionnext.png?table=block&amp;id=e63358f3-7674-4a09-ae5d-ecc7ddbd0618" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-693ccec8d7084baaa82d945e751df8ef">这份代码就是我们搭建个人网站的关键，这个<code class="notion-inline-code">NotionNext</code>调用了Notion的API来展示Notion的页面，同时提供了一些主题和特效，可以定制化我们的网站效果。</div><div class="notion-text notion-block-f7bf53d455824658933618c63a3de6eb">对于这个仓库，我们唯一需要关注的就是<code class="notion-inline-code">blog.config.js</code>文件，我们的所有主题特效修改都只需要改这个配置文件即可，后面我会详细介绍。</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-3ee4e34067c646d4ac7a3460d44f5b21" data-id="3ee4e34067c646d4ac7a3460d44f5b21"><span><div id="3ee4e34067c646d4ac7a3460d44f5b21" class="notion-header-anchor"></div><a class="notion-hash-link" href="#3ee4e34067c646d4ac7a3460d44f5b21" title="二、Vercel账号"><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">二、Vercel账号</span></span></h2><div class="notion-text notion-block-0ce870329980410083e33a898c4488ed">如果你还没有 <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://vercel.com/">Vercel</a> 账号，先创建一个Vercel账号，直接使用刚才的github账号注册，同时方便从<code class="notion-inline-code">Github</code>导入<code class="notion-inline-code">NotionNext</code>。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-278aa0b8552f4b5a8c508d226b70c4c2" data-id="278aa0b8552f4b5a8c508d226b70c4c2"><span><div id="278aa0b8552f4b5a8c508d226b70c4c2" class="notion-header-anchor"></div><a class="notion-hash-link" href="#278aa0b8552f4b5a8c508d226b70c4c2" title="1. New Project"><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. New Project</span></span></h3><div class="notion-text notion-block-4ca1eb46391a43b19149956891abcb58">第一步是新建项目</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-ee742cd622894bb59ee2385951bc291f"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fdc06cb50-41c0-41d6-bb17-470fc5ac9dd0%2Fnew_project.png?table=block&amp;id=ee742cd6-2289-4bb5-9ee2-385951bc291f" alt="notion image" loading="lazy" decoding="async"/></div></figure><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-95877a3ee64b462e8f3f5769e9253f2d" data-id="95877a3ee64b462e8f3f5769e9253f2d"><span><div id="95877a3ee64b462e8f3f5769e9253f2d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#95877a3ee64b462e8f3f5769e9253f2d" title="2. Import Git Repository"><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. Import Git Repository</span></span></h3><div class="notion-text notion-block-e5bacf24d6c045faa5161aba359d71c7">导入Git仓库，可以选择导入所有仓库，也可以选择导入指定仓库<code class="notion-inline-code">NotionNext</code></div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-73c84abf5a224baf9cc9158d76651327"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Febeed7b7-1704-4d49-9564-cadf1a05c42e%2Finstall.png?table=block&amp;id=73c84abf-5a22-4baf-9cc9-158d76651327" alt="notion image" loading="lazy" decoding="async"/></div></figure><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-ce21a185c7cf47c895e45c3db418a331" data-id="ce21a185c7cf47c895e45c3db418a331"><span><div id="ce21a185c7cf47c895e45c3db418a331" class="notion-header-anchor"></div><a class="notion-hash-link" href="#ce21a185c7cf47c895e45c3db418a331" title="3. 选择NotionNext并Import"><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. 选择NotionNext并Import</span></span></h3><div class="notion-text notion-block-e84010e2a4474da29d32cfd935c52a02">在仓库列表里面 <code class="notion-inline-code">NotionNext</code>然后点击<code class="notion-inline-code">Import</code></div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-a9cc321292e44362822bf84473b2acda"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F055b7c60-3dec-4ad2-a105-ade399776552%2Fimport.png?table=block&amp;id=a9cc3212-92e4-4362-822b-f84473b2acda" alt="notion image" loading="lazy" decoding="async"/></div></figure><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-fcf43cf21f054752ab8be3a904314466" data-id="fcf43cf21f054752ab8be3a904314466"><span><div id="fcf43cf21f054752ab8be3a904314466" class="notion-header-anchor"></div><a class="notion-hash-link" href="#fcf43cf21f054752ab8be3a904314466" 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-9b042b68301d404d890375f3d22c275c">配置你的notionnext</div><div class="notion-text notion-block-c191a1a08e9b487bb9cfbbca6b1213f7">点击<code class="notion-inline-code">Environment Variables</code></div><div class="notion-text notion-block-7acdd5ae03264889b90fba7414f642a9">Name: <code class="notion-inline-code">NOTION_PAGE_ID</code>
Value: <code class="notion-inline-code">e4bc192eb3ac47b18c0a547fc127f542</code></div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-94c34747414848e1b005304abced9fdf"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F73a52a17-045f-47cf-9127-70db9d38919c%2Fdeploy.png?table=block&amp;id=94c34747-4148-48e1-b005-304abced9fdf" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-1237f7424be740f2aa3998212a408682">注：Value是你的Notion个人主页的值，我们从我们之前的那个Notion模版里面点击<code class="notion-inline-code">Share</code>-&gt;<code class="notion-inline-code">Share to web</code>-&gt;<code class="notion-inline-code">Copy web link</code></div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-135e62814b9f44f290c9fdb1993eadaa"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F0089171e-3ca5-4829-9b17-0d95d457f391%2Flink.png?table=block&amp;id=135e6281-4b9f-44f2-90c9-fdb1993eadaa" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-5211ba364096418f83ab224d2f29bf78">可以看到我们的link</div><pre class="notion-code"><div class="notion-code-copy"><div class="notion-code-copy-button"><svg fill="currentColor" viewBox="0 0 16 16" width="1em" version="1.1"><path fill-rule="evenodd" d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"></path><path fill-rule="evenodd" d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"></path></svg></div></div><code class="language-plain text">&lt;https://mulberry-table-1ab.notion.site/6280b79464184604bc6872e627e9b6a3?v=2cd07ed47d834c89bc60fbfee0973b6b&gt;
</code></pre><div class="notion-text notion-block-5aae9771588246ecbebf0dc9a4a70585">那么中间这个部分就是你的value，填到环境变量里面。</div><div class="notion-text notion-block-7544c8458fe746688b77bb6a0ce6c073">点击 Deploy，然后等两分钟，就可以部署成功了。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-09147ed5568b4e2aa423dfa46353228e"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F42d3aee4-5bb1-45fb-a814-16793e36ed2b%2Fcongratulation.png?table=block&amp;id=09147ed5-568b-4e2a-a423-dfa46353228e" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-cac140c410074f2ea9be24438a14ae0c">然后点击Vercel分配给你的域名直接访问，就可以访问到你的个人网站了。由于网络限制的原因，可能访问不成功，没关系，我们下一步申请域名来绑定到个人网站来访问。</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-73d391814c7f4ae8bf1f9ea6141cc577" data-id="73d391814c7f4ae8bf1f9ea6141cc577"><span><div id="73d391814c7f4ae8bf1f9ea6141cc577" class="notion-header-anchor"></div><a class="notion-hash-link" href="#73d391814c7f4ae8bf1f9ea6141cc577" 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-468f8260f9704d7eb6120882e7bae3d0">我们刚才说过<code class="notion-inline-code">blog.config.js</code>文件是Notion个人网站的一些配置，我们可以直接修改这个配置文件来修改展示效果。</div><div class="notion-text notion-block-a3b1a91b9f694534a63e18726c3e6ecd">文件里面每一行的作用都有详细的注释，你可以根据需求修改。我们在Github上的修改，无需重新部署，Vercel会监听Github的修改，自动部署。</div><pre class="notion-code"><div class="notion-code-copy"><div class="notion-code-copy-button"><svg fill="currentColor" viewBox="0 0 16 16" width="1em" version="1.1"><path fill-rule="evenodd" d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"></path><path fill-rule="evenodd" d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"></path></svg></div></div><code class="language-typescript">AUTHOR: process.env.NEXT_PUBLIC_AUTHOR || &#x27;科技小飞哥&#x27;, // 您的昵称 例如 techxiaofei
BIO: process.env.NEXT_PUBLIC_BIO || &#x27;科技小飞哥的个人网站&#x27;, // 作者简介
LINK: process.env.NEXT_PUBLIC_LINK || &#x27;https://techxiaofei.eu.org&#x27;, // 网站地址</code></pre><div class="notion-text notion-block-987549697c714040a1f9fc38492c314d">所有带有<code class="notion-inline-code">process.env</code>前缀的变量，都可以在<code class="notion-inline-code">Notion</code>里面添加环境变量配置来覆盖，同<code class="notion-inline-code">NOTION_PAGE_ID</code>一样，意味着如果你不想修改<code class="notion-inline-code">NotionNext</code>代码仓库，是完全可行的。</div><div class="notion-text notion-block-b502547561d04f4597e0b285ba8d6d60">同时NotionNext代码仓库还有着其它非常丰富的配置可以修改，甚至可以显示主题选项，随时一键切换主题，显示鼠标点击特效，动态特效，宠物挂件，音乐播放插件，等等。</div><div class="notion-text notion-block-a2e144e9fb4b4baba4349873dfce6f44">这些都等着你探索。</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-950e956d675f4063a001054d66003cd7" data-id="950e956d675f4063a001054d66003cd7"><span><div id="950e956d675f4063a001054d66003cd7" class="notion-header-anchor"></div><a class="notion-hash-link" href="#950e956d675f4063a001054d66003cd7" 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-e3cc1c89be05460a96c5876ecdcfa8f6">可以看到我们搭建一个<code class="notion-inline-code">个人网站</code>根本不需要任何编程基础或者执行指令。</div><div class="notion-text notion-block-2cbf3176e1284f3cb314693e4e3b73dd">到现在我们算是成功了80%，还有一步就是申请免费域名就绑定到个人网站。
下一篇我会讲如何申请免费域名并绑定到个人网站，到这一步，你的个人网站才算完整。</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-0f18ea06127348b7ae3ffedc39d3af7d" data-id="0f18ea06127348b7ae3ffedc39d3af7d"><span><div id="0f18ea06127348b7ae3ffedc39d3af7d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#0f18ea06127348b7ae3ffedc39d3af7d" 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><figure class="notion-asset-wrapper notion-asset-wrapper-video notion-block-8420c1cead4648ac90b03c6bf1f564bb"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;padding-bottom:56.25%"><link rel="preload" href="https://i.ytimg.com/vi/08z9GPshpSg/hqdefault.jpg" as="image"/><div class="notion-yt-lite notion-asset-object-fit" style="object-fit:contain"><img src="https://i.ytimg.com/vi/08z9GPshpSg/hqdefault.jpg" class="notion-yt-thumbnail" alt="Video preview"/><div class="notion-yt-playbtn"></div></div></div></figure></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[VPS搭建v2ray科学上网｜自建机场｜附各平台使用教程]]></title>
            <link>https://xiaohong15.eu.org/article/vpn/v2ray</link>
            <guid>https://xiaohong15.eu.org/article/vpn/v2ray</guid>
            <pubDate>Sat, 08 Apr 2023 00:00:00 GMT</pubDate>
            <description><![CDATA[VPS搭建v2ray科学上网｜自建机场｜附各平台使用教程]]></description>
            <content:encoded><![CDATA[<div id="container" class="mx-auto undefined"><main class="notion light-mode notion-page notion-block-415a436884aa44dabce18f6e29af1153"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-5231bb3caed147f0b30ec864d7610df9" data-id="5231bb3caed147f0b30ec864d7610df9"><span><div id="5231bb3caed147f0b30ec864d7610df9" class="notion-header-anchor"></div><a class="notion-hash-link" href="#5231bb3caed147f0b30ec864d7610df9" 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-0bbaae2f2c714632aaf1f5703ef94053">亲爱的小伙伴大家好，今天教大家如何在云服务器上自建机场进行科学上网。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-a356433e62dd4eb0b22c7e0d178a99e9" data-id="a356433e62dd4eb0b22c7e0d178a99e9"><span><div id="a356433e62dd4eb0b22c7e0d178a99e9" class="notion-header-anchor"></div><a class="notion-hash-link" href="#a356433e62dd4eb0b22c7e0d178a99e9" 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-73500ad7883d438eb2339d0cd66dd0d4">Chatgpt的爆火带动了一批科学上网的需求剧增，很多人都是订阅机场来满足科学上网的需求，订阅的机场第一是非常不安全容易暴露个人隐私，第二是使用同一IP的人数太多，像使用来访问chatgpt，非常容易被识别出来然后被封号。所以这种场景下还是自己搭建科学上网梯子最安全，独立的IP地址，同时个人隐私也有保障。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-1ec334393c5c44aaa63c8bbd91a78c7f" data-id="1ec334393c5c44aaa63c8bbd91a78c7f"><span><div id="1ec334393c5c44aaa63c8bbd91a78c7f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1ec334393c5c44aaa63c8bbd91a78c7f" 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-f5b8c496a0884b18bb2905bc46a86b6c">自己搭建机场需要一台VPS或者云服务器，拥有一台VPS不仅可以搭建机场，还可以用来部署服务把chatgpt接入各种平台，比如微信，公众号，网站，电报等等。</div><div class="notion-text notion-block-b2dbb1efdf114af0baab097f6ff34621">国内的云服务器供应商，如果搭建科学上网或者部署Chatgpt服务，都面临被封的风险，所以建议有此需求的小伙伴去国外的服务器供应商购买。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-f4c3be067e9f43efb20bf0aa5b1f185f" data-id="f4c3be067e9f43efb20bf0aa5b1f185f"><span><div id="f4c3be067e9f43efb20bf0aa5b1f185f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#f4c3be067e9f43efb20bf0aa5b1f185f" title="VPS/云服务器"><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">VPS/云服务器</span></span></h3><div class="notion-text notion-block-293b44652ba941d3937fcdd20a1c25bc">如果你还没有VPS或者云服务器，我给大家推荐一家国外的云服务器供应商。</div><div class="notion-text notion-block-7d6925a4c0ed4feb94bfb343d196a13c">可以点此地址购买：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="http://bit.ly/3GlfucW">http://bit.ly/3GlfucW</a></div><div class="notion-text notion-block-fcec5282691f410fbee59a3fc9380e51">它们的<code class="notion-inline-code">VPS</code>非常便宜，最便宜的VPS只需要<code class="notion-inline-code">3美刀</code>一个月，你可以在上面自建机场搭建<code class="notion-inline-code">科学上网</code>，搭建<code class="notion-inline-code">个人网站</code>，也可以用来<code class="notion-inline-code">接入ChatGPT</code>。如果你的预算充足，也可以直接购买<code class="notion-inline-code">云服务器</code>，也非常便宜，每个月只需要<code class="notion-inline-code">7美刀</code>左右。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-8ce601def4e34c2d81348a8e68f074ed"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F3a447b97-5f82-40ca-b8f7-26706c7b6662%2Fraksmart.png?table=block&amp;id=8ce601de-f4e3-4c2d-8134-8a8e68f074ed" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-43f88e5ef418465dad304e30ed2a81c1">你订阅一个靠谱的<code class="notion-inline-code">机场</code>的价格也差不多这个价，但是自己购买VPS可以在上面自建机场代理，同时还可以接入ChatGPT。</div><div class="notion-text notion-block-80542c09012b492f81047f79a061a8ea">有需求的小伙伴可以点此 <a target="_blank" rel="noopener noreferrer" class="notion-link" href="http://bit.ly/3GlfucW">http://bit.ly/3GlfucW</a> 链接注册购买。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-a3ae6ae7a9614eb6ba7076b26f945a4d" data-id="a3ae6ae7a9614eb6ba7076b26f945a4d"><span><div id="a3ae6ae7a9614eb6ba7076b26f945a4d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#a3ae6ae7a9614eb6ba7076b26f945a4d" 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-9b595c41e26f4083bbd529183e3ae3aa">科学上网的技术一直在发展。从最开始的VPN到SS到SSR再到v2ray，像VPN或者SSR这些前些年比较火，但是由于流量特征比较明显，非常容易被识别并被封。所以现在已经很少使用了。</div><div class="notion-text notion-block-dbe35223c11b4440a04506572f643584"><span class="notion-red"><b>V2Ray</b></span>使用了新的自行研发的<b><span class="notion-red">VMess</span></b>协议，改正了SSR一些已有的缺点，更难被墙检测到。所以V2ray就成了最近非常火的科学上网工具。</div><div class="notion-text notion-block-c5f052f85dd64c1c969193b25a82da46">v2ray要说缺点，那就是配置比较复杂，不过现在越来越多的大牛写了很多一键部署脚本，让小白少走很多弯路，可以轻松<span class="notion-red">一键部署v2ray</span>进行<span class="notion-red">科学上网</span>。</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-0374506f1a254352be9daefe0a620b19" data-id="0374506f1a254352be9daefe0a620b19"><span><div id="0374506f1a254352be9daefe0a620b19" class="notion-header-anchor"></div><a class="notion-hash-link" href="#0374506f1a254352be9daefe0a620b19" title="快速搭建 v2ray"><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">快速搭建 v2ray</span></span></h2><div class="notion-text notion-block-e0b468abd5ed4e958e63cf7fe1aa2895">我们使用Ubuntu服务器来快速搭建v2ray，首先你需要有一台在境外的ubuntu云服务器。</div><div class="notion-text notion-block-cbb90e00e67a4c608cf2612968d0ac14">如果没有可以点此地址购买，它们的VPS服务器非常便宜：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="http://bit.ly/3GlfucW">http://bit.ly/3GlfucW</a></div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-d2c7796a685744f6890d1c4527634fce" data-id="d2c7796a685744f6890d1c4527634fce"><span><div id="d2c7796a685744f6890d1c4527634fce" class="notion-header-anchor"></div><a class="notion-hash-link" href="#d2c7796a685744f6890d1c4527634fce" title="v2ray 一键脚本安装"><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">v2ray 一键脚本安装</span></span></h3><div class="notion-text notion-block-b0b71d1933ec43f5bddfb2a9b1700837">我们直接使用大神一键安装脚本。</div><ol start="1" class="notion-list notion-list-numbered notion-block-e1fb0474e8dd4cdb9e958f54d6df7b66"><li>切换root权限</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-d626e37a630b4ce1a0303db024b097b6"><li>执行v2ray一键安装脚本</li></ol><pre class="notion-code"><div class="notion-code-copy"><div class="notion-code-copy-button"><svg fill="currentColor" viewBox="0 0 16 16" width="1em" version="1.1"><path fill-rule="evenodd" d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"></path><path fill-rule="evenodd" d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"></path></svg></div></div><code class="language-shell">sudo su
bash &lt;(curl -s -L https://git.io/v2ray.sh)</code></pre><div class="notion-text notion-block-df543d8a30654d75ac393142df29618f">如果提示<code class="notion-inline-code">-bash: curl: command not found</code>，执行如下命令安装curl：</div><pre class="notion-code"><div class="notion-code-copy"><div class="notion-code-copy-button"><svg fill="currentColor" viewBox="0 0 16 16" width="1em" version="1.1"><path fill-rule="evenodd" d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"></path><path fill-rule="evenodd" d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"></path></svg></div></div><code class="language-shell">sudo apt install curl -y</code></pre><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-a3c6e0894b354bc2b026e64eae86c49c" data-id="a3c6e0894b354bc2b026e64eae86c49c"><span><div id="a3c6e0894b354bc2b026e64eae86c49c" class="notion-header-anchor"></div><a class="notion-hash-link" href="#a3c6e0894b354bc2b026e64eae86c49c" 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-d208589eeef74752b6b10455ee15191a">执行上述命令然后点击Enter</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-cc97b7512365492c9708e86054c7b63d"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F8214348b-1d26-4e30-aba8-e46bcef5baff%2Finstall.png?table=block&amp;id=cc97b751-2365-492c-9708-e86054c7b63d" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-581f81f488ef44698c68340275c8c348">输入<code class="notion-inline-code">1</code>选择安装。</div><div class="notion-blank notion-block-0a8e8769aed74573bcc43df99f8bed1f"> </div><div class="notion-text notion-block-23468e65b5e743efbf658853f64c0325">之后所有的都选默认（点击Enter即可，不需要输入），点击继续。</div><div class="notion-text notion-block-2a679c37341444deab31aa4baf5f737f">如果提示需要重启服务，选择Yes即可。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-72f60f09bcf54f0bb6265a3fb4ab47f8"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Ffdb8929f-7f33-49ff-99d3-1ff2509a3cdc%2Frestart.png?table=block&amp;id=72f60f09-bcf5-4f0b-b626-5a3fb4ab47f8" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-3e92894c40bf49d9aa0eef71039b3edf">注意：我们有几个信息比较重要，是需要配置在你连接v2ray的客户端上的。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-41c5fc7a2b044ddbb46dbdfa90b47829"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F2cb7b87a-60bb-4cd3-aa91-6847e2857169%2Finfo.png?table=block&amp;id=41c5fc7a-2b04-4ddb-b46d-bdfa90b47829" alt="notion image" loading="lazy" decoding="async"/></div></figure><pre class="notion-code"><div class="notion-code-copy"><div class="notion-code-copy-button"><svg fill="currentColor" viewBox="0 0 16 16" width="1em" version="1.1"><path fill-rule="evenodd" d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"></path><path fill-rule="evenodd" d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"></path></svg></div></div><code class="language-plain text">地址（Address）
端口（Port）
用户ID（UUID）
额外ID（Alter ID）</code></pre><div class="notion-blank notion-block-e5444b485564425481f7f36521a0715d"> </div><div class="notion-text notion-block-1a5bfc81a1e546b79c49c7e8c10784a8">可以保存下来，也可以之后进入到 <code class="notion-inline-code">/etc/v2ray/config.json</code> 文件查看。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-c6d0c5bbcbfb48fca089602e42649303" data-id="c6d0c5bbcbfb48fca089602e42649303"><span><div id="c6d0c5bbcbfb48fca089602e42649303" class="notion-header-anchor"></div><a class="notion-hash-link" href="#c6d0c5bbcbfb48fca089602e42649303" 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-adf6e5b4c03a4433927ac73466987499">执行完成之后，v2ray已经默认启动了，你可以执行指令查看是否真的启动</div><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-3653dbd9f3fc45108b7a7dd6d363efe0" data-id="3653dbd9f3fc45108b7a7dd6d363efe0"><span><div id="3653dbd9f3fc45108b7a7dd6d363efe0" class="notion-header-anchor"></div><a class="notion-hash-link" href="#3653dbd9f3fc45108b7a7dd6d363efe0" title="1. v2ray命令"><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. v2ray命令</span></span></h4><div class="notion-text notion-block-ca2378142ba24109b6416201eeb4827f">输入<code class="notion-inline-code">v2ray</code>命令查看运行状态：</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-b3906f509cfc4a178f728e8629509b51"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F0f601d70-20a3-4b02-85e2-5214660355c2%2Frun.png?table=block&amp;id=b3906f50-9cfc-4a17-8f72-8e8629509b51" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-0420695edd7e4895a43ec37f231b9843">显示正在运行代表运行成功。</div><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-f048537ba15845ffa1b92dd0f8f5e10d" data-id="f048537ba15845ffa1b92dd0f8f5e10d"><span><div id="f048537ba15845ffa1b92dd0f8f5e10d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#f048537ba15845ffa1b92dd0f8f5e10d" title="2. Linux 命令"><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. Linux 命令</span></span></h4><div class="notion-text notion-block-18cfde8b159e4ef5855dcad28fe8201f"><code class="notion-inline-code">ps -ef | grep -v grep | grep v2ray</code>
linux命令，可以查看v2ray的进程是否存在</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-7796e6b7a00643f49d90ef5a57243ad2"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F2f7ea38a-1629-4344-b0e0-90ac8e05ce00%2Fgrep.png?table=block&amp;id=7796e6b7-a006-43f4-9d90-ef5a57243ad2" alt="notion image" loading="lazy" decoding="async"/></div></figure><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-5275973b91914b1480c663f7b3f83de3" data-id="5275973b91914b1480c663f7b3f83de3"><span><div id="5275973b91914b1480c663f7b3f83de3" class="notion-header-anchor"></div><a class="notion-hash-link" href="#5275973b91914b1480c663f7b3f83de3" 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-a2d9587ebb7849fea8962887d6d61989">如果你刚才保存了地址，端口等配置信息，就不需要查看了，如果忘了保存。</div><pre class="notion-code"><div class="notion-code-copy"><div class="notion-code-copy-button"><svg fill="currentColor" viewBox="0 0 16 16" width="1em" version="1.1"><path fill-rule="evenodd" d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"></path><path fill-rule="evenodd" d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"></path></svg></div></div><code class="language-shell">cat /etc/v2ray/config.json</code></pre><div class="notion-text notion-block-4ad42a121bd64c65ad71910931ecac64">可以查看配置信息</div><div class="notion-text notion-block-90e660febe6a44f2bbb74d6b06f22897">里面的inbounds信息比较重要，也就是入口流量</div><pre class="notion-code"><div class="notion-code-copy"><div class="notion-code-copy-button"><svg fill="currentColor" viewBox="0 0 16 16" width="1em" version="1.1"><path fill-rule="evenodd" d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"></path><path fill-rule="evenodd" d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"></path></svg></div></div><code class="language-json">&quot;inbounds&quot;: [
		{
			&quot;port&quot;: 24649,
			&quot;protocol&quot;: &quot;vmess&quot;,
			&quot;settings&quot;: {
				&quot;clients&quot;: [
					{
						&quot;id&quot;: &quot;16b44a2c-106d-44f2-b4e9-e756b2294044&quot;,
						&quot;level&quot;: 1,
						&quot;alterId&quot;: 0
					}
				]
			},
			&quot;streamSettings&quot;: {
				&quot;network&quot;: &quot;tcp&quot;
			},
			&quot;sniffing&quot;: {
				&quot;enabled&quot;: true,
				&quot;destOverride&quot;: [
					&quot;http&quot;,
					&quot;tls&quot;
				]
			}
		}
]
</code></pre><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-f619e875393a477c8a0d06595c386ee7" data-id="f619e875393a477c8a0d06595c386ee7"><span><div id="f619e875393a477c8a0d06595c386ee7" class="notion-header-anchor"></div><a class="notion-hash-link" href="#f619e875393a477c8a0d06595c386ee7" 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-798247c9038d4bb6b56539506db36431">一般的云服务器都会有防火墙来阻挡非法流量，你需要把刚才的端口加到安全组策略里面。</div><div class="notion-text notion-block-b9be53fd7eb345ad84de48fbfa62b33c">你可以在个人电脑尝试telent你的IP和端口</div><pre class="notion-code"><div class="notion-code-copy"><div class="notion-code-copy-button"><svg fill="currentColor" viewBox="0 0 16 16" width="1em" version="1.1"><path fill-rule="evenodd" d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"></path><path fill-rule="evenodd" d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"></path></svg></div></div><code class="language-shell"># 例子 telnet IP port，使用你的真实IP和端口代替
telnet a.b.c.d 12345</code></pre><div class="notion-text notion-block-f34dae682aee48cd91f5c242e00ca7ef">如果能联通，说明可以使用，如果不行，那么就需要设置安全组策略。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-96cdf952f4d448d4913b5ccd2a940f69"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F05d60c4e-843a-4e5b-bf61-9bf510512ea0%2Fwall.png?table=block&amp;id=96cdf952-f4d4-48d4-913b-5ccd2a940f69" alt="notion image" loading="lazy" decoding="async"/></div></figure><ul class="notion-list notion-list-disc notion-block-315d9e5a9d88401aa0934099e8e5b2c1"><li>规则方向选择入口流量</li></ul><ul class="notion-list notion-list-disc notion-block-bb45d9d360594dc281501f949dff931d"><li>协议选择自定义TCP</li></ul><ul class="notion-list notion-list-disc notion-block-af3ab84dc1094454a35e7a161fe5d847"><li>端口选择你部署的v2ray端口</li></ul><ul class="notion-list notion-list-disc notion-block-841cd5c83be1402cb46984e851da969e"><li>授权IP填写 0.0.0.0/0</li></ul><div class="notion-text notion-block-ab78ae61a40a4d2985266733020b96de">添加成功之后使用 <code class="notion-inline-code">telnet IP port</code>就可以成功了。（使用你的真实IP端口代替）</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-4c7230eb4a334c4c849e2a5b50fbf68d" data-id="4c7230eb4a334c4c849e2a5b50fbf68d"><span><div id="4c7230eb4a334c4c849e2a5b50fbf68d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#4c7230eb4a334c4c849e2a5b50fbf68d" 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-2bb901d75d5d48029d6d3a4d49e323fa">每个平台都有多种客户端可以连接v2ray进行科学上网。
客户端连接一般来说只需要填写</div><pre class="notion-code"><div class="notion-code-copy"><div class="notion-code-copy-button"><svg fill="currentColor" viewBox="0 0 16 16" width="1em" version="1.1"><path fill-rule="evenodd" d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"></path><path fill-rule="evenodd" d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"></path></svg></div></div><code class="language-shell">地址（Address）
端口（Port）
用户ID（UUID）
额外ID（Alter ID）</code></pre><div class="notion-text notion-block-4cf338d2fbf74d3781f4bcd2088c438c">我这里每个平台推荐一个软件来进行科学上网。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-46ac9e272a5e444a84d2faa8e2026d10" data-id="46ac9e272a5e444a84d2faa8e2026d10"><span><div id="46ac9e272a5e444a84d2faa8e2026d10" class="notion-header-anchor"></div><a class="notion-hash-link" href="#46ac9e272a5e444a84d2faa8e2026d10" title="Windows"><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">Windows</span></span></h3><div class="notion-text notion-block-76e679bb25464e6681eb32f77cd8f4de">TODO</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-2a07019f6255421198ef6b785fb2b75c" data-id="2a07019f6255421198ef6b785fb2b75c"><span><div id="2a07019f6255421198ef6b785fb2b75c" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2a07019f6255421198ef6b785fb2b75c" title="Android"><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">Android</span></span></h3><div class="notion-text notion-block-288fedcd5d21415b9f6b9008977fabb2">TODO</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-810b5324a3bd443e8b67b5aa69a6d88f" data-id="810b5324a3bd443e8b67b5aa69a6d88f"><span><div id="810b5324a3bd443e8b67b5aa69a6d88f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#810b5324a3bd443e8b67b5aa69a6d88f" title="MacOS"><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">MacOS</span></span></h3><div class="notion-text notion-block-0222685061374626a7b54b824367365e">TODO</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-70d833c0e7cc4eaf865e2a5123037cd1" data-id="70d833c0e7cc4eaf865e2a5123037cd1"><span><div id="70d833c0e7cc4eaf865e2a5123037cd1" class="notion-header-anchor"></div><a class="notion-hash-link" href="#70d833c0e7cc4eaf865e2a5123037cd1" title="iPhone"><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">iPhone</span></span></h3><div class="notion-text notion-block-19b03fcbf0474b7785b6803beeaefe1f">TODO</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-f67c28609f8b4718b3145639b96d5a7f" data-id="f67c28609f8b4718b3145639b96d5a7f"><span><div id="f67c28609f8b4718b3145639b96d5a7f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#f67c28609f8b4718b3145639b96d5a7f" 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><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-22efb052aff94e0787222ea21b045525" data-id="22efb052aff94e0787222ea21b045525"><span><div id="22efb052aff94e0787222ea21b045525" class="notion-header-anchor"></div><a class="notion-hash-link" href="#22efb052aff94e0787222ea21b045525" 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-34d43acc67954426a931a8ede11b3ef2">我只是推荐了几款我觉得比较好用的客户端，v2ray整体来说配置有一定的难度，如果你需要某个系统的客户端安装配置教程，可以评论区留言，我会单独制作一篇教程。</div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-c681fb0a2e9e41f897fe204dcda34a35" data-id="c681fb0a2e9e41f897fe204dcda34a35"><span><div id="c681fb0a2e9e41f897fe204dcda34a35" class="notion-header-anchor"></div><a class="notion-hash-link" href="#c681fb0a2e9e41f897fe204dcda34a35" 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-80eb18fbd8054f998f910e8b38511bf6"> </div><figure class="notion-asset-wrapper notion-asset-wrapper-video notion-block-d391ac6755a74c76b1bb0f2bb005aad5"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;padding-bottom:56.25%"><link rel="preload" href="https://i.ytimg.com/vi/7P3uCPe47Os/hqdefault.jpg" as="image"/><div class="notion-yt-lite notion-asset-object-fit" style="object-fit:contain"><img src="https://i.ytimg.com/vi/7P3uCPe47Os/hqdefault.jpg" class="notion-yt-thumbnail" alt="Video preview"/><div class="notion-yt-playbtn"></div></div></div></figure></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[国内无法使用ChatGPT？一招叫你轻松访问，免翻墙随时随地使用ChatGPT]]></title>
            <link>https://xiaohong15.eu.org/article/chatgpt/webpro</link>
            <guid>https://xiaohong15.eu.org/article/chatgpt/webpro</guid>
            <pubDate>Mon, 10 Apr 2023 00:00:00 GMT</pubDate>
            <description><![CDATA[国内无法使用ChatGPT？一招叫你免翻墙轻松使用ChatGPT]]></description>
            <content:encoded><![CDATA[<div id="container" class="mx-auto undefined"><main class="notion light-mode notion-page notion-block-354353ab813841bcb62ddb894f6f6e1e"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-blank notion-block-b95d85346fc94b3188730eddcaf0164f"> </div><div class="notion-text notion-block-78795281086244b2acce192426036f8f">完整版文字教程：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://www.techxiaofei.com/post/chatgpt/webpro">https://www.techxiaofei.com/post/chatgpt/webpro</a></div><div class="notion-blank notion-block-df19da70a0f64633975340455e7ab178"> </div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-5123d325488a4b4f8baec002d2b6c17e" data-id="5123d325488a4b4f8baec002d2b6c17e"><span><div id="5123d325488a4b4f8baec002d2b6c17e" class="notion-header-anchor"></div><a class="notion-hash-link" href="#5123d325488a4b4f8baec002d2b6c17e" 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><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-b881094ed11e4071b0d41720301f384d"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fec5a15e8-ee70-40d5-b5c6-76c1460ec7f5%2Fpc.png?table=block&amp;id=b881094e-d11e-4071-b0d4-1720301f384d" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-blank notion-block-7976e41d9d194d7e870a9616e42e607f"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-d3e0ee10e62d4980bb85dc53a74e122b" data-id="d3e0ee10e62d4980bb85dc53a74e122b"><span><div id="d3e0ee10e62d4980bb85dc53a74e122b" class="notion-header-anchor"></div><a class="notion-hash-link" href="#d3e0ee10e62d4980bb85dc53a74e122b" 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-873cc61ebfb041c48325688e020b4358" data-id="873cc61ebfb041c48325688e020b4358"><span><div id="873cc61ebfb041c48325688e020b4358" class="notion-header-anchor"></div><a class="notion-hash-link" href="#873cc61ebfb041c48325688e020b4358" 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-3ed62f2576254027a6d1254192cadf40">点此链接注册购买有优惠： <a target="_blank" rel="noopener noreferrer" class="notion-link" href="http://bit.ly/3GlfucW">http://bit.ly/3GlfucW</a></div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-0f630141b89848c6b06544ea8b4f8740" data-id="0f630141b89848c6b06544ea8b4f8740"><span><div id="0f630141b89848c6b06544ea8b4f8740" class="notion-header-anchor"></div><a class="notion-hash-link" href="#0f630141b89848c6b06544ea8b4f8740" title="获取API Keys"><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">获取API Keys</span></span></h3><div class="notion-text notion-block-0d867b19de4f4b13911b5b5a6d0fc378">API Key获取地址：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://platform.openai.com/">https://platform.openai.com/</a></div><div class="notion-text notion-block-e3839697eae8468ea24ae0e2401fa224">Access Token获取地址：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://chat.openai.com/api/auth/session">https://chat.openai.com/api/auth/session</a></div><div class="notion-blank notion-block-530bce42b96440c6913cb0001679f192"> </div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-2cf46d031c28499482ffdad41d823b6f" data-id="2cf46d031c28499482ffdad41d823b6f"><span><div id="2cf46d031c28499482ffdad41d823b6f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2cf46d031c28499482ffdad41d823b6f" 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><pre class="notion-code"><div class="notion-code-copy"><div class="notion-code-copy-button"><svg fill="currentColor" viewBox="0 0 16 16" width="1em" version="1.1"><path fill-rule="evenodd" d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"></path><path fill-rule="evenodd" d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"></path></svg></div></div><code class="language-shell"># 更新包管理器
sudo apt-get update

# 安装docker
apt install docker.io

# 下载docker镜像
docker pull techxiaofei/chatgpt-web:latest

# 给镜像打标签
docker tag techxiaofei/chatgpt-web chatgpt-web

# 后台运行，可修改主机端口 比如：80-&gt;8080，3002是容器端口，不可修改
docker run --name chatgpt-web -d -p 0.0.0.0:80:3002 --env OPENAI_API_KEY=your_api_key chatgpt-web

# 后台运行，使用密码访问
docker run --name chatgpt-web -d -p 0.0.0.0:80:3002 --env OPENAI_API_KEY=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 --env AUTH_SECRET_KEY=techxiaofei chatgpt-web

# 停掉进程（如需重启）
docker stop chatgpt-web
docker rm chatgpt-web</code></pre><div class="notion-blank notion-block-b9354be6f574426e88a79b8db24759e4"> </div><table class="notion-simple-table notion-block-923a8978452a462298a6ae61f4263ffe"><tbody><tr class="notion-simple-table-row notion-block-5731e0657f514a9d920fa160e001a4c0"><td class="" style="width:120px"><div class="notion-simple-table-cell">环境变量名称</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">必填</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">备注</div></td></tr><tr class="notion-simple-table-row notion-block-130c9bc5b8d6415fa7bbb47a4d916dd8"><td class="" style="width:120px"><div class="notion-simple-table-cell"><code class="notion-inline-code">OPENAI_API_KEY</code></div></td><td class="" style="width:120px"><div class="notion-simple-table-cell"><code class="notion-inline-code">OpenAI API</code> 二选一</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">使用 <code class="notion-inline-code">OpenAI API</code> 所需的 <code class="notion-inline-code">apiKey</code> <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://platform.openai.com/overview">(获取 apiKey)</a></div></td></tr><tr class="notion-simple-table-row notion-block-4f7e1a2394a14adda34251bf34a803ba"><td class="" style="width:120px"><div class="notion-simple-table-cell"><code class="notion-inline-code">OPENAI_ACCESS_TOKEN</code></div></td><td class="" style="width:120px"><div class="notion-simple-table-cell"><code class="notion-inline-code">Web API</code> 二选一</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">使用 <code class="notion-inline-code">Web API</code> 所需的 <code class="notion-inline-code">accessToken</code> <a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://chat.openai.com/api/auth/session">(获取 accessToken)</a></div></td></tr><tr class="notion-simple-table-row notion-block-739ef5e16a4a4c4d844aa4176c749d4f"><td class="" style="width:120px"><div class="notion-simple-table-cell"><code class="notion-inline-code">AUTH_SECRET_KEY</code></div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">可选</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">访问权限密钥</div></td></tr><tr class="notion-simple-table-row notion-block-038aa5bb408a426880c0573bf4c1bd19"><td class="" style="width:120px"><div class="notion-simple-table-cell"><code class="notion-inline-code">MAX_REQUEST_PER_HOUR</code></div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">可选</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">每小时最大请求次数，可选，默认无限</div></td></tr><tr class="notion-simple-table-row notion-block-77961376819046aa90190f59a814f2a7"><td class="" style="width:120px"><div class="notion-simple-table-cell"><code class="notion-inline-code">OPENAI_API_BASE_URL</code></div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">可选，<code class="notion-inline-code">OpenAI API</code> 时可用</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell"><code class="notion-inline-code">API</code>接口地址，默认：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://api.openai.com/">https://api.openai.com</a></div></td></tr><tr class="notion-simple-table-row notion-block-cf00e4ebf6844faba79512deb072a0ee"><td class="" style="width:120px"><div class="notion-simple-table-cell"><code class="notion-inline-code">OPENAI_API_MODEL</code></div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">可选，<code class="notion-inline-code">OpenAI API</code> 时可用</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell"><code class="notion-inline-code">API</code>模型，默认：<code class="notion-inline-code">gpt-3.5-turbo</code></div></td></tr></tbody></table><div class="notion-blank notion-block-9e1daf3f1c3445a5baf4d8201aaf9410"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-9e9dc3a412c4473b82c047b23729fafe" data-id="9e9dc3a412c4473b82c047b23729fafe"><span><div id="9e9dc3a412c4473b82c047b23729fafe" class="notion-header-anchor"></div><a class="notion-hash-link" href="#9e9dc3a412c4473b82c047b23729fafe" 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><figure class="notion-asset-wrapper notion-asset-wrapper-video notion-block-a114a8815fc44e34b8f307745cd0a93a"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;padding-bottom:56.25%"><link rel="preload" href="https://i.ytimg.com/vi/rjTrGMj1aok/hqdefault.jpg" as="image"/><div class="notion-yt-lite notion-asset-object-fit" style="object-fit:contain"><img src="https://i.ytimg.com/vi/rjTrGMj1aok/hqdefault.jpg" class="notion-yt-thumbnail" alt="Video preview"/><div class="notion-yt-playbtn"></div></div></div></figure></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[【全网最简单方法】ChatGPT接入微信公众号 - 包教包会]]></title>
            <link>https://xiaohong15.eu.org/article/chatgpt/wechat_mp</link>
            <guid>https://xiaohong15.eu.org/article/chatgpt/wechat_mp</guid>
            <pubDate>Thu, 13 Apr 2023 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="container" class="mx-auto undefined"><main class="notion light-mode notion-page notion-block-62221fe7a44c46298d1db6902dbf9103"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-f1e94635a5fb47bca4256990f86d517a" data-id="f1e94635a5fb47bca4256990f86d517a"><span><div id="f1e94635a5fb47bca4256990f86d517a" class="notion-header-anchor"></div><a class="notion-hash-link" href="#f1e94635a5fb47bca4256990f86d517a" 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-0a356691708b45fba8539c72004d5ad1"><span class="notion-red">完整版文字教程</span>：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://www.techxiaofei.com/post/chatgpt/wechat_mp/">https://www.techxiaofei.com/post/chatgpt/wechat_mp/</a></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-a88e5607e07e4ba099e0fe75e3bded34" data-id="a88e5607e07e4ba099e0fe75e3bded34"><span><div id="a88e5607e07e4ba099e0fe75e3bded34" class="notion-header-anchor"></div><a class="notion-hash-link" href="#a88e5607e07e4ba099e0fe75e3bded34" 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-288b7777e6884a30817525bac92d18ed" data-id="288b7777e6884a30817525bac92d18ed"><span><div id="288b7777e6884a30817525bac92d18ed" class="notion-header-anchor"></div><a class="notion-hash-link" href="#288b7777e6884a30817525bac92d18ed" 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-c344529656de43f29bef8de23fe7eca1">点此链接注册购买有优惠： <a target="_blank" rel="noopener noreferrer" class="notion-link" href="http://bit.ly/3GlfucW">http://bit.ly/3GlfucW</a></div><div class="notion-blank notion-block-df052a98ca8842c2a206190f7b23091a"> </div><div class="notion-text notion-block-b43aeb7c08554e69b8d5abed2e5c11bb">输入：<b>RAKBL9</b> 有9折优惠</div><div class="notion-blank notion-block-e06dafdd17b04b76b08ca6ae7caa859f"> </div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-dd4581a6667b4e1d8def7c22d6aa54ea" data-id="dd4581a6667b4e1d8def7c22d6aa54ea"><span><div id="dd4581a6667b4e1d8def7c22d6aa54ea" class="notion-header-anchor"></div><a class="notion-hash-link" href="#dd4581a6667b4e1d8def7c22d6aa54ea" title="API Key"><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">API Key</span></span></h3><div class="notion-text notion-block-ded72819655d4142bcd6599ff561ea68">API Key获取地址：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://platform.openai.com/">https://platform.openai.com/</a></div><div class="notion-blank notion-block-05991779504e45a68e78fc93f43303d6"> </div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-f0bac28d5a8e4e9c9268bf27f9416d78" data-id="f0bac28d5a8e4e9c9268bf27f9416d78"><span><div id="f0bac28d5a8e4e9c9268bf27f9416d78" class="notion-header-anchor"></div><a class="notion-hash-link" href="#f0bac28d5a8e4e9c9268bf27f9416d78" 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><pre class="notion-code"><div class="notion-code-copy"><div class="notion-code-copy-button"><svg fill="currentColor" viewBox="0 0 16 16" width="1em" version="1.1"><path fill-rule="evenodd" d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"></path><path fill-rule="evenodd" d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"></path></svg></div></div><code class="language-shell"># 更新包管理器
sudo apt-get update

# 安装docker
apt install docker.io

# 下载docker镜像
docker pull techxiaofei/bot-on-anything:latest

# 给镜像打标签
docker tag techxiaofei/bot-on-anything bot-on-anything

# 下载配置文件（公众号版），只需要改api key即可
# token可改可不改，只需要保证和公众号里面配置的一样即可。
wget -O config.json https://raw.githubusercontent.com/techxiaofei/resource/main/config/chatgpt/official/config.json

# 后台运行
docker run --name bot-on-anything -d -p 0.0.0.0:80:80 -v &quot;$(pwd)/config.json:/app/config.json&quot; bot-on-anything python app.py

# 查看log
docker logs -f bot-on-anything</code></pre><div class="notion-blank notion-block-dca4c1ccba584b2392234cbe6bc6556a"> </div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-614f5bb579f84426a103f8a1bb18bfe0" data-id="614f5bb579f84426a103f8a1bb18bfe0"><span><div id="614f5bb579f84426a103f8a1bb18bfe0" class="notion-header-anchor"></div><a class="notion-hash-link" href="#614f5bb579f84426a103f8a1bb18bfe0" 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><figure class="notion-asset-wrapper notion-asset-wrapper-video notion-block-2a1a1450f2844d0c8a925c02ce779585"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;padding-bottom:56.25%"><link rel="preload" href="https://i.ytimg.com/vi/qWG1-eFQGvg/hqdefault.jpg" as="image"/><div class="notion-yt-lite notion-asset-object-fit" style="object-fit:contain"><img src="https://i.ytimg.com/vi/qWG1-eFQGvg/hqdefault.jpg" class="notion-yt-thumbnail" alt="Video preview"/><div class="notion-yt-playbtn"></div></div></div></figure></main></div>]]></content:encoded>
        </item>
    </channel>
</rss>