更新 知識庫
@@ -1,9 +1,33 @@
|
||||
# Windows
|
||||
|
||||
## Hyper V
|
||||
|
||||
### 啟用 KVM
|
||||
|
||||
```powershell
|
||||
Set-VMProcessor -VMName "<vm_name>" -ExposeVirtualizationExtensions $true
|
||||
```
|
||||
|
||||
### 偽裝 MAC 地址 for PVE
|
||||
|
||||
因為虛擬機共用同一張網路卡,為了防止流量進到 PVE 後,不再往虛擬機送,因此需要偽裝 MAC 地址
|
||||
|
||||
```powershell
|
||||
Get-VMNetworkAdapter -VMName "<vm_name>" | Set-VMNetworkAdapter -MacAddressSpoofing On
|
||||
```
|
||||
|
||||
### 限制虛擬硬碟的讀寫速度(IOPS)
|
||||
|
||||
一個 IOPS 為 8KB / s,如果要限制虛擬硬碟只能使用 100MB / s 的速度,則 IOPS 應該設定為 12800 (100 * 1024 / 8)
|
||||
|
||||
# Windows 11
|
||||
|
||||
## 使用舊的右鍵選項
|
||||
|
||||
```powershell
|
||||
reg add “HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32” /f /ve
|
||||
```
|
||||
```
|
||||
|
||||
# 參考資料紀錄
|
||||
|
||||
- [開啟巢狀虛擬化在 Hyper-V 內安裝 Proxmox VE](https://medium.com/@nicholasyau/%E9%96%8B%E5%95%9F%E5%B7%A2%E7%8B%80%E8%99%9B%E6%93%AC%E5%8C%96%E5%9C%A8-hyper-v-%E5%85%A7%E5%AE%89%E8%A3%9D-proxmox-ve-edd48a4cf499)
|
||||
Reference in New Issue
Block a user