肆号機 設定・インストール覚書2

WSL2のセットアップ

1. Windowsの機能

  • Linux用 Windowsサブシステム
  • 仮想マシンプラットフォーム

上記をONにして、再起動。

2. Linux カーネル更新プログラム パッケージをダウンロードする

下記サイトよりインストーラーをダウンルードして、インストール。

https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi

3. WSL 2 を既定のバージョンとして設定する

コマンドプロンプトかPowerShellで下記コマンド実行。

wsl --set-default-version 2

4. MicrosoftストアからLinuxディストリビューションを入手する

今回は Ubuntu 20.04 LTSを入手。

インストールできたら、初回起動を行い、ユーザーを作成する。

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: hogehoge   ### ユーザー名
New password:   ### パスワード
Retype new password:   ### パスワードをもう一回
passwd: password updated successfully
Installation successful!
To run a command as administrator (user "root"), use "sudo ".
See "man sudo_root" for details.

Welcome to Ubuntu 20.04.1 LTS (GNU/Linux 4.19.128-microsoft-standard x86_64)

 * Documentation: https://help.ubuntu.com
 * Management: https://landscape.canonical.com
 * Support: https://ubuntu.com/advantage

System information as of Tue Jan 19 18:44:02 JST 2021

System load: 0.02 Processes: 8
Usage of /: 0.4% of 250.98GB Users logged in: 0
Memory usage: 0% IPv4 address for eth0: 172.19.33.149
Swap usage: 0%

1 update can be installed immediately.
0 of these updates are security updates.
To see these additional updates run: apt list --upgradable

The list of available updates is more than a week old.
To check for new updates run: sudo apt update

This message is shown once once a day. To disable it please create the
/home/hogehoge/.hushlogin file.

Docker Desktop for Windows

Docker Hubからインストーラー入手

Visual Studio Code

  • 機能拡張の追加
    • Python

その他

  • Python3.9
  • Adobe Acrobat Reader
    • 勝手にマカフィーアンチウイルスを入れようとするので、ちゃんとオフにする
  • BRXL-PT6U2V(ブルーレイ)の書き込みソフト(添付DVDより)
  • Canon G7030 プリンタドライバーのインストール(公式サポートサイトから)
  • ScanSnap S1500 ドライバー、ユーティリティのインストール(公式サポートサイトから)
  • NumLockLockのインストール
    • 勝手にNumLockがオフになる事象が多発しているため。

コメントはまだありません

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

CAPTCHA