<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Linux on Geek Vinkey</title>
    <link>https://www.mawenqian.com/en/tags/linux/</link>
    <description>Recent content in Linux on Geek Vinkey</description>
    <image>
      <title>Geek Vinkey</title>
      <url>https://www.mawenqian.com/images/papermod-cover.png</url>
      <link>https://www.mawenqian.com/images/papermod-cover.png</link>
    </image>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>MA Wenqian · mawenqian.com</copyright>
    <lastBuildDate>Tue, 18 Aug 2026 13:18:43 +0800</lastBuildDate>
    <atom:link href="https://www.mawenqian.com/en/tags/linux/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>One systemd Unit File, Many Instances: Template Units (with frp as the Example)</title>
      <link>https://www.mawenqian.com/en/systemd-template-unit/</link>
      <pubDate>Tue, 18 Aug 2026 09:30:00 +0800</pubDate>
      <guid>https://www.mawenqian.com/en/systemd-template-unit/</guid>
      <description>&lt;p&gt;I needed one machine to connect to three different frp servers. Most tutorials solve this by copying &lt;code&gt;frpc.service&lt;/code&gt; three times and editing the path in each. Change one parameter and you have to remember to change it in three files — that breaks eventually.&lt;/p&gt;
&lt;p&gt;systemd has a built-in answer: &lt;strong&gt;template units&lt;/strong&gt;. Write &lt;code&gt;frpc@.service&lt;/code&gt; once, then spin up as many instances as you like. This post walks through the full frp setup first, then shows how the same pattern applies to xray, socat, Python scripts, or anything else you need to run several copies of.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Fixing Tofu Boxes: Making WSL Display Chinese Characters</title>
      <link>https://www.mawenqian.com/en/wsl-chinese-font/</link>
      <pubDate>Tue, 18 Aug 2026 09:10:00 +0800</pubDate>
      <guid>https://www.mawenqian.com/en/wsl-chinese-font/</guid>
      <description>&lt;p&gt;A fresh WSL install shows every Chinese character as an empty box. My host system is English Windows, which is probably why: WSL has neither a Chinese locale nor a font capable of rendering the characters. Adding both fixes it.&lt;/p&gt;
&lt;!-- more --&gt;
&lt;h2 id=&#34;1-install-the-chinese-language-pack&#34;&gt;1. Install the Chinese language pack&lt;/h2&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo apt install language-pack-zh-hans
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;2-reconfigure-locales&#34;&gt;2. Reconfigure locales&lt;/h2&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo dpkg-reconfigure locales
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;In the list that appears, select both &lt;code&gt;en_US.UTF-8&lt;/code&gt; and &lt;code&gt;zh_CN.UTF-8&lt;/code&gt;, then pick &lt;code&gt;zh_CN.UTF-8&lt;/code&gt; as the default on the next screen.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
