WSLにArch Linuxをインストールします。
Ubuntu上のfish, ssh, code server, hexo, openvpn, jellyfinをArch Linuxに移行します。

https://wiki.archlinux.org/title/Install_Arch_Linux_on_WSL

環境

  • Widows 11 Pro
    • wsl2
      • arch linux
        • fish 4.1.2
        • starship v1.24.0
        • code-server v4.105.1
        • hexo 8.1.0
          • hexo-theme-butterfly 5.5.1
        • openvpn 2.6.15
        • jellyfin 10.11.0

構築

  1. Arch Linuxをインストール

    管理者で実行
    wsl --install archlinux
    wsl --list
    wsl --set-default archlinux
  2. Windows設定
    2.1 Windows Terminal
    2.2 port forward
    2.3 wslconfigを設定

    C:\Users\ユーザー名\.wslconfig
    [experimental]
    autoMemoryReclaim=gradual

    2.4 task scheduler

  3. Arch Linux環境設定
    3.1 install packages
    3.2 mount disks
    3.3 fish shell
    3.4 starship
    3.5 ssh
    3.6 code server
    3.7 hexo
    3.7 openvpn
    3.8 jellyfin

  4. Ubuntuを削除