六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 72|回复: 0

CentOS 下新装VirtualBox虚拟系统

[复制链接]

升级  45%

103

主题

103

主题

103

主题

举人

Rank: 3Rank: 3

积分
335
 楼主| 发表于 2013-1-28 22:02:24 | 显示全部楼层 |阅读模式
今天打算在 CentOS下装一个 windows7

以下是步骤

1.准备 windows 7安装介质

2. 在centos里安装virtualbox

3.新加虚拟机

vboxmanage createvm --name "w7" --ostype Windows7 --register#新增存储文件VBoxManage createhd --filename w7 --size 20000#设置系统存储控制器VBoxManage storagectl "w7" --name "IDE Controller" --add ide --controller PIIX4VBoxManage storageattach "w7" --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium "w7.vdi"



4.修改虚拟机配置

#修改内存vboxmanage modifyvm w7 --memory 1024    --acpi class="shell">vboxmanage storageattach "w7" --storagectl "IDE Controller" --port 0 --device 1 --type dvddrive --medium /path/to/windows7.iso



6. 启动系统

vboxmanage startvm w7 --type headless



7. 打开远程桌面工具连接到虚拟机所在主机
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表