<?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>OS on テクニカルノート(new)</title>
    <link>http://technotes.fml.org/tech/os/</link>
    <description>Recent content in OS on テクニカルノート(new)</description>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>Copyright (C) 1993-2026 Ken&amp;rsquo;ichi Fukamachi, CC BY-NC-SA 4.0</copyright>
    <lastBuildDate>Tue, 03 Dec 2024 00:00:00 +0900</lastBuildDate>
    <atom:link href="http://technotes.fml.org/tech/os/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Debian GNU/Linux上でchroot環境を作る</title>
      <link>http://technotes.fml.org/tech/os/linux/debian/schroot/</link>
      <pubDate>Tue, 03 Dec 2024 00:00:00 +0900</pubDate>
      <guid>http://technotes.fml.org/tech/os/linux/debian/schroot/</guid>
      <description>&lt;p&gt;とうぜん伝統のchrootコマンドは存在しますが、
それをwrapするschrootパッケージなど便利なものが初めからあるので、
そちらを使うべきでしょう。
今となってはdockerでいいのでは？と反論されそうですが、
低スペックのマシンだと、やはりchrootのほうが軽い印象です&lt;/p&gt;</description>
    </item>
    <item>
      <title>Alpine Linuxをインストール</title>
      <link>http://technotes.fml.org/tech/os/linux/alpine/install/</link>
      <pubDate>Tue, 30 Jan 2024 00:00:00 +0900</pubDate>
      <guid>http://technotes.fml.org/tech/os/linux/alpine/install/</guid>
      <description>&lt;p&gt;Alpine Linuxのインストールについてまとめておきます&lt;/p&gt;
&lt;h2 id=&#34;インストール&#34;&gt;インストール&lt;/h2&gt;
&lt;h3 id=&#34;まずisoから起動する&#34;&gt;まずISOから起動する&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&#34;https://www.alpinelinux.org/&#34;&gt;https://www.alpinelinux.org/&lt;/a&gt; からISOをダウンロードしてISOを起動&lt;/li&gt;
&lt;li&gt;普通にOSが起動してきて&lt;code&gt;... login:&lt;/code&gt;と出てくるのでユーザroot、パスワードなしでログイン&lt;/li&gt;
&lt;li&gt;setup-alpineコマンドを実行します&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;インストーラ&#34;&gt;インストーラ&lt;/h3&gt;
&lt;p&gt;なんとなく分ると思うので、省略してよいとおもうのですが Disk &amp;amp; Intall のところだけメモっておくと&lt;/p&gt;</description>
    </item>
    <item>
      <title>ElasticSearchのクラスタ形成の理屈</title>
      <link>http://technotes.fml.org/tech/os/distributed/elasticsearch/clustering-logic/</link>
      <pubDate>Fri, 12 Jan 2024 00:00:00 +0900</pubDate>
      <guid>http://technotes.fml.org/tech/os/distributed/elasticsearch/clustering-logic/</guid>
      <description>&lt;p&gt;ElasticSearchのクラスタ形成の理屈をまとめておきます&lt;/p&gt;
&lt;h2 id=&#34;そもそも論で中央サーバが必要です&#34;&gt;そもそも論で、中央サーバが必要です&lt;/h2&gt;
&lt;p&gt;そもそも分散システムと言っても、中央サーバのようなものがないシステムはありません。
理論上は自力でつながりあっていく真のP2Pサーバ群とか考えられますが、
すくなくとも実運用されているものには存在しないと思います。&lt;/p&gt;</description>
    </item>
    <item>
      <title></title>
      <link>http://technotes.fml.org/tech/os/linux/debian/compile/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>http://technotes.fml.org/tech/os/linux/debian/compile/</guid>
      <description>&lt;pre&gt;&lt;code&gt; apt source libreswan
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;sudo apt install build-essential
sudo apt build-dep libreswan&lt;/p&gt;
&lt;p&gt;cd libreswan-4.3
echo USE_DH2=true &amp;raquo; Makefile.inc.local
make&lt;/p&gt;
&lt;p&gt;でも
make deb
では無効なので、、、え？&lt;/p&gt;
&lt;p&gt;もう local/config.mk を編集した（おい）&lt;/p&gt;</description>
    </item>
    <item>
      <title></title>
      <link>http://technotes.fml.org/tech/os/linux/debian/install-via-serial/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>http://technotes.fml.org/tech/os/linux/debian/install-via-serial/</guid>
      <description>&lt;p&gt;シリアルでインストールしたいけれど&amp;hellip;&lt;/p&gt;
&lt;h2 id=&#34;debianをシリアルでインストールしたい&#34;&gt;Debianをシリアルでインストールしたい&lt;/h2&gt;
&lt;p&gt;出来ないみたい?&lt;/p&gt;
&lt;p&gt;自分でインストーライメージを作れ?&lt;/p&gt;
&lt;h2 id=&#34;ubuntuをシリアルでインストールしたい&#34;&gt;Ubuntuをシリアルでインストールしたい&lt;/h2&gt;
&lt;p&gt;最初からは出来ないけれど、
いったんgrubの画面で止め、
カーネルのブートオプションを指定できれば、
そのあとはシリアルでインストールが出来る。
ただ、画面の端のほうがよく見えなかったりするので、
できるけれど、あまり推奨できないように思えた。&lt;/p&gt;</description>
    </item>
    <item>
      <title></title>
      <link>http://technotes.fml.org/tech/os/linux/debian/mdadm/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>http://technotes.fml.org/tech/os/linux/debian/mdadm/</guid>
      <description>&lt;h2 id=&#34;現在のステータスを見たい&#34;&gt;現在のステータスを見たい&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# mdadm --detail /dev/md127 
/dev/md127:
           Version : 1.2
     Creation Time : Thu Jun  8 03:00:15 2023
        Raid Level : raid1
        Array Size : 244066432 (232.76 GiB 249.92 GB)
     Used Dev Size : 244066432 (232.76 GiB 249.92 GB)
      Raid Devices : 2
     Total Devices : 2
       Persistence : Superblock is persistent

     Intent Bitmap : Internal

       Update Time : Thu Jun  8 04:56:13 2023
             State : clean 
    Active Devices : 2
   Working Devices : 2
    Failed Devices : 0
     Spare Devices : 0

Consistency Policy : bitmap

              Name : ubuntu-template:0  (local to host ubuntu-template)
              UUID : 38a5bb6c:fab528f0:52791e65:e87a857a
            Events : 3198

    Number   Major   Minor   RaidDevice State
       0       8       16        0      active sync   /dev/sdb
       1       8       32        1      active sync   /dev/sdc
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;設定を消したいのだけれど-&#34;&gt;設定を消したいのだけれど &amp;hellip;&lt;/h2&gt;
&lt;p&gt;正解は???&lt;/p&gt;</description>
    </item>
    <item>
      <title></title>
      <link>http://technotes.fml.org/tech/os/linux/debian/nginx-https/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>http://technotes.fml.org/tech/os/linux/debian/nginx-https/</guid>
      <description>&lt;p&gt;apt install certbot&lt;/p&gt;
&lt;p&gt;certbot は、いつものかんじ&lt;/p&gt;
&lt;p&gt;nginx&lt;/p&gt;
&lt;p&gt;server {&lt;/p&gt;
&lt;p&gt;0.0.0.0:443 ssl;  ssl を忘れると 443/tcp で HTTP のつもりになってしまうので注意&lt;/p&gt;
&lt;p&gt;あと、証明書を2行追加&lt;/p&gt;
&lt;p&gt;&amp;hellip;
}&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
