VirtualBox+CentOS6.0 安装

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]"

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值