VMs
About 126 wordsLess than 1 minute
2024-02-04
VirtualBox
虚拟机挂载主机文件
- 设置共享文件夹 在 VirtualBox 中。
- 在虚拟机中创建一个目录
mkdir /path/to/mount
- 挂载共享文件夹
sudo mount -t vboxsf shared_folder_name /path/to/mount
VMware
Static DHCP
cd C:\ProgramData\VMware
vim vmnetdhcp.conf
# Windows 11 x64
host VMnet8 {
hardware ethernet 00:0C:29:FC:71:56;
fixed-address 192.168.22.135;
}
then restart the VMware DHCP service.
net stop vmnetdhcp
net start vmnetdhcp
Reference: How To Assign A Static IP Address To A VMWare Workstation VM