<?xml version="1.0" encoding="UTF-8"?>
<rss  xmlns:atom="http://www.w3.org/2005/Atom" 
      xmlns:media="http://search.yahoo.com/mrss/" 
      xmlns:content="http://purl.org/rss/1.0/modules/content/" 
      xmlns:dc="http://purl.org/dc/elements/1.1/" 
      version="2.0">
<channel>
<title>Luozx的数字花园🌳</title>
<link>https://luozx.org/categories/mypick.html</link>
<atom:link href="https://luozx.org/categories/mypick.xml" rel="self" type="application/rss+xml"/>
<description>经过自己对比和筛选后留下的选择，通常会和 tools 一起出现。</description>
<generator>quarto-1.9.38</generator>
<lastBuildDate>Tue, 02 Sep 2025 07:38:00 GMT</lastBuildDate>
<item>
  <title>Komari: 个人轻量VPS监控面板</title>
  <dc:creator>Luozx </dc:creator>
  <link>https://luozx.org/posts/komari-vps-monitoring.html</link>
  <description><![CDATA[ 

<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NVV5S5NQ" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->




<section id="介绍" class="level1">
<h1>介绍</h1>
<p>Komari是我认为比较轻量，简约的服务器监控面板。提供服务器基本信息（配置，型号，虚拟化，流量）监控数据也提供服务器离线通知，远程执行命令/Web SSH功能。</p>
<p>还可以给每台VPS设置账单标签，对于个人拥有多台服务器，想要一览所有服务器的基本情况非常好用。可以在<a href="https://ss.akz.moe/">这里</a>和<a href="https://komari.cmqos.com/">这里</a>查看监控面板样式。</p>
</section>
<section id="安装部署" class="level1">
<h1>安装部署</h1>
<p><a href="https://github.com/komari-monitor/komari">Komari-monitor</a> 分为Dashboard和Agent两部分。</p>
<p>先部署Dashboard后，在控制台生成Agent自动发现密钥，再通过一键部署命令安装Agent，实现本身和其他VPS的监控。</p>
<section id="dashboard" class="level2">
<h2 class="anchored" data-anchor-id="dashboard">Dashboard</h2>
<p>Dashboard也提供一键部署命令，安装过程基本没有障碍。需要注意的是有些VPS服务商的防火墙配置。一般来讲会有2层防火墙，一层是服务商在Web端提供的防火墙规则，第二层是VPS本身的防火设置，规则放行（或者关闭）后就可以通过IP地址访问到Dashboard页面。</p>
<p>我给安装了Dashboard的服务器配置了域名，同时想要有（免费）HTTPS支持，并且不想要在域名后面携带端口号的方式进行访问。ChatGPT推荐使用<a href="https://caddyserver.com/">Caddy</a>进行反向代理。正巧之前在Simon的<a href="https://simonwillison.net/2025/Aug/24/uv-caddy-and-docker/">帖子</a>中也看到过Caddy。</p>
<p>安装Caddy并修改Caddyfile：</p>
<div class="code-with-filename">
<div class="code-with-filename-file">
<pre><strong>/etc/caddy/Caddyfile</strong></pre>
</div>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb1" data-filename="/etc/caddy/Caddyfile" style="background: #f1f3f5;"><pre class="sourceCode bash code-with-copy"><code class="sourceCode bash"><span id="cb1-1"><span class="ex" style="color: null;
background-color: null;
font-style: inherit;">h.luozx.org</span> {</span>
<span id="cb1-2">        <span class="ex" style="color: null;
background-color: null;
font-style: inherit;">reverse_proxy</span> localhost:25774 <span class="co" style="color: #5E5E5E;
background-color: null;
font-style: inherit;"># komari-monitor</span></span>
<span id="cb1-3"><span class="er" style="color: #AD0000;
background-color: null;
font-style: inherit;">}</span></span></code></pre></div></div>
</div>
<p>将访问<code>https://h.luozx.org</code>的请求都转发到komari去。我的域名托管在Cloudflare，设置DNS时需要先关闭<a href="https://developers.cloudflare.com/dns/proxy-status/">DNS proxied</a>访问成功后在开启。</p>
</section>
<section id="agent" class="level2">
<h2 class="anchored" data-anchor-id="agent">Agent</h2>
<p>登陆Dashboard管理后台，在「设置」-&gt; 「通用」-&gt; 「自动发现」生成自动发现密钥</p>
<p>按照生产推荐命令<a href="https://komari-document.pages.dev/install/agent-ad.html#%E7%94%9F%E4%BA%A7%E7%8E%AF%E5%A2%83%E6%8E%A8%E8%8D%90%E9%85%8D%E7%BD%AE">说明</a>将<code>https://your-komari-server.com</code>替换为自己的域名，<code>your-ad-key</code> 替换为在Dashboard生成的自动发现密钥。</p>
<p>在需要监控的机器（包括本机）上执行一件部署命令，在Dashboard上稍等片刻就能看到监控信息。</p>
<p><a href="https://image.luozx.org/garden/2025/09/3ffceecac46abaeee2a0e3da4f4d95fe.png" class="lightbox" data-gallery="quarto-lightbox-gallery-1"><img src="https://image.luozx.org/garden/2025/09/3ffceecac46abaeee2a0e3da4f4d95fe.png" class="img-fluid"></a></p>


</section>
</section>

<a onclick="window.scrollTo(0, 0); return false;" id="quarto-back-to-top"><i class="bi bi-arrow-up"></i> 回到顶部</a><div id="quarto-appendix" class="default"><section class="quarto-appendix-contents" id="quarto-reuse"><h2 class="anchored quarto-appendix-heading">二次使用</h2><div class="quarto-appendix-contents"><div><a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh">CC BY-NC-SA 4.0</a></div></div></section></div> ]]></description>
  <category>tools</category>
  <category>mypick</category>
  <guid>https://luozx.org/posts/komari-vps-monitoring.html</guid>
  <pubDate>Tue, 02 Sep 2025 07:38:00 GMT</pubDate>
</item>
<item>
  <title>ChatGPT Plus时刻</title>
  <dc:creator>Luozx </dc:creator>
  <link>https://luozx.org/posts/chatgpt-plus-monent.html</link>
  <description><![CDATA[ 

<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NVV5S5NQ" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->




<p>BayFamily的<a href="https://mp.weixin.qq.com/s/EDrBIIh5T3n1IkpUKwg49Q">西太平洋房地产过剩分布图</a>一文中引用了这篇<a href="https://www.nature.com/articles/s41467-025-57217-7#Sec2">论文</a>结论中的统计图。我想在图片中找找看有没有自己老家的城市，使用了多个免费版本的大预言模型后，只有ChatGPT给出了正确的答案。</p>
<p>以下是各个模型的回答结果</p>
<ol type="1">
<li>ChatGPT的<a href="https://chatgpt.com/share/681b709f-9460-8010-8a98-9671d6b5585f">回答</a></li>
</ol>
<p>为了避免ChatGPT编造错误答案，误导我。所以在第一次提问时，首先问了一个我明确知道存在的城市，长沙。不出意外，ChatGPT给出了正确的答案。 不过平时由于主要使用ChatGPT，达到了免费限额，需要等待一段时间才能问第二个问题。就在这个空档，想着这应该不算是一个很难的任务，既然ChatGPT免费版本可以回答，那么其他模型也应该没大问题，没想到，一个能打的都没有…</p>
<ol start="2" type="1">
<li>Gemini</li>
</ol>
<p>等待ChatGPT免费额度恢复期间，第一个尝试Gemini，没想到<a href="https://g.co/gemini/share/453ff22e72dc">第一次回答</a>就翻车。正好昨天<a href="https://www.v2ex.com/t/1129860">Google One放水</a>，有Gemini Advanced使用权，就用Gemini 2.5Pro又问了一遍，<a href="https://g.co/gemini/share/1db75a65c909">第二次回答</a>还是让人失望。</p>
<ol start="3" type="1">
<li>DeepSeek</li>
</ol>
<p>可能国外的模型不如国内的模型了解中国城市的名称（训练数据差异？），就换用DeepSeek问了相同的问题，由于DeepSeek还<a href="https://github.com/deepseek-ai/DeepSeek-V3/issues/308#issuecomment-2836132961">不具备共享聊天</a>的功能，用截图的方式共享一下回答：</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="https://image.luozx.org/garden/2025/05/6f2dd9f343c1db2fc5baab982720a614.png" class="lightbox" data-gallery="quarto-lightbox-gallery-1" title="第一次回答"><img src="https://image.luozx.org/garden/2025/05/6f2dd9f343c1db2fc5baab982720a614.png" class="img-fluid figure-img" alt="第一次回答"></a></p>
<figcaption>第一次回答</figcaption>
</figure>
</div>
<p>好像不太对，于是又用深度思考的方式试了一次：</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="https://image.luozx.org/garden/2025/05/9618f10485e61a4453040edbd4422481.png" class="lightbox" data-gallery="quarto-lightbox-gallery-2" title="第二次回答"><img src="https://image.luozx.org/garden/2025/05/9618f10485e61a4453040edbd4422481.png" class="img-fluid figure-img" alt="第二次回答"></a></p>
<figcaption>第二次回答</figcaption>
</figure>
</div>
<p>和DeepSeek发生对话的图片，是从和Gemini对话中复制进去的，开始怀疑是图片质量问题，于是从论文中复制了<a href="https://media.springernature.com/full/springer-static/image/art%3A10.1038%2Fs41467-025-57217-7/MediaObjects/41467_2025_57217_Fig2_HTML.png?as=webp">原始图片</a>进去，又问了一次：</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="https://image.luozx.org/garden/2025/05/7b4fc7a7ddc181ea80add33e43725a78.png" class="lightbox" data-gallery="quarto-lightbox-gallery-3" title="第三次提问"><img src="https://image.luozx.org/garden/2025/05/7b4fc7a7ddc181ea80add33e43725a78.png" class="img-fluid figure-img" alt="第三次提问"></a></p>
<figcaption>第三次提问</figcaption>
</figure>
</div>
<p>让我彻底死心了，那试试Grok吧</p>
<ol start="4" type="1">
<li>Grok</li>
</ol>
<p>鉴于之前使用Grok的良好体验，建立了一点信任度，于是在Grok<a href="https://x.com/i/grok/share/wXz2krT01Y9iMCHhSM225QzOX">回答</a>三个城市都存在时，我选择了相信，并真的试图找到「银川」在图片中的位置…</p>
<p>被Grok骗到了。不过ChatGPT的免费使用又恢复了，稳健的完成了要回答的问题，也就没有去测试其他模型了。</p>
<p>在ChatGPT回答后，我也进行了一次仔细逐行对比（人工），确认回答正确后，ChatGPT Plus Moment产生了，我想要试试Plus版本。</p>
<p>在<a href="../posts/learn-llms-basics-with-andrej-karpathy.html">Andrej Karpathy如何使用大语言模型</a>这篇文章里，Andrej选择的是$200/月的Pro版本，当时对他介绍Custome GPT功能（Plus版本也提供）就觉得很有用。因为可以复用Prompt，不必每次输入大量文字提供Context。</p>
<p>同样在那个视频中，提到的LLM <a href="https://scale.com/leaderboard">排行榜</a>，排在第一的大多还是ChatGPT的模型：</p>
<p>虽然DeepSeek出现给了很多人惊喜，不过事实是，还是<a href="https://fast.v2ex.com/t/1130195?p=1#reply23">有人认为Plus提供的能力值得</a>。 <img src="https://image.luozx.org/garden/2025/05/3e2ce7a571dcffd52293ccde8a7c8ad4.png" class="img-fluid"></p>
<p>那就让我们开始吧！</p>
<p><a href="https://image.luozx.org/garden/2025/05/5200242857b8fc6bebe41186f4f85158.png" class="lightbox" data-gallery="quarto-lightbox-gallery-4"><img src="https://image.luozx.org/garden/2025/05/5200242857b8fc6bebe41186f4f85158.png" class="img-fluid"></a></p>
<p><strong>其他资源</strong></p>
<p>YouTube上这个视频的介绍了ChatGPT Free，Plus之间的不同功能（以及其他更高级版本），可以参考。</p>
<div class="quarto-video ratio ratio-16x9"><iframe data-external="1" src="https://www.youtube.com/embed/gl0jwZfd5MY" title="" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe></div>
<div class="callout callout-style-default callout-note callout-titled">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
注记
</div>
</div>
<div class="callout-body-container callout-body">
<p>2025-08-13 更新</p>
<p>OpenAI的<a href="https://github.com/openai/codex">Codex CLI</a>也可以使用Pro套餐，并且可以使用<a href="https://simonwillison.net/2025/Aug/11/codex-upgrade/#atom-everything">最新推出的GPT-5</a></p>
<p>目前Codex CLI使用起来非常满意😄</p>
</div>
</div>



<a onclick="window.scrollTo(0, 0); return false;" id="quarto-back-to-top"><i class="bi bi-arrow-up"></i> 回到顶部</a><div id="quarto-appendix" class="default"><section class="quarto-appendix-contents" id="quarto-reuse"><h2 class="anchored quarto-appendix-heading">二次使用</h2><div class="quarto-appendix-contents"><div><a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh">CC BY-NC-SA 4.0</a></div></div></section></div> ]]></description>
  <category>mypick</category>
  <guid>https://luozx.org/posts/chatgpt-plus-monent.html</guid>
  <pubDate>Tue, 06 May 2025 16:00:00 GMT</pubDate>
</item>
<item>
  <title>如果你也在寻找macOS上的远程工具，可以试试它。</title>
  <dc:creator>Luozx </dc:creator>
  <link>https://luozx.org/posts/royal-tsx.html</link>
  <description><![CDATA[ 

<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NVV5S5NQ" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->




<p>很长一段时间，我都在寻找macOS上合适的远程工具。 由于工作原因，我需要通过Mac远程到Windows Server上（通常Windows Server作为堡垒机和跳板机） 同时也有直接远程到Linux机器的需要。</p>
<p>以前，总要使用两种工具：</p>
<ol type="1">
<li>Microsoft Remote Desktop(现在改名为<a href="https://apps.apple.com/us/app/windows-app/id1295203466?mt=12">Windows App</a>)：登录堡垒机和跳板机</li>
<li>iTerm2等Shell：直接登录Linux服务器</li>
</ol>
<p>想要找到两类同时连接的工具很不容易（RDP和SSH）直到我了解到<a href="https://www.royalapps.com/ts/mac/features">Royal TSX</a>，使用了一段时间后，基本能覆盖我目前的的需求。</p>
<div class="callout callout-style-default callout-note callout-titled">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
注记
</div>
</div>
<div class="callout-body-container callout-body">
<p>Royal TSX是付费软件，同时提供Lite免费版</p>
</div>
</div>
<div class="callout callout-style-default callout-tip callout-titled" title="新发现">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
<span class="screen-reader-only">提示</span>新发现
</div>
</div>
<div class="callout-body-container callout-body">
<p>Royal TSX 我经常用来远程Linxu和Windows。 Mac to Mac的远程，<a href="https://edovia.com/en/screens">Screens</a>的易用性和macOS的集成度高很多，支持自家的中继和Tailscail，很方便！</p>
</div>
</div>
<section id="优点" class="level1">
<h1>优点</h1>
<section id="多种连接类型" class="level2">
<h2 class="anchored" data-anchor-id="多种连接类型">多种连接类型</h2>
<p>从Mac远程Widnows（Remote Destop），远程Linux（Terminal/VNC）以及远程另一台Mac（VNC）都可以。</p>
<p><a href="https://image.luozx.org/garden/2025/04/dcc701426c46e59ab6fa1892b06827d0.png" class="lightbox" data-gallery="quarto-lightbox-gallery-1"><img src="https://image.luozx.org/garden/2025/04/dcc701426c46e59ab6fa1892b06827d0.png" class="img-fluid"></a></p>
<p>对于安全要求严格的场景，比如需要通过DMZ的机器作为中转，访问安全级别高的内网网络，Royal TSX也支持将DMZ中的机器作为<a href="https://docs.royalapps.com/r2023/royalts/reference/gateways/securegateway.html">安全网关</a>（Secure Gateway） 作为安全网关的机器可以是Linux(Secure Gateway)，也可以是Windows(Remote Destop Gateway)。</p>
<p><a href="https://image.luozx.org/garden/2025/04/e4c9aefbbb69f15a4816badebfd598eb.png" class="lightbox" data-gallery="quarto-lightbox-gallery-2"><img src="https://image.luozx.org/garden/2025/04/e4c9aefbbb69f15a4816badebfd598eb.png" class="img-fluid"></a></p>
<p>不过除了Royal Server的安全网关支持MFA（双重验证）外，Royal TSX的安全网关还不支持，我工作的地方都需要使用到MFA，所以这个功能看起来有用但好像又没有那么有用😅</p>
<p><strong>连接RDP的问题</strong></p>
<p>RDP在默认情况下，当Royal TSX窗口大小发生改变，会强制重新连接，如果你所在的企业启用了MFA，每次窗口大小发生改变(比如从A显示器移动到B显示器) 都要重新输入MFA代码。</p>
<p>通过将Resize Mode改为Smart Sizing来避免此类问题！</p>
<p><a href="https://image.luozx.org/garden/2025/04/4462aff77fe4b21b9edefe4d4f519c94.png" class="lightbox" data-gallery="quarto-lightbox-gallery-3"><img src="https://image.luozx.org/garden/2025/04/4462aff77fe4b21b9edefe4d4f519c94.png" class="img-fluid"></a></p>
</section>
<section id="password管理登录凭证" class="level2">
<h2 class="anchored" data-anchor-id="password管理登录凭证">1Password管理登录凭证</h2>
<p>Royal TSX 支持<a href="https://www.royalapps.com/blog/dynamic-folder-integration-for-1password">从1Password中读取远程登录的凭证</a>。当你的Mac使用带TouchID的键盘时，用指纹验证登录非常方便！</p>
<p><a href="https://image.luozx.org/garden/2025/04/9d3445bd9f3a8a0ca957fe66005ae8e0.png" class="lightbox" data-gallery="quarto-lightbox-gallery-4"><img src="https://image.luozx.org/garden/2025/04/9d3445bd9f3a8a0ca957fe66005ae8e0.png" class="img-fluid"></a></p>
<div class="callout callout-style-default callout-note callout-titled">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
注记
</div>
</div>
<div class="callout-body-container callout-body">
<p>1Password也是付费应用</p>
</div>
</div>
</section>
<section id="跨设备同步连接信息" class="level2">
<h2 class="anchored" data-anchor-id="跨设备同步连接信息">跨设备同步连接信息</h2>
<p>其中一个非常实用的功能是多设备同步连接信息。Royal TSX使用基于文档（Document）的结构来保存所有数据（连接信息，登录凭证等）。 可以将这个文档放在任何网盘中进行同步，文档本身可以加密后保存，不过使用1Password保存登录凭证的话，该凭证是不会通过云盘同步的。</p>
<p>我的文档本身没有加密保存，但是额外使用<a href="https://cryptomator.org/">Cryptomator</a>来加密同步所有云盘上的内容。</p>
</section>
</section>
<section id="缺点" class="level1">
<h1>缺点</h1>
<section id="学习成本" class="level2">
<h2 class="anchored" data-anchor-id="学习成本">学习成本</h2>
<p>功能越多的软件，学习成本会越高。Royal TS系列经过多年的迭代，已经相当成熟，在我看来，一次性学习一款能长久存在的软件比多次学习生命周期短暂的软件更值得。</p>
</section>
<section id="价格" class="level2">
<h2 class="anchored" data-anchor-id="价格">价格</h2>
<p>Royal TSX 是一次性付费软件（也许大版本升级需要付费）相比Terminux每月$10的定价，Royal TSX的一次型付费价格大约是€49（价格会随地区不同而变动，所以可以选择价格合适的地区购买），不限制设备数量。 尽管界面不如Terminus，但价格还算合理。macOS和Windows的License不共享，不过Windows上远程工具众多，Royal TS系列也不是那么必要。</p>


</section>
</section>

<a onclick="window.scrollTo(0, 0); return false;" id="quarto-back-to-top"><i class="bi bi-arrow-up"></i> 回到顶部</a><div id="quarto-appendix" class="default"><section class="quarto-appendix-contents" id="quarto-reuse"><h2 class="anchored quarto-appendix-heading">二次使用</h2><div class="quarto-appendix-contents"><div><a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh">CC BY-NC-SA 4.0</a></div></div></section></div> ]]></description>
  <category>tools</category>
  <category>mypick</category>
  <guid>https://luozx.org/posts/royal-tsx.html</guid>
  <pubDate>Wed, 16 Apr 2025 16:00:00 GMT</pubDate>
</item>
</channel>
</rss>
