1.下载
VirtualBox官方网站地址–https://www.virtualbox.org/,
2.命令行
(1).创建虚拟机
复制代码
1
2VBoxManage createvm --name "19C01" --ostype "RedHat_64" --register
(2).增加虚拟机磁盘
复制代码
1
2VBoxManage createhd --filename "D:softwareOracleVirtualBox VMs19C01OLE7.vdi" --size 200000
- 添加控制器
复制代码
1
2VBoxManage storagectl "19C01" --name "IDE Controller" --add ide --controller PIIX4
复制代码
1
2
3
4VBoxManage storageattach "19C01" --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium "D:softwareOracleVirtualBox VMs19C01OLE7.vdi" VBoxManage storageattach "19C01" --storagectl "IDE Controller" --port 0 --device 1 --type dvddrive --medium "D:softwareOracleKS-ORACLE_x86_64.iso"
(3).增加虚拟网卡
复制代码
1
2VBoxManage modifyvm "19C01" --memory 4096 --acpi on --boot1 dvd --nic1 hostonly --nic2 nat
3.导出镜像
- 关机
复制代码
1
2init 0
- 导出
https://blog.csdn.net/gufenchen/article/details/91357656
最后
以上就是野性黑裤最近收集整理的关于【VirtualBox】基本使用的全部内容,更多相关【VirtualBox】基本使用内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复