- 安装准备
sudo apt update
sudo apt install build-essential dkms linux-headers-$(uname -r)
- 菜单中选择「设备 – 安装增强功能」,进入光盘目录,运行以下命令:
sudo ./VBoxLinuxAdditions.run
- 重启系统
sudo apt update
sudo apt install build-essential dkms linux-headers-$(uname -r)
sudo ./VBoxLinuxAdditions.run
vboxmanage clonehd <uuid>|<filename> <outputfile>
[--format VDI|VMDK|VHD|RAW|<other>]
[--variant Standard,Fixed,Split2G,Stream,ESX]
[--type normal|writethrough|immutable]
[--remember] [--existing]
安装
# centos7
yum install -y p7zip
#ubuntu
apt-get install -y p7zip
压缩
7za a zipfile.7z /path/to/file_or_folder
解压
7za x zipfile.7z [-o/path/to/folder]
o
参数用于指定解压目录,-o
之后没有空格