LoginSignup
0
0

Windows11 development environment を使って日本語環境をセットアップ

Last updated at Posted at 2023-12-10

VirtualBox で 検証環境を作ろうと、Microsoft の提供している Windows11 development environment を使ってみた。
当たり前の内容だけれど、意外とこまごました設定が必要なためまとめ。

環境

母艦

  • Ubuntu 22.04 LTS
  • VirtualBox 6.1
    • Ubuntu の ディストリビューションパッケージを apt でインストールしたもの

仮想OS

  • Windows 11 Enterprise Evaluation
  • 22H2

評価版の内容

以下のような設定がなされているらしいです。

Windows 11 Enterprise (Evaluation)
Visual Studio 2022 Community Edition with UWP, .NET Desktop, Azure, and Windows App SDK for C# workloads enabled
Windows Subsystem for Linux 2 enabled with Ubuntu installed
Windows Terminal installed
Developer mode enabled

有効期限が2ヶ月ぐらい? 今回ダウンロードしたページには、以下のように表示されていました。

Expiration date: February 13, 2024

期限が切れると、以下のような状態になるらしいです。

These virtual machines contain an evaluation version of Windows that expires on the date posted. If the evaluation period expires, the desktop background will turn black, you will see a persistent desktop notification indicating that the system is not genuine, and the PC will shut down every hour.

インストール

ここからダウンロード。
https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/
image.png

VirtualBox 用のものを選んでダウンロードしました。

ダウンロードした zip ファイルは22.8G ありました。展開したら23.0Gの ova ファイルができます。

VirtlBox から、インポートを行います。

image.png

解凍した ova ファイルを選択。

image.png

ファイルを開けるとこのような設定になってました。

image.png

「インポート」を押します。
image.png

実行しようとしたら

image.png

エラーが出たので、BIOSの設定を直しました。

image.png

再度実行し、初期設定が自動で進むので待っていると以下のような画面になります。

image.png

日本語環境に設定する

「Settings」から設定していきます。

image.png

ハンバーガーメニューを押して

image.png

「Time & language」-「Language & region」
image.png

「Add a language」から「日本語」を追加します。

image.png

ダウンロードに時間がかかる。
image.png

ダウンロードが終わったら、「English」の上に「Japanese」を置きます。
image.png

「Windows display language」を日本語に変更します。

image.png

「Country or region」 を「Japan」に変更

image.png

表示が変わります。(再ログインが必要かな?)
image.png

「管理用の言語の設定」-「管理」-「Unicode 対応でないプログラムの言語」で「システムロケールの変更」を押して、「日本語(日本)」を選びます。
image.png

「ようこそ画面と新しいユーザー アカウント」で「設定のコピー」を押して、現在の設定のコピーをチェックして「OK」を押します。
image.png

「日付と時刻」で「タイムゾーン」を「(UTD+09:00) 大阪、札幌、東京」を選びます。
image.png

キーボードの変更

「日本語」の「言語のオプション」を選びます。
image.png

使っているキーボードにあわせます。
image.png

設定後の仮想マシンの状態

125GBytes のストレージになっています。
image.png

半分位近くが使われています。
image.png

アプリはVisual Studioなどが入っていました。

image.png

ライセンスの状態は以下のようになっていました。
image.png

ダウンロードページには有効期限が2ヶ月ぐらい先に指定されていましたが、画面上は90日になってますね。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0