<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Jack77793&#39;s Blog</title>
    <link>https://blog.jack77793.dev/</link>
    <description>Recent content on Jack77793&#39;s Blog</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <copyright>© Jack77793 | CC BY-NC-SA 4.0.</copyright>
    <lastBuildDate>Thu, 13 Nov 2025 08:30:00 +0800</lastBuildDate>
    <atom:link href="https://blog.jack77793.dev/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>日本夏游</title>
      <link>https://blog.jack77793.dev/2025/11/%E6%97%A5%E6%9C%AC%E5%A4%8F%E6%B8%B8/</link>
      <pubDate>Thu, 13 Nov 2025 08:30:00 +0800</pubDate>
      <guid>https://blog.jack77793.dev/2025/11/%E6%97%A5%E6%9C%AC%E5%A4%8F%E6%B8%B8/</guid>
      <description>&lt;h2 id=&#34;准备与安排&#34;&gt;准备与安排&lt;/h2&gt;&#xA;&lt;p&gt;其实很早就有去日本的想法，刚好这个假期没什么太多的事情，于是在ACG和海军的圣地巡礼里面选了海军。大概准备了下，总共九天，为了不至于太累做了较为宽松的安排，从横须贺到舞鹤再到吴，算是走完了四镇之三，这里粗略记录下行程与一路上的见闻，算是为后面想进行类似游览的人提供一些信息，也给自己留一点纪念罢。&lt;/p&gt;&#xA;&lt;h2 id=&#34;东京-横滨-横须贺&#34;&gt;东京-横滨-横须贺&lt;/h2&gt;&#xA;&lt;p&gt;晚上在羽田机场落地后，乘电车到横滨住下，第二天一早坐电车到汐入站，出站就能看见横须贺港和里面的军舰。我们先去了Verny Park，公园不大，夹在公路和港口之间，顺着路有一些纪念碑，再往前走可以清楚地看到港里的船，走到头是一个很小的纪念馆，门口是陆奥的一门主炮。&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_01_warship_nagato_memorial.webp&#34; alt=&#34;军舰长门碑旁高雄级舰桥样式的纪念碑&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;军舰长门碑旁高雄级舰桥样式的纪念碑&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_02_3rd_year_type_gun.webp&#34; alt=&#34;45口径三年式41cm砲&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;45口径三年式41cm砲&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_03_michael_monsoor.webp&#34; alt=&#34;横须贺港内的迈克尔·蒙索尔 (DDG-1001)&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;横须贺港内的迈克尔·蒙索尔 (DDG-1001)&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;原路走出公园，在军港巡游的码头边的商店里买了巡游的船票后去码头坐船（需要提前排队以获取更好的座位），一路上有不少海自和美第七舰队的军舰，可惜的是当天华盛顿在澳大利亚演习，没能看到。&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_04_blue_ridge.webp&#34; alt=&#34;横须贺港内的蓝岭 (LCC-19)&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;横须贺港内的蓝岭 (LCC-19)&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;巡游结束后步行至横须贺市区，在横须贺海军咖喱本铺吃了午饭，我们点了一份“金刚”和一份“天龙”，味道不错。&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_05_misaki.webp&#34; alt=&#34;横须贺海军咖喱本铺的岬明乃&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;横须贺海军咖喱本铺的岬明乃&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;吃完午饭后步行至三笠公园，买票上船，顺着建议参观顺序转了一圈后由于身体不适，从横须贺中央站乘电车回到横滨的酒店休息。&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_07_mikasa_and_togo.webp&#34; alt=&#34;东乡和三笠&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;东乡和三笠&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;第三天从横滨乘东海道新干线至京都，期间在静冈下车前往骏河屋并吃午饭，抵达京都后入住酒店。&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_35_retro_pcs.webp&#34; alt=&#34;骏河屋的Retro PC们&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;骏河屋的Retro PC们&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;h2 id=&#34;京都-舞鹤-天桥立&#34;&gt;京都-舞鹤-天桥立&lt;/h2&gt;&#xA;&lt;p&gt;第四天在JR京都站兑换了提前购买的关西广岛周游券后，凭周游券兑换相应列车的指定席，乘JR舞鹤号至东舞鹤站下车。不知道为什么路上的很多饭店都不在营业，于是我们在路边随便找了一个吃饭，饭后步行前往舞鹤港，刚好赶上一次巡游，港里也有不少海自的军舰，只是可惜没有看到日向。&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_09_higashi_maizuru_2.webp&#34; alt=&#34;东舞鹤站内的海报&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;东舞鹤站内的海报&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_10_port_maizuru.webp&#34; alt=&#34;舞鹤港内的舰船&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;舞鹤港内的舰船&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_36_maizuru.webp&#34; alt=&#34;在舞鹤市内&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;在舞鹤市内&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;巡游完成回港后，在旁边又转了转，顺便看了下旁边的红砖博物馆，就坐JR舞鹤号回京都休息了。&lt;/p&gt;&#xA;&lt;p&gt;第五天早凭周游券兑换指定席后，乘JR桥立号至天桥立站下车，步行并乘渡船至伞松公园，乘缆车上山后原路返回京都。&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_11_amanohashidate.webp&#34; alt=&#34;在山上看天桥立&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;在山上看天桥立&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;第六天乘JR雷鸟号至新大阪，转乘山阳新干线的のぞみ至广岛，再转乘JR吴线至吴，入住酒店。&lt;/p&gt;&#xA;&lt;h2 id=&#34;吴-江田岛-大阪&#34;&gt;吴-江田岛-大阪&lt;/h2&gt;&#xA;&lt;p&gt;第七天早，在吴市内转了转，先去了大和博物馆临时分馆（本馆在修缮，预计休馆至2026年三月），里面很小，除了一架零式水侦和一些舰船的模型以外没什么别的东西。后面又去了入船山纪念馆与海自吴史料馆，不知道为什么秋潮的下层封闭了，也没能下得去。&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_12_3rd_year_gun_and_propeller.webp&#34; alt=&#34;大和博物馆（本馆）外的陆奥炮管与螺旋桨&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;大和博物馆（本馆）外的陆奥炮管与螺旋桨&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_13_outside_yamato_museum_1.webp&#34; alt=&#34;大和博物馆（本馆）外的大和&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;大和博物馆（本馆）外的大和&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_14_outside_yamato_museum_2.webp&#34; alt=&#34;在大和波止场看大和博物馆&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;在大和波止场看大和博物馆&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_15_model_of_yamato.webp&#34; alt=&#34;大和博物馆中正在修缮的大和模型&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;大和博物馆中正在修缮的大和模型&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_16_anchor_of_yamato.webp&#34; alt=&#34;战舰大和主锚&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;战舰大和主锚&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_17_akishio.webp&#34; alt=&#34;秋潮&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;秋潮&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_18_port_kure.webp&#34; alt=&#34;吴港&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;吴港&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_19_store.webp&#34; alt=&#34;港内不知名小店门上贴的海报&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;港内不知名小店门上贴的海报&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_20_manhole_cover_1.webp&#34; alt=&#34;吴市内的井盖&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;吴市内的井盖&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_21_manhole_cover_2.webp&#34; alt=&#34;吴市内的井盖&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;吴市内的井盖&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_22_f1m2_cockpit.webp&#34; alt=&#34;零式水侦的座舱&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;零式水侦的座舱&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;中午在海自吴史料馆吃了午饭，咖喱饭卖完了，我们买了两根热狗，挺好吃的。下午从吴港乘渡船至江田岛（小用港），再乘公交车至海军兵学校（现海自第一术科学校）参与见学后原路返回。&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_23_kaga_1.webp&#34; alt=&#34;加贺在濑户内海&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;加贺在濑户内海&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_24_etajima_1.webp&#34; alt=&#34;海军兵学校内&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;海军兵学校内&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_25_etajima_2.webp&#34; alt=&#34;海军兵学校内&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;海军兵学校内&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_27_anchor_of_yukikaze.webp&#34; alt=&#34;雪风的锚&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;雪风的锚&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_28_turret_of_mutsu.webp&#34; alt=&#34;陆奥的炮塔&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;陆奥的炮塔&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;第八天，我们提前预约了海自吴地方总监部第一厅舍（旧吴镇守府厅舍）与舰艇的见学，根据预约的信息早上前往海自吴地方总监部第一厅舍，负责的队员了解到我们听不懂日语讲解后，还给了我们一份英文资料。&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_29_manhole_cover_in_kure_chinjufu.webp&#34; alt=&#34;吴镇内的井盖&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;吴镇内的井盖&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_30_kure_chinjufu.webp&#34; alt=&#34;吴镇守府厅舍&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;吴镇守府厅舍&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;下午同样根据预约的信息进行舰艇见学。进到吴港的栈桥，接着进入国东号参观，之后离开海自的设施，至JR吴站乘车至广岛站，再乘みずほ至新大阪，转乘JR黑潮号与关西空港线至关西空港，第九天乘飞机回国。&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_31_kaga_2.webp&#34; alt=&#34;吴港栈桥上的加贺&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;吴港栈桥上的加贺&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_32_inside_kunisaki.webp&#34; alt=&#34;国东号的机库内&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;国东号的机库内&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_37_kunisaki.webp&#34; alt=&#34;国东号&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;国东号&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_33_dock.webp&#34; alt=&#34;曾经建造大和的船坞&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;曾经建造大和的船坞&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/2507_34_warship_yamato_memorial.webp&#34; alt=&#34;战舰大和碑&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;战舰大和碑&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>搭建 NFS 服务</title>
      <link>https://blog.jack77793.dev/2025/04/%E6%90%AD%E5%BB%BA-nfs-%E6%9C%8D%E5%8A%A1/</link>
      <pubDate>Sat, 12 Apr 2025 06:20:00 +0800</pubDate>
      <guid>https://blog.jack77793.dev/2025/04/%E6%90%AD%E5%BB%BA-nfs-%E6%9C%8D%E5%8A%A1/</guid>
      <description>&lt;h2 id=&#34;准备&#34;&gt;准备&lt;/h2&gt;&#xA;&lt;p&gt;安装 nfs-utils 包（包名可能因发行版而不同，详情参考对应发行版文档），并确保系统时间同步后，执行 &lt;code&gt;systemd enable --now nfs-server.service&lt;/code&gt; 启动并启用 NFS 服务。&lt;/p&gt;&#xA;&lt;h2 id=&#34;配置&#34;&gt;配置&lt;/h2&gt;&#xA;&lt;h3 id=&#34;服务端配置&#34;&gt;服务端配置&lt;/h3&gt;&#xA;&lt;h4 id=&#34;指定根目录&#34;&gt;指定根目录&lt;/h4&gt;&#xA;&lt;p&gt;以以 &lt;code&gt;/srv/nfs&lt;/code&gt; 为 NFS 根目录，存储文件的硬盘分区在 &lt;code&gt;/mnt/nfs&lt;/code&gt; 挂载为例，使用下述命令挂载分区并将挂载位置绑定挂载至 NFS 根目录：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&#xA;&lt;table style=&#34;border-spacing:0;padding:0;margin:0;border:0;&#34;&gt;&lt;tr&gt;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&#xA;&lt;/span&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;2&#xA;&lt;/span&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;3&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;;width:100%&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;mkdir -p /srv/nfs /mnt/nfs&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;mount /path/to/your/partition /mnt/nfs&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;mount --bind /mnt/nfs /srv/nfs&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;p&gt;可以在 &lt;code&gt;fstab&lt;/code&gt; 中加入下述条目以持久化该绑定：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&#xA;&lt;table style=&#34;border-spacing:0;padding:0;margin:0;border:0;&#34;&gt;&lt;tr&gt;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;;width:100%&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;/mnt/nfs /srv/nfs none bind 0 0&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;p&gt;接着在 &lt;code&gt;/etc/exports&lt;/code&gt; 文件中添加下述条目：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&#xA;&lt;table style=&#34;border-spacing:0;padding:0;margin:0;border:0;&#34;&gt;&lt;tr&gt;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;;width:100%&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;/srv/nfs ip.address.in.cidr(rw,fsid=0,other_arguments)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;p&gt;注意允许访问的 IP（范围）应以 CIDR 表示，参数中的 &lt;code&gt;fsid=0&lt;/code&gt; 表示该目录为 NFS 根目录，其它目录须在其之下。&lt;/p&gt;&#xA;&lt;h4 id=&#34;其它参数配置&#34;&gt;其它参数配置&lt;/h4&gt;&#xA;&lt;p&gt;除上述参数外，建议加上参数 &lt;code&gt;insecure&lt;/code&gt;、&lt;code&gt;all_squash&lt;/code&gt;、&lt;code&gt;anonuid=65534&lt;/code&gt;、&lt;code&gt;anongid=65534&lt;/code&gt;，&#xA;&lt;code&gt;insecure&lt;/code&gt; 允许客户端使用大于 1024 的端口连接，其余三个参数将客户端的用户映射为服务端的用户 &lt;code&gt;nobody&lt;/code&gt;，以避免相关问题，同时也可以考虑使用如 NFSv4 ID 映射等其它映射方案或不进行映射。&lt;/p&gt;&#xA;&lt;h3 id=&#34;防火墙配置&#34;&gt;防火墙配置&lt;/h3&gt;&#xA;&lt;p&gt;开放端口 2049 的 TCP 上行连接，使 NFSv4 服务可以被访问，如须访问 NFSv3 服务，则还需为 rpcbind 开放端口 111 的 TCP 与 UDP 连接，并在 &lt;code&gt;/etc/nfs.conf&lt;/code&gt; 中加入下述内容以固定 mountd 的端口并在防火墙中开放：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&#xA;&lt;table style=&#34;border-spacing:0;padding:0;margin:0;border:0;&#34;&gt;&lt;tr&gt;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&#xA;&lt;/span&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;2&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;;width:100%&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;[mountd]&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;port=&amp;lt;your_port&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;h2 id=&#34;使用&#34;&gt;使用&lt;/h2&gt;&#xA;&lt;p&gt;执行命令 &lt;code&gt;exportfs -arv&lt;/code&gt; 或重启 NFS 服务以使 &lt;code&gt;/etc/exports&lt;/code&gt; 中的配置生效，在客户端挂载即可，可能须指定类型为 NFS，若挂载失败，尝试包括服务器的分享根目录，这在某些操作系统上可能是必需的。也可以使用 &lt;code&gt;/etc/fstab&lt;/code&gt; 以持久化挂载，如有需要，也可使用 TLS 等进行加密，本文不再赘述。&lt;/p&gt;&#xA;&lt;h2 id=&#34;参考资料&#34;&gt;参考资料&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://wiki.archlinuxcn.org/wiki/NFS&#34;&gt;NFS - Arch Linux 中文维基&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://wiki.gentoo.org/wiki/Nfs-utils&#34;&gt;nfs-utils - Gentoo Wiki&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://man.archlinux.org/man/nfs.5.en&#34;&gt;nfs(5) — Arch manual pages&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://man.archlinux.org/man/exports.5.en&#34;&gt;exports(5) — Arch manual pages&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;</description>
    </item>
    <item>
      <title>使用 Google 账户登录 Chromium</title>
      <link>https://blog.jack77793.dev/2025/04/%E4%BD%BF%E7%94%A8-google-%E8%B4%A6%E6%88%B7%E7%99%BB%E5%BD%95-chromium/</link>
      <pubDate>Wed, 09 Apr 2025 03:00:00 +0800</pubDate>
      <guid>https://blog.jack77793.dev/2025/04/%E4%BD%BF%E7%94%A8-google-%E8%B4%A6%E6%88%B7%E7%99%BB%E5%BD%95-chromium/</guid>
      <description>&lt;h2 id=&#34;准备工作&#34;&gt;准备工作&lt;/h2&gt;&#xA;&lt;p&gt;注册并登陆谷歌账号，加入用户群组 &lt;a href=&#34;https://groups.google.com/a/chromium.org/g/chromium-dev&#34;&gt;Chromium-dev&lt;/a&gt; 与 &lt;a href=&#34;google-browser-signin-testaccounts&#34;&gt;Google browser sign-in test account&lt;/a&gt; 以获取相关api的访问权限。&lt;/p&gt;&#xA;&lt;h2 id=&#34;创建项目&#34;&gt;创建项目&lt;/h2&gt;&#xA;&lt;p&gt;进入 &lt;a href=&#34;https://console.cloud.google.com/&#34;&gt;Google Cloud Console&lt;/a&gt;，创建一个项目，进入 API 和服务下的 OAuth 权限请求页面，跟随引导开始配置 Google Auth Platform，受众群体选择“外部”，其余按需填写。&lt;/p&gt;&#xA;&lt;p&gt;进入目标对象页面，在测试用户中添加 Google 账户。&lt;/p&gt;&#xA;&lt;p&gt;随后进入 API 和服务下的库，搜索并添加如下 API：&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Cloud Search API&lt;/li&gt;&#xA;&lt;li&gt;Google Drive API&lt;/li&gt;&#xA;&lt;li&gt;Safe Browsing API&lt;/li&gt;&#xA;&lt;li&gt;Time Zone API&lt;/li&gt;&#xA;&lt;li&gt;Admin SDK&lt;/li&gt;&#xA;&lt;li&gt;Chrome Sync API&lt;/li&gt;&#xA;&lt;li&gt;Chrome Web Store API&lt;/li&gt;&#xA;&lt;li&gt;Chrome Spelling API&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;获取密钥&#34;&gt;获取密钥&lt;/h2&gt;&#xA;&lt;p&gt;进入 API 和服务下的凭据，创建 API 密钥与 OAuth 2.0 客户端 ID，应用类型选择桌面应用，其余按需填写。&lt;/p&gt;&#xA;&lt;h2 id=&#34;使用&#34;&gt;使用&lt;/h2&gt;&#xA;&lt;p&gt;将获取到的 API 密钥，客户端 ID，客户端密钥分别以 GOOGLE_API_KEY, GOOGLE_DEFAULT_CLIENT_ID, GOOGLE_DEFAULT_CLIENT_SECRET 的环境变量提供给 Chromium 即可。&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>重新安装希沃的操作系统</title>
      <link>https://blog.jack77793.dev/2024/03/%E9%87%8D%E6%96%B0%E5%AE%89%E8%A3%85%E5%B8%8C%E6%B2%83%E7%9A%84%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F/</link>
      <pubDate>Fri, 15 Mar 2024 20:45:00 +0800</pubDate>
      <guid>https://blog.jack77793.dev/2024/03/%E9%87%8D%E6%96%B0%E5%AE%89%E8%A3%85%E5%B8%8C%E6%B2%83%E7%9A%84%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F/</guid>
      <description>&lt;p&gt;&lt;strong&gt;十分感谢 wrefiyu 提供的消息，如果只需要一个纯净的 Windows 系统，可以考虑使用 Windows 的恢复出厂设置功能。并且如果设备符合 Windows 11 升级的要求，经过恢复出厂设置的设备还能够升级成 Windows 11。以下为发布于2023年12月15日的原内容。&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;不久前，我们更换了教室，原本还勉强可以使用的电脑变成了安装有具有无法取消的还原系统和各种奇怪全家桶的希沃白板，于是我就做了准备，打算重装它的操作系统。&lt;/p&gt;&#xA;&lt;p&gt;按照一贯的经验，把光盘镜像扔到 ventoy 里，调整引导顺序，运行安装程序。安装的过程很顺利，很快就看到了桌面。但是可怕的事情发生了，这台机器不能联网，也因此缺少大量的驱动——包括显卡的：4k的触摸屏被识别成了800x600的低分屏，十分难以操作。&lt;/p&gt;&#xA;&lt;p&gt;于是我便怀疑是我所安装的 Windows 10 Enterprise LTSC 2019 缺少希沃一体机的网卡驱动，就拿来了普通 Windows 的镜像，经过一番提取与查找，发现我的怀疑是错误的——无论是哪个 Windows，都不包含它所需要的驱动。&lt;/p&gt;&#xA;&lt;p&gt;接着，我查看了一台运转良好的希沃，它的网卡是 Realtek PCIe GBE Family Controller，我便下载了它的驱动，在新装好系统的机器上安装——成功是成功了，它的网卡也确实是这张网卡，但是，网络仍然无法连接。&lt;/p&gt;&#xA;&lt;p&gt;经过在互联网上的搜索，我发现仅有的几个信息都告诉我应该安装一个叫做 aic8800 的驱动。这是一家名叫爱科微的公司的 wifi 芯片产品的驱动，再经过一番对设备的检查，这个 wifi 模块应该就是插在内置接口上的一张黑色塑料卡片。不过令人沮丧的是，我没有找到这个驱动。&lt;/p&gt;&#xA;&lt;p&gt;于是，我从旁边那台运转良好的希沃的驱动备份目录中找到了两个以 aic 开头的文件夹，将其复制到缺少驱动的机器上并在设备管理器中选择设备安装，在为其中的两个未知设备安装成功并重启后，网络成功地连接上了。&lt;/p&gt;&#xA;&lt;p&gt;之后便是一般的通过 Windows 更新打驱动和一些应用程序的安装，不再赘述。&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>NixOS 上的磁盘加密</title>
      <link>https://blog.jack77793.dev/2023/10/nixos-%E4%B8%8A%E7%9A%84%E7%A3%81%E7%9B%98%E5%8A%A0%E5%AF%86/</link>
      <pubDate>Tue, 03 Oct 2023 14:45:00 +0800</pubDate>
      <guid>https://blog.jack77793.dev/2023/10/nixos-%E4%B8%8A%E7%9A%84%E7%A3%81%E7%9B%98%E5%8A%A0%E5%AF%86/</guid>
      <description>&lt;h2 id=&#34;起因&#34;&gt;起因&lt;/h2&gt;&#xA;&lt;p&gt;两天前，我的笔记本又坏了，这次是磁盘掉了，修好了之后启动项十分奇怪地消失了，重装系统的时候尝试了磁盘加密——不包含启动分区——并成功了，遂有此记。&lt;/p&gt;&#xA;&lt;h2 id=&#34;前言&#34;&gt;前言&lt;/h2&gt;&#xA;&lt;p&gt;本次尝试使用 dm-crypt 进行磁盘加密，使用 LUKS 模式加密磁盘并使用 LVM on LUKS 方案，具有未加密的启动分区与加密的根分区和交换区，可以正常休眠。&lt;/p&gt;&#xA;&lt;h2 id=&#34;操作&#34;&gt;操作&lt;/h2&gt;&#xA;&lt;h3 id=&#34;分区&#34;&gt;分区&lt;/h3&gt;&#xA;&lt;p&gt;首先对磁盘进行分区，对于使用 UEFI 引导的设备，建议使用 GUID 分区表（GPT），并划分出大于 512MiB 的分区作为启动分区，接着使用剩余的部分创建第二个分区，该分区将被加密并分配给根分区与交换区。第一个分区的类型应为 EFI 系统（GUID: C12A7328-F81F-11D2-BA4B-00A0C93EC93B），第二个分区的类型应为 (Linux) LVM（GUID: E6D6D379-F507-44C2-A23C-238F2A3DF928）。&lt;/p&gt;&#xA;&lt;h3 id=&#34;加密&#34;&gt;加密&lt;/h3&gt;&#xA;&lt;p&gt;在加密磁盘之前，请确认内核模块 dm_crypt 已被加载，并可以使用 cryptsetup 工具。&lt;/p&gt;&#xA;&lt;p&gt;接着加密先前准备好的第二个分区：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&#xA;&lt;table style=&#34;border-spacing:0;padding:0;margin:0;border:0;&#34;&gt;&lt;tr&gt;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;;width:100%&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cryptsetup luksFormat /path/to/your/second/part&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;p&gt;根据提升输入并验证密码后，加密便完成了，若希望通过密钥文件加密磁盘，请使用命令：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&#xA;&lt;table style=&#34;border-spacing:0;padding:0;margin:0;border:0;&#34;&gt;&lt;tr&gt;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;;width:100%&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cryptsetup luksFormat /path/to/your/second/part /path/to/your/keyfile&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;h3 id=&#34;准备逻辑卷&#34;&gt;准备逻辑卷&lt;/h3&gt;&#xA;&lt;p&gt;加密完成后，首先解密磁盘：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&#xA;&lt;table style=&#34;border-spacing:0;padding:0;margin:0;border:0;&#34;&gt;&lt;tr&gt;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;;width:100%&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cryptsetup open /path/to/your/encrypted/device &amp;lt;name&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;p&gt;该磁盘现在可通过 &lt;code&gt;/dev/mapper/&amp;lt;name&amp;gt;&lt;/code&gt; 访问。随后在解密的 LUKS 容器上创建物理卷：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&#xA;&lt;table style=&#34;border-spacing:0;padding:0;margin:0;border:0;&#34;&gt;&lt;tr&gt;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;;width:100%&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;pvcreate /dev/mapper/&amp;lt;name&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;p&gt;接着创建卷组并将先前所创建的物理卷加入其中：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&#xA;&lt;table style=&#34;border-spacing:0;padding:0;margin:0;border:0;&#34;&gt;&lt;tr&gt;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;;width:100%&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;vgcreate &amp;lt;vgname&amp;gt; /dev/mapper/&amp;lt;name&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;p&gt;在卷组中创建所需的逻辑卷（本例中创建两个逻辑卷，一为交换区，一为根分区）：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&#xA;&lt;table style=&#34;border-spacing:0;padding:0;margin:0;border:0;&#34;&gt;&lt;tr&gt;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&#xA;&lt;/span&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;2&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;;width:100%&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;lvcreate -L &amp;lt;your_swap_size&amp;gt; &amp;lt;vgname&amp;gt; -n swap &lt;span style=&#34;color:#080;font-style:italic&#34;&gt;# create swap&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;lvcreate -L 100%FREE &amp;lt;vgname&amp;gt; -n root &lt;span style=&#34;color:#080;font-style:italic&#34;&gt;# create root&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;p&gt;逻辑卷准备完成，此时逻辑卷可通过 &lt;code&gt;/dev/&amp;lt;vgname&amp;gt;/&amp;lt;volumename&amp;gt;&lt;/code&gt; 访问。&lt;/p&gt;&#xA;&lt;h3 id=&#34;格式化分区&#34;&gt;格式化分区&lt;/h3&gt;&#xA;&lt;p&gt;对于启动分区，建议使用 32 位的 vfat 文件系统，至于根分区，使用任意一个你喜欢的文件系统即可，本例中使用 btrfs 作为根分区的文件系统。&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&#xA;&lt;table style=&#34;border-spacing:0;padding:0;margin:0;border:0;&#34;&gt;&lt;tr&gt;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&#xA;&lt;/span&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;2&#xA;&lt;/span&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;3&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;;width:100%&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;mkfs.vfat -F &lt;span style=&#34;color:#666&#34;&gt;32&lt;/span&gt; -n BOOT /path/to/your/boot &lt;span style=&#34;color:#080;font-style:italic&#34;&gt;# format boot&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;mkfs.swap -L SWAP /path/to/your/swap &lt;span style=&#34;color:#080;font-style:italic&#34;&gt;# format swap&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;mkfs.btrfs -L ROOT /path/to/your/root &lt;span style=&#34;color:#080;font-style:italic&#34;&gt;# format root&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;p&gt;完成后，正常挂载文件系统即可。&lt;/p&gt;&#xA;&lt;h3 id=&#34;配置-nixos&#34;&gt;配置 NixOS&lt;/h3&gt;&#xA;&lt;p&gt;在配置文件中添加配置：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&#xA;&lt;table style=&#34;border-spacing:0;padding:0;margin:0;border:0;&#34;&gt;&lt;tr&gt;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&#xA;&lt;/span&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;2&#xA;&lt;/span&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;3&#xA;&lt;/span&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;4&#xA;&lt;/span&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;5&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;;width:100%&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-nix&#34; data-lang=&#34;nix&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;boot&lt;span style=&#34;color:#666&#34;&gt;.&lt;/span&gt;initrd&lt;span style=&#34;color:#666&#34;&gt;.&lt;/span&gt;luks&lt;span style=&#34;color:#666&#34;&gt;.&lt;/span&gt;devices&lt;span style=&#34;color:#666&#34;&gt;.&lt;/span&gt;&lt;span style=&#34;color:#b44&#34;&gt;&amp;#34;&amp;lt;name&amp;gt;&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#666&#34;&gt;=&lt;/span&gt; {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    device &lt;span style=&#34;color:#666&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#b44&#34;&gt;&amp;#34;/path/to/your/encrypted/device&amp;#34;&lt;/span&gt;;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    preLVM &lt;span style=&#34;color:#666&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#800&#34;&gt;true&lt;/span&gt;;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    allowDiscards &lt;span style=&#34;color:#666&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#800&#34;&gt;true&lt;/span&gt;; &lt;span style=&#34;color:#080;font-style:italic&#34;&gt;# when using ssd, enable this&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;};&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;p&gt;接着使用 &lt;code&gt;nixos-install&lt;/code&gt; 安装系统。完成后，具有加密的根文件系统的 NixOS 即已成功安装。&lt;/p&gt;&#xA;&lt;h2 id=&#34;其它操作系统&#34;&gt;其它操作系统&lt;/h2&gt;&#xA;&lt;p&gt;理论上讲，在一般的 Linux 系统上，使用上述操作完成磁盘配置以及分区后，还需配置 initramfs 与内核参数——实际上，操作中最后一步里的配置就是做了这些事——对于使用 systemd 的系统，一般需要添加内核模块 &lt;code&gt;sd-encrypt&lt;/code&gt;，&lt;code&gt;lvm2&lt;/code&gt; 和内核参数 &lt;code&gt;rd.luks.name=&amp;lt;encrypted_device_uuid&amp;gt;=cryptlvm root=UUID=&amp;lt;decrypted_device_uuid&amp;gt;&lt;/code&gt;。因此，使用 Dracut 时，需要添加设置：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&#xA;&lt;table style=&#34;border-spacing:0;padding:0;margin:0;border:0;&#34;&gt;&lt;tr&gt;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&#xA;&lt;/span&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;2&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;;width:100%&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;kernel_cmdline=&amp;#34;rd.luks.name=&amp;lt;encrypted_device_uuid&amp;gt;=cryptlvm root=UUID=&amp;lt;decrypted_device_uuid&amp;gt; rd.luks.allow-discards=&amp;lt;encrypted_device_uuid&amp;gt;&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;add_dracutmodules+=&amp;#34; systemd systemd-cryptsetup lvm2&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;p&gt;使用 mkinitcpio 时，需要在钩子中添加 &lt;code&gt;sd-encrypt&lt;/code&gt; 与 &lt;code&gt;lvm2&lt;/code&gt;，并在引导加载程序中设置相应的内核参数。&lt;/p&gt;&#xA;&lt;p&gt;&lt;em&gt;&lt;strong&gt;注意：本节内容仅供参考，本人不保证其正确性与可用性，请读者根据自己的经验与其它信息自行验证&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;参考资料&#34;&gt;参考资料&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://wiki.archlinuxcn.org/wiki/Dm-crypt&#34;&gt;dm-crypt - Arch Linux 中文维基&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://wiki.gentoo.org/wiki/Dm-crypt_full_disk_encryption&#34;&gt;dm-crypt full disk encryption - Gentoo Wiki&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://nixos.wiki/wiki/Full_Disk_Encryption&#34;&gt;Full Disk Encryption - NixOS Wiki&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://gist.github.com/martijnvermaat/76f2e24d0239470dd71050358b4d5134&#34;&gt;Installation of NixOS with encrypted root&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://wiki.archlinux.org/title/Dracut&#34;&gt;dracut - ArchWiki&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://wiki.gentoo.org/wiki/Dracut&#34;&gt;Dracut - Gentoo Wiki&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://fedoraproject.org/wiki/Dracut&#34;&gt;Dracut - Fedora Project Wiki&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://wiki.archlinuxcn.org/wiki/Mkinitcpio&#34;&gt;mkinitcpio - Arch Linux 中文维基&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;</description>
    </item>
    <item>
      <title>在 Sway 下使用 Waydroid</title>
      <link>https://blog.jack77793.dev/2023/09/%E5%9C%A8-sway-%E4%B8%8B%E4%BD%BF%E7%94%A8-waydroid/</link>
      <pubDate>Sat, 09 Sep 2023 17:00:00 +0800</pubDate>
      <guid>https://blog.jack77793.dev/2023/09/%E5%9C%A8-sway-%E4%B8%8B%E4%BD%BF%E7%94%A8-waydroid/</guid>
      <description>&lt;p&gt;最近在使用 Sway 时，Waydroid 总是显示不出来窗口，日志和正常启动完全一样，没有任何信息，在网络上也查不到什么有用的东西，只有一个&lt;a href=&#34;https://github.com/waydroid/waydroid/issues/32&#34;&gt;十分古老的 issue&lt;/a&gt; ，但显然，这里的情况和我的完全不同，对我没有任何的帮助。&lt;/p&gt;&#xA;&lt;p&gt;尝试重置后发现窗口正常显示，经过一番排查后发现只要开启了多窗口模式，Waydroid 就无法正常显示，所以将多窗口模式关闭即可，若需多窗口模式，建议更换混成器或者在 Sway 下开启一个支持多窗口模式的混成器并在其中启动 Waydroid，据我测试，至少 Wayfire 和 Weston 可以使用。&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>建站小记</title>
      <link>https://blog.jack77793.dev/2023/07/%E5%BB%BA%E7%AB%99%E5%B0%8F%E8%AE%B0/</link>
      <pubDate>Sun, 09 Jul 2023 17:01:03 +0800</pubDate>
      <guid>https://blog.jack77793.dev/2023/07/%E5%BB%BA%E7%AB%99%E5%B0%8F%E8%AE%B0/</guid>
      <description>&lt;h2 id=&#34;关于标题&#34;&gt;关于标题&lt;/h2&gt;&#xA;&lt;p&gt;如 &lt;a href=&#34;https://blog.jack77793.dev/about&#34;&gt;About&lt;/a&gt; 所说，本博客基于 Hugo 框架搭建，并托管在 Cloudflare Pages 上，大概不太能称得上是传统的“建站”，然而毕竟是一个静态博客网站，叫它“建站”似乎也并无不妥，遂以之为题。&lt;/p&gt;&#xA;&lt;h2 id=&#34;关于-hugo-与其安装&#34;&gt;关于 Hugo 与其安装&lt;/h2&gt;&#xA;&lt;p&gt;正如 Hugo 官网所言，Hugo 是世界上最快的内容生成框架，是最受欢迎的开源静态网站生成器之一，有着令人惊讶的速度与灵活性。Hugo 使搭建网站重新变得有趣，也使得使用 Hugo 来搭建博客成为了一个很好的选择。&lt;/p&gt;&#xA;&lt;p&gt;Hugo 的安装也十分简单，一般的发行版的软件源里都包含了 Hugo，使用各自发行版的包管理程序安装即可。BSD，macOS 和视窗用户可以前往&lt;a href=&#34;https://gohugo.io&#34;&gt;官网&lt;/a&gt;参考文档，进行安装。&lt;/p&gt;&#xA;&lt;h2 id=&#34;博客搭建&#34;&gt;博客搭建&lt;/h2&gt;&#xA;&lt;h3 id=&#34;建立网站&#34;&gt;建立网站&lt;/h3&gt;&#xA;&lt;p&gt;安装 Hugo 之后，就可以使用它来建立新的网站，只需：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&#xA;&lt;table style=&#34;border-spacing:0;padding:0;margin:0;border:0;&#34;&gt;&lt;tr&gt;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;;width:100%&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;hugo new site &amp;lt;your-directory&amp;gt; &lt;span style=&#34;color:#080;font-style:italic&#34;&gt;# Notice that the argument &amp;lt;your-directory&amp;gt; must be a directory to be created or empty&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;p&gt;你可以在新建立的网站中找到 &lt;code&gt;archtypes&lt;/code&gt;，&lt;code&gt;assets&lt;/code&gt;，&lt;code&gt;content&lt;/code&gt;，&lt;code&gt;data&lt;/code&gt;，&lt;code&gt;layouts&lt;/code&gt;，&lt;code&gt;static&lt;/code&gt;，&lt;code&gt;themes&lt;/code&gt; 等目录和文件 &lt;code&gt;hugo.toml&lt;/code&gt;，其中 &lt;code&gt;archtypes&lt;/code&gt; 用来存放模板文件，&lt;code&gt;assets&lt;/code&gt; 用来存放资源文件，&lt;code&gt;content&lt;/code&gt; 用来存放网站内容，&lt;code&gt;data&lt;/code&gt; 用来存放数据文件，&lt;code&gt;layouts&lt;/code&gt; 用来存放前端的自定义内容，&lt;code&gt;static&lt;/code&gt; 中的内容会在生成时复制到网站根目录，&lt;code&gt;themes&lt;/code&gt; 用来存放主题，而 &lt;code&gt;hugo.toml&lt;/code&gt; 是网站的配置文件，不过 Hugo 不仅支持 TOML，还支持 YAML 和 JSON 作为配置文件的格式，使用时更改文件后缀名即可。&lt;/p&gt;&#xA;&lt;h3 id=&#34;创建文章&#34;&gt;创建文章&lt;/h3&gt;&#xA;&lt;p&gt;网站建立之后，你便可以在网站所在的目录下创建文章：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&#xA;&lt;table style=&#34;border-spacing:0;padding:0;margin:0;border:0;&#34;&gt;&lt;tr&gt;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;;width:100%&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;hugo new content &amp;lt;your-content&amp;gt; &lt;span style=&#34;color:#080;font-style:italic&#34;&gt;# &amp;lt;your-content&amp;gt; can be either relative path from the &amp;#34;content&amp;#34; directory or absolute path in the &amp;#34;content&amp;#34; directory, and must be a known content format like markdown or html&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;p&gt;此时你所指定的位置会生成一个以模板文件夹下模板文件为模板的新文件，即是你所创建的文章。&lt;/p&gt;&#xA;&lt;h3 id=&#34;站点预览与生成&#34;&gt;站点预览与生成&lt;/h3&gt;&#xA;&lt;h4 id=&#34;预览&#34;&gt;预览&lt;/h4&gt;&#xA;&lt;p&gt;只需：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&#xA;&lt;table style=&#34;border-spacing:0;padding:0;margin:0;border:0;&#34;&gt;&lt;tr&gt;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;;width:100%&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;hugo server &lt;span style=&#34;color:#080;font-style:italic&#34;&gt;# if you need preview drafts, add option &amp;#34;-D&amp;#34;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;p&gt;即可在 &lt;code&gt;localhost:1313&lt;/code&gt; 上预览站点。&lt;/p&gt;&#xA;&lt;h4 id=&#34;生成&#34;&gt;生成&lt;/h4&gt;&#xA;&lt;p&gt;只需：&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&#xA;&lt;table style=&#34;border-spacing:0;padding:0;margin:0;border:0;&#34;&gt;&lt;tr&gt;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;;width:100%&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;hugo&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;p&gt;即可（默认）在 &lt;code&gt;public&lt;/code&gt; 目录下生成内容。&lt;/p&gt;&#xA;&lt;p&gt;不过此时你会发现预览和生成无法成功进行，这是因为站点还没有安装主题。&lt;/p&gt;&#xA;&lt;h3 id=&#34;主题安装&#34;&gt;主题安装&lt;/h3&gt;&#xA;&lt;p&gt;你可以在&lt;a href=&#34;https://themes.gohugo.io&#34;&gt;此处&lt;/a&gt;寻找主题，并根据文档安装。&lt;/p&gt;&#xA;&lt;p&gt;由于主题的差异，主题定制的配置项十分不同，所以建议参照主题的示例配置文件进行配置。Hugo 所定义的所有配置项可以在&lt;a href=&#34;https://gohugo.io/getting-started/configuration/#all-configuration-settings&#34;&gt;这里&lt;/a&gt;找到。&lt;/p&gt;&#xA;&lt;h3 id=&#34;网站发布&#34;&gt;网站发布&lt;/h3&gt;&#xA;&lt;p&gt;一般来讲，在生成站点之后，把 &lt;code&gt;public&lt;/code&gt; 目录下的内容复制到对应的地方即可。&lt;/p&gt;&#xA;&lt;p&gt;本站托管于 Cloudflare Pages 上，源码托管于 GitLab 上，对此，你需要注册 Cloudflare 帐号并连接版本库，在仪表板上作好相应的设置后，每次提交都会自动生成网站，十分方便而且快捷。&lt;/p&gt;&#xA;&lt;h3 id=&#34;评论支持&#34;&gt;评论支持&lt;/h3&gt;&#xA;&lt;p&gt;目前本站没有评论系统，Disqus 之流无法在墙内正常访问，我也不想为各种基于 GitHub 的评论系统单独建立一个版本库，如有相关需求还请邮件联系，也欢迎向我提出建议。&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Test</title>
      <link>https://blog.jack77793.dev/2023/07/test/</link>
      <pubDate>Fri, 07 Jul 2023 22:01:40 +0800</pubDate>
      <guid>https://blog.jack77793.dev/2023/07/test/</guid>
      <description>&lt;h2 id=&#34;test-text&#34;&gt;Test Text&lt;/h2&gt;&#xA;&lt;p&gt;I must not fear. Fear is the mind-killer. Fear is the little-death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. And when it has gone past I will turn the inner eye to see its path. Where the fear has gone there will be nothing. Only I will remain.&lt;/p&gt;&#xA;&lt;h2 id=&#34;simplified-chinese&#34;&gt;Simplified Chinese&lt;/h2&gt;&#xA;&lt;p&gt;青年循蹈乎此，本其理性，加以努力，进前而勿顾后，背黑暗而向光明，为世界进文明，为人类造幸福，以青春之我，创建青春之家庭，青春之国家，青春之民族，青春之人类，青春之地球，青春之宇宙，资以乐其无涯之生。&lt;/p&gt;&#xA;&lt;h2 id=&#34;mathjax-support&#34;&gt;MathJax Support&lt;/h2&gt;&#xA;&lt;p&gt;When $a \ne 0$, there are two solutions to $ax^2 + bx + c = 0$ and they are:&lt;/p&gt;&#xA;&lt;p&gt;$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}$$&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>About</title>
      <link>https://blog.jack77793.dev/about/</link>
      <pubDate>Sat, 22 Apr 2023 00:00:00 +0800</pubDate>
      <guid>https://blog.jack77793.dev/about/</guid>
      <description>&lt;h2 id=&#34;jack77793&#34;&gt;Jack77793&lt;/h2&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://blog.jack77793.dev&#34;&gt;Jack77793&amp;rsquo;s Blog&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;avatar&#34;&gt;Avatar&lt;/h3&gt;&#xA;&lt;p&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://blog.jack77793.dev/avatar.png&#34; alt=&#34;Avatar&#34;&gt;&#xA;  &#xA;    &lt;figcaption&gt;Avatar&lt;/figcaption&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;By &lt;a href=&#34;https://bingzehua.lofter.com&#34;&gt;Elisik&lt;/a&gt;, all rights reserved.&lt;/p&gt;&#xA;&lt;h3 id=&#34;contact-information&#34;&gt;Contact Information&lt;/h3&gt;&#xA;&lt;p&gt;Email: &lt;a href=&#34;mailto:jack77793@hotmail.com&#34;&gt;jack77793@hotmail.com&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;GitHub: &lt;a href=&#34;https://github.com/Jack77793&#34;&gt;Jack77793&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;this-blog&#34;&gt;This Blog&lt;/h2&gt;&#xA;&lt;p&gt;This blog uses the &lt;a href=&#34;https://gohugo.io/&#34;&gt;Hugo&lt;/a&gt; framework and &lt;a href=&#34;https://github.com/chollinger93/ink-free&#34;&gt;Ink-Free&lt;/a&gt; theme, with the website hosted on &lt;a href=&#34;https://pages.cloudflare.com/&#34;&gt;Cloudflare Pages&lt;/a&gt; and the source code hosted on &lt;a href=&#34;https://github.com/Jack77793/blog&#34;&gt;GitHub&lt;/a&gt;. Unless otherwise noted, all content on this website is licensed under &lt;a href=&#34;https://blog.jack77793.dev/license&#34;&gt;CC-BY-NC-SA 4.0&lt;/a&gt;.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Friendlinks</title>
      <link>https://blog.jack77793.dev/friendlink/</link>
      <pubDate>Sat, 22 Apr 2023 00:00:00 +0800</pubDate>
      <guid>https://blog.jack77793.dev/friendlink/</guid>
      <description>&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;th&gt;Avatar&lt;/th&gt;&#xA;          &lt;th&gt;Nickname&lt;/th&gt;&#xA;          &lt;th&gt;URL&lt;/th&gt;&#xA;          &lt;th&gt;Self Introduction&lt;/th&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;      &lt;tr&gt;&#xA;          &lt;td&gt;&lt;figure&gt;&#xA;  &lt;img src=&#34;https://img.jack77793.dev/Elisik.jpg&#34; alt=&#34;&#34;&gt;&#xA;  &#xA;&lt;/figure&gt;&#xA;&#xA;&lt;/td&gt;&#xA;          &lt;td&gt;Elisik&lt;/td&gt;&#xA;          &lt;td&gt;&lt;a href=&#34;https://bingzehua.lofter.com&#34;&gt;https://bingzehua.lofter.com&lt;/a&gt;&lt;/td&gt;&#xA;          &lt;td&gt;🥑🍞&lt;/td&gt;&#xA;      &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;</description>
    </item>
    <item>
      <title>License</title>
      <link>https://blog.jack77793.dev/license/</link>
      <pubDate>Sat, 22 Apr 2023 00:00:00 +0800</pubDate>
      <guid>https://blog.jack77793.dev/license/</guid>
      <description>&lt;h2 id=&#34;creative-commons-attribution-noncommercial-sharealike-40-international-public-license&#34;&gt;&lt;a href=&#34;https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode&#34;&gt;Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License (&amp;ldquo;Public License&amp;rdquo;). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.&lt;/p&gt;&#xA;&lt;h3 id=&#34;section-1--definitions&#34;&gt;Section 1 – Definitions.&lt;/h3&gt;&#xA;&lt;p&gt;a. &lt;strong&gt;Adapted Material&lt;/strong&gt; means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image.&lt;/p&gt;&#xA;&lt;p&gt;b. &lt;strong&gt;Adapter&amp;rsquo;s License&lt;/strong&gt; means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.&lt;/p&gt;&#xA;&lt;p&gt;c. &lt;strong&gt;BY-NC-SA Compatible License&lt;/strong&gt; means a license listed at &lt;a href=&#34;https://creativecommons.org/compatiblelicenses&#34;&gt;creativecommons.org/compatiblelicenses&lt;/a&gt;, approved by Creative Commons as essentially the equivalent of this Public License.&lt;/p&gt;&#xA;&lt;p&gt;d. &lt;strong&gt;Copyright and Similar Rights&lt;/strong&gt; means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.&lt;/p&gt;&#xA;&lt;p&gt;e. &lt;strong&gt;Effective Technological Measures&lt;/strong&gt; means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements.&lt;/p&gt;&#xA;&lt;p&gt;f. &lt;strong&gt;Exceptions and Limitations&lt;/strong&gt; means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.&lt;/p&gt;&#xA;&lt;p&gt;g. &lt;strong&gt;License Elements&lt;/strong&gt; means the license attributes listed in the name of a Creative Commons Public License. The License Elements of this Public License are Attribution, NonCommercial, and ShareAlike.&lt;/p&gt;&#xA;&lt;p&gt;h. &lt;strong&gt;Licensed Material&lt;/strong&gt; means the artistic or literary work, database, or other material to which the Licensor applied this Public License.&lt;/p&gt;&#xA;&lt;p&gt;i. &lt;strong&gt;Licensed Rights&lt;/strong&gt; means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.&lt;/p&gt;&#xA;&lt;p&gt;j. &lt;strong&gt;Licensor&lt;/strong&gt; means the individual(s) or entity(ies) granting rights under this Public License.&lt;/p&gt;&#xA;&lt;p&gt;k. &lt;strong&gt;NonCommercial&lt;/strong&gt; means not primarily intended for or directed towards commercial advantage or monetary compensation. For purposes of this Public License, the exchange of the Licensed Material for other material subject to Copyright and Similar Rights by digital file-sharing or similar means is NonCommercial provided there is no payment of monetary compensation in connection with the exchange.&lt;/p&gt;&#xA;&lt;p&gt;l. &lt;strong&gt;Share&lt;/strong&gt; means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.&lt;/p&gt;&#xA;&lt;p&gt;m. &lt;strong&gt;Sui Generis Database Rights&lt;/strong&gt; means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.&lt;/p&gt;&#xA;&lt;p&gt;n. &lt;strong&gt;You&lt;/strong&gt; means the individual or entity exercising the Licensed Rights under this Public License. &lt;strong&gt;Your&lt;/strong&gt; has a corresponding meaning.&lt;/p&gt;&#xA;&lt;h3 id=&#34;section-2--scope&#34;&gt;Section 2 – Scope.&lt;/h3&gt;&#xA;&lt;p&gt;a. &lt;strong&gt;License grant.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:&lt;/p&gt;&#xA;&lt;p&gt;A. reproduce and Share the Licensed Material, in whole or in part, for NonCommercial purposes only; and&lt;/p&gt;&#xA;&lt;p&gt;B. produce, reproduce, and Share Adapted Material for NonCommercial purposes only.&lt;/p&gt;&#xA;&lt;p&gt;2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.&lt;/p&gt;&#xA;&lt;p&gt;3. Term. The term of this Public License is specified in Section 6(a).&lt;/p&gt;&#xA;&lt;p&gt;4. Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.&lt;/p&gt;&#xA;&lt;p&gt;5. Downstream recipients.&lt;/p&gt;&#xA;&lt;p&gt;A. Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.&lt;/p&gt;&#xA;&lt;p&gt;B. Additional offer from the Licensor – Adapted Material. Every recipient of Adapted Material from You automatically receives an offer from the Licensor to exercise the Licensed Rights in the Adapted Material under the conditions of the Adapter’s License You apply.&lt;/p&gt;&#xA;&lt;p&gt;C. No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.&lt;/p&gt;&#xA;&lt;p&gt;6. No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i).&lt;/p&gt;&#xA;&lt;p&gt;b. &lt;strong&gt;Other rights.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.&lt;/p&gt;&#xA;&lt;p&gt;2. Patent and trademark rights are not licensed under this Public License.&lt;/p&gt;&#xA;&lt;p&gt;3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties, including when the Licensed Material is used other than for NonCommercial purposes.&lt;/p&gt;&#xA;&lt;h3 id=&#34;section-3--license-conditions&#34;&gt;Section 3 – License Conditions.&lt;/h3&gt;&#xA;&lt;p&gt;Your exercise of the Licensed Rights is expressly made subject to the following conditions.&lt;/p&gt;&#xA;&lt;p&gt;a. &lt;strong&gt;Attribution.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;1. If You Share the Licensed Material (including in modified form), You must:&lt;/p&gt;&#xA;&lt;p&gt;A. retain the following if it is supplied by the Licensor with the Licensed Material:&lt;/p&gt;&#xA;&lt;p&gt;i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);&lt;/p&gt;&#xA;&lt;p&gt;ii. a copyright notice;&lt;/p&gt;&#xA;&lt;p&gt;iii. a notice that refers to this Public License;&lt;/p&gt;&#xA;&lt;p&gt;iv. a notice that refers to the disclaimer of warranties;&lt;/p&gt;&#xA;&lt;p&gt;v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable;&lt;/p&gt;&#xA;&lt;p&gt;B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and&lt;/p&gt;&#xA;&lt;p&gt;C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.&lt;/p&gt;&#xA;&lt;p&gt;2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.&lt;/p&gt;&#xA;&lt;p&gt;3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable.&lt;/p&gt;&#xA;&lt;p&gt;b. &lt;strong&gt;ShareAlike.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply.&lt;/p&gt;&#xA;&lt;p&gt;1. The Adapter’s License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-NC-SA Compatible License.&lt;/p&gt;&#xA;&lt;p&gt;2. You must include the text of, or the URI or hyperlink to, the Adapter&amp;rsquo;s License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material.&lt;/p&gt;&#xA;&lt;p&gt;3. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter&amp;rsquo;s License You apply.&lt;/p&gt;&#xA;&lt;h3 id=&#34;section-4--sui-generis-database-rights&#34;&gt;Section 4 – Sui Generis Database Rights.&lt;/h3&gt;&#xA;&lt;p&gt;Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:&lt;/p&gt;&#xA;&lt;p&gt;a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database for NonCommercial purposes only;&lt;/p&gt;&#xA;&lt;p&gt;b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material, including for purposes of Section 3(b); and&lt;/p&gt;&#xA;&lt;p&gt;c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.&lt;/p&gt;&#xA;&lt;p&gt;For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights.&lt;/p&gt;&#xA;&lt;h3 id=&#34;section-5--disclaimer-of-warranties-and-limitation-of-liability&#34;&gt;Section 5 – Disclaimer of Warranties and Limitation of Liability.&lt;/h3&gt;&#xA;&lt;p&gt;&lt;strong&gt;a. Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;b. To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.&lt;/p&gt;&#xA;&lt;h3 id=&#34;section-6--term-and-termination&#34;&gt;Section 6 – Term and Termination.&lt;/h3&gt;&#xA;&lt;p&gt;a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.&lt;/p&gt;&#xA;&lt;p&gt;b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:&lt;/p&gt;&#xA;&lt;p&gt;1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or&lt;/p&gt;&#xA;&lt;p&gt;2. upon express reinstatement by the Licensor.&lt;/p&gt;&#xA;&lt;p&gt;For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.&lt;/p&gt;&#xA;&lt;p&gt;c. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.&lt;/p&gt;&#xA;&lt;p&gt;d. Sections 1, 5, 6, 7, and 8 survive termination of this Public License.&lt;/p&gt;&#xA;&lt;h3 id=&#34;section-7--other-terms-and-conditions&#34;&gt;Section 7 – Other Terms and Conditions.&lt;/h3&gt;&#xA;&lt;p&gt;a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.&lt;/p&gt;&#xA;&lt;p&gt;b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.&lt;/p&gt;&#xA;&lt;h3 id=&#34;section-8--interpretation&#34;&gt;Section 8 – Interpretation.&lt;/h3&gt;&#xA;&lt;p&gt;a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.&lt;/p&gt;&#xA;&lt;p&gt;b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.&lt;/p&gt;&#xA;&lt;p&gt;c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.&lt;/p&gt;&#xA;&lt;p&gt;d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” The text of the Creative Commons public licenses is dedicated to the public domain under the &lt;a href=&#34;https://creativecommons.org/publicdomain/zero/1.0/legalcode&#34;&gt;CC0 Public Domain Dedication&lt;/a&gt;. Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at &lt;a href=&#34;https://creativecommons.org/policies&#34;&gt;creativecommons.org/policies&lt;/a&gt;, Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses.&lt;/p&gt;&#xA;&lt;p&gt;Creative Commons may be contacted at &lt;a href=&#34;https://creativecommons.org/&#34;&gt;creativecommons.org&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;</description>
    </item>
  </channel>
</rss>
