1、获取VirtualBox ,CentOS6.0镜像文件(VirtualBox开源、安装文件小,用起来方便)
安装步骤:http://blog.csdn.net/kobe_lzq/article/details/7894718
2、安装完成之后,怎么全屏?
首先安装虚拟机增强工具(选择工具栏设备--->安装增强功能,你会发现在桌面上多出一个光盘图标,这张光盘默认被自动加载到了文件夹/media/,
进入cd /media/目录,运行sudo ./VboxLinuxAdditions.run),之后在修改/etc/X11/xorg.config文件,修改Section "Screen"部分,添加字段Modes "800x600" "1280x800"
注意:Modes要添加在SubSection之间,而且不能只添加1366x768,要同时添加800x600。
在linux的"显示"中设置合适自己的分辨率即可。
下面是xorg.config文件内容:
# VirtualBox generated configuration file
# based on /etc/X11/xorg.conf.
Section "Monitor"
Identifier "Monitor[0]"
ModelName "VirtualBox Virtual Output"
VendorName "Oracle Corporation"
EndSection
Section "Device"
BoardName "VirtualBox Graphics"
Driver "vboxvideo"
Identifier "Device[0]"
VendorName "Oracle Corporation"
EndSection
Section "Screen"
SubSection "Display"
Depth 24
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"