Download - Vitualbox
Transcript
![Page 1: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/1.jpg)
虚拟机软件 virualbox 的安装与使用
michael
![Page 2: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/2.jpg)
内容
• 安装篇
安装软件
• 使用篇
新建虚拟机
维护资源:介质、网络、快照
快速克隆虚拟机
![Page 3: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/3.jpg)
安装篇
安装软件
![Page 4: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/4.jpg)
开始安装
![Page 5: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/5.jpg)
![Page 6: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/6.jpg)
![Page 7: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/7.jpg)
断开网络大约 1 分钟
![Page 8: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/8.jpg)
安装完成
![Page 9: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/9.jpg)
使用篇
• 新建虚拟机
![Page 10: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/10.jpg)
![Page 11: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/11.jpg)
![Page 12: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/12.jpg)
![Page 13: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/13.jpg)
![Page 14: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/14.jpg)
![Page 15: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/15.jpg)
![Page 16: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/16.jpg)
![Page 17: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/17.jpg)
![Page 18: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/18.jpg)
![Page 19: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/19.jpg)
![Page 20: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/20.jpg)
![Page 21: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/21.jpg)
![Page 22: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/22.jpg)
![Page 23: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/23.jpg)
![Page 24: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/24.jpg)
![Page 25: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/25.jpg)
![Page 26: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/26.jpg)
![Page 27: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/27.jpg)
![Page 28: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/28.jpg)
![Page 29: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/29.jpg)
![Page 30: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/30.jpg)
![Page 31: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/31.jpg)
![Page 32: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/32.jpg)
![Page 33: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/33.jpg)
![Page 34: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/34.jpg)
![Page 35: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/35.jpg)
![Page 36: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/36.jpg)
![Page 37: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/37.jpg)
![Page 38: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/38.jpg)
![Page 39: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/39.jpg)
![Page 40: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/40.jpg)
![Page 41: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/41.jpg)
安装虚拟机完成
![Page 42: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/42.jpg)
使用篇
• 管理资源
快照
![Page 43: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/43.jpg)
![Page 44: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/44.jpg)
![Page 45: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/45.jpg)
![Page 46: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/46.jpg)
验证快照
![Page 47: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/47.jpg)
![Page 48: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/48.jpg)
![Page 49: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/49.jpg)
快照维护
![Page 50: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/50.jpg)
![Page 51: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/51.jpg)
使用篇
• 管理资源
介质(硬盘、光盘)
![Page 52: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/52.jpg)
![Page 53: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/53.jpg)
![Page 54: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/54.jpg)
![Page 55: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/55.jpg)
![Page 56: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/56.jpg)
![Page 57: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/57.jpg)
![Page 58: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/58.jpg)
![Page 59: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/59.jpg)
![Page 60: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/60.jpg)
![Page 61: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/61.jpg)
![Page 62: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/62.jpg)
使用篇
• 管理资源
网络
![Page 63: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/63.jpg)
![Page 64: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/64.jpg)
主机
交换机
虚拟机
主机
交换机
虚拟机
bridge nat
![Page 65: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/65.jpg)
![Page 66: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/66.jpg)
使用篇
• 快速克隆虚拟机
![Page 67: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/67.jpg)
你可以迅速的将你 virtualbox 里的一个虚拟机复制出第二个来,但是不是通过简单的复制硬盘镜像文件,而是需要使用 virtualbox的“ VBoxManage clonehd” 命令。这是因为 virtualbox 分配给每一个硬盘镜像一个唯一的 UUID 号并保存在硬盘镜像中,如果两个镜像使用相同的 UUID 的话 virtualbox 是拒绝工作的。
VBoxManage clonevdi 原始 VDI 文件名 新的 VDI 文件名
直接写 VDI 文件名即可,不用指明 VDI 文件所在路径,新的文件会在全局设定中指定的 VDI 目录下创建。如果 VDI 文件名里带有空格,应该在两端加上双引 号。 VBoxManage 命令位于 VirtualBox 安装目录下。
用这个方法创建了新的 VDI 文件后,就可以正常注册并在另一个虚拟机中使用了。
不过执行此命令之前需要将硬盘镜像从虚拟介质管理器中将镜像释放 并删除
![Page 68: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/68.jpg)
![Page 69: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/69.jpg)
![Page 70: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/70.jpg)
![Page 71: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/71.jpg)
![Page 72: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/72.jpg)
![Page 73: Vitualbox](https://reader033.vdocuments.pub/reader033/viewer/2022052307/559c1d211a28abde298b457d/html5/thumbnails/73.jpg)
克隆成功