30 09 2023
|
> wsl --update > wsl --shutdown
>wsl --list --online インストールできる有効なディストリビューションの一覧を次に示します。 'wsl --install -d' を使用してインストールします。 NAME FRIENDLY NAME Ubuntu Ubuntu Debian Debian GNU/Linux kali-linux Kali Linux Rolling Ubuntu-18.04 Ubuntu 18.04 LTS Ubuntu-20.04 Ubuntu 20.04 LTS Ubuntu-22.04 Ubuntu 22.04 LTS OracleLinux_7_9 Oracle Linux 7.9 OracleLinux_8_7 Oracle Linux 8.7 OracleLinux_9_1 Oracle Linux 9.1 openSUSE-Leap-15.5 openSUSE Leap 15.5 SUSE-Linux-Enterprise-Server-15-SP4 SUSE Linux Enterprise Server 15 SP4 SUSE-Linux-Enterprise-15-SP5 SUSE Linux Enterprise 15 SP5 openSUSE-Tumbleweed openSUSE Tumbleweed
>wsl --install -d Debian インストール中: Debian GNU/Linux Debian GNU/Linux はインストールされました。 Debian GNU/Linux を起動しています...インストールされると自動的にDebianが起動し、Debian の ユーザー設定になる。
Installing, this may take a few minutes... Please create a default UNIX user account. The username does not need to match your Windows username. For more information visit: https://aka.ms/wslusers Enter new UNIX username: USERNAME New password: Retype new password: passwd: password updated successfully Installation successful! Linux 用 Windows サブシステムが Microsoft Store で入手可能になりました。 'wsl.exe --update' を実行するか、https://aka.ms/wslstorepage にアクセスしてアップグレードできます Microsoft Store から WSL をインストールすると、最新の WSL 更新がより速く提供されます。 詳細については、https://aka.ms/wslstoreinfo をご覧ください。 USERNAME@PCNAME:~$
$ sudo update-locale LANGUAGE=ja_JP.UTF-8 $ sudo update-locale LANG=ja_JP.UTF-8
$ sudo update-locale LANGUAGE=ja_JP.UTF-8 $ sudo update-locale LANG=ja_JP.UTF-8
> debian config --default-user xxxx
update: 2023/09/30 14:59 | path: /pub/software/linux
[boot] systemd=true
[user] default=USERNAME
update: 2023/09/30 14:51 | path: /pub/software/linux