# VM 虛擬機映像檔
:::info
2026 [學生端開發環境 VM](https://hackmd.io/@biz-pg/2026vms)
:::
:::info
各種程式語言編譯與執行 stdin
https://hackmd.io/@biz-pg/stdin
:::
:::success
**2024/06/24 更新**
改用
VMWare Workstation Pro 17
https://www.ithome.com.tw/news/162908
:::

<!--  -->
以下影片使用 Windows 10 Pro 20H1(2004) 版操作
> Windows 10 Pro 20H1(不含) 以下版本需參考此連結
> [https://kb.vmware.com/s/article/2146361?lang=zh_cn](https://kb.vmware.com/s/article/2146361?lang=zh_cn)
{%youtube MkYXUwS2soI %}
:::info
2026 [學生端開發環境 VM](https://hackmd.io/@biz-pg/2026vms)
:::
https://hackmd.io/@biz-pg/2026vms
### Windows 學生端開發環境 VM 下載
### ~~2024~~
[~~Win10x64-2024~~](https://inc-s3.ntub.edu.tw/share-files/judge-vm/judge-client/2024/Win10x64-2024.zip)
#### ~~2023~~
[~~112-windows10.zip.001~~](https://inc-s3.ntub.edu.tw/share-files/judge-vm/judge-client/2023windows10/112-windows10.zip.001)
[~~112-windows10.zip.002~~](https://inc-s3.ntub.edu.tw/share-files/judge-vm/judge-client/2023windows10/112-windows10.zip.002)
[~~112-windows10.zip.003~~](https://inc-s3.ntub.edu.tw/share-files/judge-vm/judge-client/2023windows10/112-windows10.zip.003)
### 使用
:::info
VMWare Workstation 16 Player
- 準備 Windows 10 PC (建議 8 Core CPU, 16 G Ram, 512 G Disk)
- 具有 AMD-V 支援之 AMD CPU / 具有 VT-x 支援的 Intel CPU
- 主機系統 BIOS 中啟用 AMD-V / VT-x
- 建議使用 Windows 10 Pro 20H1 以上版本
:::

<!--  -->

<!--  -->
:::info
Windows 10 20H1 build 19041.264 or newer
請依照下圖開啟虛擬機器平台
**2024/06/24 更新**
只需要開啟**虛擬機器平台**
HyperV 不需要開啟
:::

<!--  -->
:::danger
VMware Workstation 12.5 or later version on a Windows 10 1909 or earlier
[https://kb.vmware.com/s/article/2146361?lang=zh_cn](https://kb.vmware.com/s/article/2146361?lang=zh_cn)
關閉以下選項
- [Credential Guard/Device Guard](https://docs.microsoft.com/zh-tw/windows/security/identity-protection/credential-guard/credential-guard-manage)
- Windows 沙箱
- 虛擬機器平台
- Windows 子系統 Linux 版
- Hyper-V
:::
1. 下載安裝 VMWare Workstation 16 Player
2. 下載 Windows 開發環境 VM
3. 解壓縮 Windows 開發環境 VM

<!--  -->
4. 開啟 wim10_x64,開啟 Windows_10_x64.ovf
5. Open/開啟 Windows_10_x64.ovf
6. 開啟 VM

<!--  -->
## Windows 學生端開發環境
- Version: Windows 10 教育版(22H2)
- 教育版映像檔製作
- Windows 須自行啟用授權
- 程式語言
- Python
- C++
- C
- Java
- Software:
- Visual Studio Code
- Python
- Visual Studio IntelliCode
- Java Extension Pack
- C/C++
- Node.js
- Pycharm-community
- IDEA Community
- Eclipse
- Code::Blocks
- Notepad++
- Chocolatey
- Windows 安裝清單
1. Windows Terminal https://www.microsoft.com/store/productId/9N0DX20HK701?ocid=pdpshare
2. PowerShell 7.4.3 https://github.com/PowerShell/PowerShell/releases/tag/v7.4.3
3. Chocolatey https://chocolatey.org/install
4. 安裝所有程式語言,使用 Powershell Administrator 權限執行
`choco install .\lang_packages.config --yes --acceptlicense`
5. OpenJDK 17 https://learn.microsoft.com/zh-tw/java/openjdk/download#openjdk-17
6. 安裝 IDE:
`choco install .\ide_packages.config --yes --acceptlicense`
- `ide_packages.config`
```xml
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="vscode" version="1.90.2"/>
<package id="intellijidea-community" version="2024.1.3"/>
<package id="eclipse" version="4.32.0"/>
<package id="codeblocks" version="20.3.0.20210213"/>
<package id="firefox" version="127.0.1"/>
<package id="pycharm-community" version="2024.1.3"/>
<package id="notepadplusplus" version="8.6.8"/>
</packages>
```
- `lang_packages.config`
```xml
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="python" version="3.11.2"/>
<package id="nodejs-lts" version="20.15.0"/>
<package id="mingw" version="12.2.0"/>
</packages>
```
## Linux 學生端開發環境
- Version: Debian 12.5.0 (bookworm)
- account:
- username/password: `user`/`user`
- Language:
- Python 3.11
- C++
- C
- Java (OpenJDK)
- Javascript(Node.js)
- Editor & IDE:
- Vim
- Emacs
- Visual Studio Code
- Python
- Visual Studio IntelliCode
- Java Extension Pack
- C/C++
- PyCharm Community
- IDEA Community
- 安裝相關指令使用`root`執行:
```bash
apt install -y gcc g++ vim curl gcc g++ default-jre-headless default-jdk python3
curl -fsSL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh
sudo -E bash nodesource_setup.sh
apt-get install -y nodejs
snap install code --classic
snap install eclipse --classic
snap install intellij-idea-community --classic
snap install pycharm-community --classic
snap install emacs --classic
apt install -y codeblocks
```
- /home/user/`.bashrc`
```bash
alias python='python3'
```
### Linux 學生端開發環境 VM 下載
#### ~~2024~~ (2024/06/24)
[~~Debian12x64~~](https://inc-s3.ntub.edu.tw/share-files/judge-vm/judge-client/2024/Debian12x64.zip)
#### ~~2023~~
[~~112-ubuntu20.zip~~](https://inc-s3.ntub.edu.tw/share-files/judge-vm/judge-client/linux/112-ubuntu20.zip)