www.mtkn.jp

Manuscripts for my personal webpage.
git clone https://git.mtkn.jp/www.mtkn.jp
Log | Files | Refs | README

commit d850ddfab2b1fd368c3f05d6f92dcf59f72d4925
parent 8b4ef83ed5b8858c6f668b988a5aa2b12da7f0c6
Author: Matsuda Kenji <contact2655@matsudakenji.xyz>
Date:   Sun, 19 Dec 2021 16:56:41 +0900

update farm/journal

Diffstat:
Mman/computer/.openbsd_installation.html | 1+
Mman/farm/journal/2021.html | 4++++
Mpub/.files | 3++-
Apub/computer/.openbsd_installation.html | 83+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mpub/farm/journal/2021.html | 4++++
Mpub/sitemap.xml | 63++++++++++++++++++++++++++++++++-------------------------------
6 files changed, 126 insertions(+), 32 deletions(-)

diff --git a/man/computer/.openbsd_installation.html b/man/computer/.openbsd_installation.html @@ -56,3 +56,4 @@ $ doas sh /etc/netstart <p><code>man(1)</code>のパスを設定</p> <p><code>slock(1)</code>を設定</p> <p><code>xenodm(1)</code>を設定</p> +<p><code>mail(1)</code>の設定<a href="https://www.c0ffee.net/blog/openbsd-on-a-laptop/#base-utilities">ref</a></p> diff --git a/man/farm/journal/2021.html b/man/farm/journal/2021.html @@ -5,6 +5,10 @@ <h3>霜月</h3> +<luna>17日</luna> +<time>2021-12-19</time> +<p>曇り時々雨。玉葱の定植。白菜、大根、真菜等が大きくなってきた。麦も大分育ったので踏もうとしていたら雨が降って来てできなかった。畔に子猫が居た。</p> + <luna>12日</luna> <time>2021-12-14</time> <p>晴。久々に冬らしく寒い朝だった。昼間は日が照って暑い。壬生菜の定植。畝作り。</p> diff --git a/pub/.files b/pub/.files @@ -1 +1,2 @@ -./blog/blog_index.html +./computer/.openbsd_installation.html +./farm/journal/2021.html diff --git a/pub/computer/.openbsd_installation.html b/pub/computer/.openbsd_installation.html @@ -0,0 +1,83 @@ +<!DOCTYPE html> +<html lang="ja"> +<head> + <meta charset="utf-8" /> + <meta name="viewport" content="width=device-width,initial-scale=1" /> + <link rel="stylesheet" type="text/css" href="/static/base.css" /> + <link rel="icon" type="image/x-icon" href="/static/favicon.ico" /> + <title>はつかぜ</title> +</head> +<body> + <header> + <h3> + <a href=/>はつかぜ</a> + </h3> + </header> + <main> + <article> +<head> + <meta charset="utf-8"> +</head> +<h1>OpenBSDインストール</h1> +<time>2021-12-16</time> +<p>OpenBSDをノートパソコンにインストールしたのでその時のメモ</p> + +<p>インストール用のライブUSBを作成</p> +<p>ブート</p> +<p>指示通りインストール</p> + +<p>Reboot</p> +<p>通常ユーザーでログインしてルートユーザーになる</p> +<pre><code>$ su +Password: +</code></pre> + +<p><code>doas(1)</code>を設定して通常ユーザーに戻る</p> +<pre><code># cp /etc/examples/doas.conf /etc/ +# sed -i 's/permit keepenv :wheel/permit nopass keepenv :wheel/' /etc/doas.conf +# exit +$ doas echo unko +unko +</code></pre> + +<p><code>syspatch(8)</code>をあてる</p> +<pre><code>$ doas syspatch +... +Relinking to create unique kernel... done. +</pre></code> + +<p><code>apmd(8)</code>を設定</p> +<pre><code>$ doas rcctl enable apmd +$ doas set apmd flags -A -z 10 +$ rcctl start apmd +apmd (ok) +</pre></code> + +<p>wi-fiを設定</p> +<pre><code>$ ifconfig +... +iwn0 flags=... +... +$ ifconfig iwn0 up +$ doas sh -c 'echo "join <i>ssid</i> wpakey <i>password</i> +autoconf" > /etc/hostname.iwn0' +$ doas chown root:wheel /etc/hostname.iwn9 +$ doas chmod 0640 /etc/hostname.iwn0 +$ doas sh /etc/netstart +... +</pre></code> + +<p>必要なパッケージをインストール</p> +<p><code>dotfiles</code>をダウンロード</p> +<p>suckless utilitiesをインストール</p> +<p><code>man(1)</code>のパスを設定</p> +<p><code>slock(1)</code>を設定</p> +<p><code>xenodm(1)</code>を設定</p> +<p><code>mail(1)</code>の設定<a href="https://www.c0ffee.net/blog/openbsd-on-a-laptop/#base-utilities">ref</a></p> + </article> + + </main> + <footer> + </footer> +</body> +</html> diff --git a/pub/farm/journal/2021.html b/pub/farm/journal/2021.html @@ -22,6 +22,10 @@ <h3>霜月</h3> +<luna>17日</luna> +<time>2021-12-19</time> +<p>曇り時々雨。玉葱の定植。白菜、大根、真菜等が大きくなってきた。麦も大分育ったので踏もうとしていたら雨が降って来てできなかった。畔に子猫が居た。</p> + <luna>12日</luna> <time>2021-12-14</time> <p>晴。久々に冬らしく寒い朝だった。昼間は日が照って暑い。壬生菜の定植。畝作り。</p> diff --git a/pub/sitemap.xml b/pub/sitemap.xml @@ -1,34 +1,35 @@ <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> -<url><loc>https://www.matsudakenji.xyz/about.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/blog/blog_index.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/blog/posts/20200719.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/blog/posts/20200723.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/blog/posts/20200725.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/blog/posts/20200727.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/blog/posts/20200801.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/blog/posts/20200802.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/blog/posts/20200804.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/blog/posts/20200808.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/blog/posts/20200917.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/blog/posts/20200918.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/blog/posts/20200919.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/blog/posts/20200925.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/blog/posts/20200926.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/blog/posts/20201003.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/blog/posts/20201201.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/blog/posts/20201202.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/blog/posts/20201209.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/blog/posts/20201210.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/blog/posts/20210106.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/blog/posts/20210806.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/blog/posts/20211129.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/blog/posts/20211214.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/computer/archlinux_installation.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/computer/what-i-use.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/error/404.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/farm/journal/2021.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/misc/migration.html</loc><lastmod>2021-12-14</lastmod></url> -<url><loc>https://www.matsudakenji.xyz/plants/myrica_rubra.html</loc><lastmod>2021-12-14</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/about.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/blog/blog_index.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/blog/posts/20200719.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/blog/posts/20200723.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/blog/posts/20200725.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/blog/posts/20200727.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/blog/posts/20200801.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/blog/posts/20200802.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/blog/posts/20200804.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/blog/posts/20200808.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/blog/posts/20200917.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/blog/posts/20200918.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/blog/posts/20200919.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/blog/posts/20200925.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/blog/posts/20200926.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/blog/posts/20201003.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/blog/posts/20201201.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/blog/posts/20201202.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/blog/posts/20201209.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/blog/posts/20201210.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/blog/posts/20210106.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/blog/posts/20210806.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/blog/posts/20211129.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/blog/posts/20211214.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/computer/.openbsd_installation.html</loc><lastmod>2021-12-19</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/computer/archlinux_installation.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/computer/what-i-use.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/error/404.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/farm/journal/2021.html</loc><lastmod>2021-12-19</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/misc/migration.html</loc><lastmod>2021-12-16</lastmod></url> +<url><loc>https://www.matsudakenji.xyz/plants/myrica_rubra.html</loc><lastmod>2021-12-16</lastmod></url> </urlset>