您的位置:首页 > 运维架构 > Linux

在VMWare5.5.2上安装ubuntu6.10

2006-11-04 02:43 204 查看
  之前用VMWare5.5.1下安装完成了ubuntu6.10 ,但是无论如何,都不能把VMWare-tools安装上去。VMWare-tools是VMWare环境下的驱动程序,如果不能安装成功,就相当于Linux没有装驱动的效果。我的1280*800的屏幕分辨率就只能在默认的1024*768的低分辨率下跑,显得十分模糊。  今天重装了VMWare,升级到5.5.2的版本后,重新在ubuntu6.10下安装VMWare-tools,就OK了。这里篇关于如何安装的讲解文章(http://www.linuxblog.cn/archives/91),还是需要一个patch补丁。给vmware-config-tools.pl打补丁:
wget http://mtnbike.org/vmware/vmware-config-tools-5.5.2-patch-diff.txt sudo chmod u+w /usr/bin/vmware-config-tools.pl
sudo patch /usr/bin/vmware-config-tools.pl vmware-tools-config-5.5.2-patch-diff.txt
sudo /usr/bin/vmware-config-tools.pl
 其中,这个patch补丁,我已经下载下来了。很简单,就是如下内容:
4489a4490,4511>     # Pick up 7.1 Xorg>     elsif ($minor == 1) { >       my $xorg_modules_dir = xorg_find_modules_dir();>       $gXMouseDriverFile = $xorg_modules_dir . '/input/vmmouse_drv.so';>       # Existing vmware_drv.so driver in default build. Commented following line>       # $gXVideoDriverFile = $xorg_modules_dir . '/drivers/vmware_drv.so';>       >       # If there is an existing driver replace it by ours, backing up the existing>       # driver.>       # Existing vmware_drv.so driver in default build. Commented following line>       # backup_file_to_restore($gXVideoDriverFile, 'OLD_X4_DRV');>       backup_file_to_restore($gXMouseDriverFile, 'OLD_X4_MOUSEDRV');                        >       my %p;>       undef %p;>       # Existing vmware_drv.so driver in default build. Commented following three lines>       # install_file(db_get_answer('LIBDIR')  . '/configurator/XOrg/7.0' .>     #       ($gIs64BitX ? '_64' : '') . '/vmware_drv.so',>     #       $gXVideoDriverFile, %p, 1);>       install_file(db_get_answer('LIBDIR')  . '/configurator/XOrg/7.0' .>            ($gIs64BitX ? '_64' : '') . '/vmmouse_drv.so',>            $gXMouseDriverFile, %p, 1);>     }
 
 

                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  vmware ubuntu patch file linux