linux VMware tools安装
因用的 绿色精简版的 VMware 6.0 虚拟机 (VMware目录下的 linux.iso 居然没有 就去下了一个)准备好了,开始动手:
(1) 在CD-ROM虚拟光驱中选择使用ISO镜像,找到VMWARE TOOLS 安装文件,如D:\VMware\VMware Workstation\Programs\linux.iso
(2) 以ROOT身份进入LINUX
(3) 进入linux新建一个终端,输入 /sbin/telinit 3 进入纯文本模式,然后在纯文本模式下再次用root身份登陆
(4)退出到windows,在虚拟机菜单栏中点击 虚拟机-> 安装 VMWARE TOOLS 子菜单,会弹出对话框,点击"确认" 安装
(5 挂载光驱 mount /dev/cdrom /mnt/cdrom (注意命令中输入的空格)这时,你的linux.iso里面的文件就相当于windows光盘里面的文件了
(6)输入命令 cd vmware-tools-distrib 进入目录
(9) 输入命令 ./vmware-install.pl运行安装VMware tools
(10)在运行安装过程中,它会一步一步的有问题提出要你回应,此过程中,你只要见到问题后面显示、、的都输入yes,然后回车,其他的问题后面不管[ ]里面是什么直接回车就好,不要输入。
屏幕显示:
安装过程的画面,全部使用默认值,一直按 Enter 就对了
In which directory do you want to install the binary files?
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
What is the directory that contains the init scripts?
In which directory do you want to install the daemon files?
In which directory do you want to install the library files?
Thepath "/usr/lib/vmware-tools" does not exist currently. This programisgoingto create it, including needed parent directories. Is thiswhatyou want?
In which directory do you want to install the documentation files?
Thepath "/usr/share/doc/vmware-tools" does not exist currently.Thisprogram isgoing to create it, including needed parent directories.Isthis what you want?
The installation of Ubuntu VMware Tools 5.5.1 build-19175 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".
Before running Ubuntu VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now?
Stopping Ubuntu VMware Tools services in the virtual machine:
Guest operating system daemon: [ 确定 ]
Trying to find a suitable vmhgfs module for your running kernel.
The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel.
pcnet32 30153 0
Unloading pcnet32 module
Trying to find a suitable vmxnet module for your running kernel.
The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel.
Detected X.org version 6.8.
关闭控制台鼠标服务: [ 确定 ]
启动控制台鼠标服务: [ 确定 ]
Please choose one of the following display sizes (1 - 13):
# 显示分辨率,这里是以 1024x768 为例
# Ubuntu VMware Tools 安装的时候,会自动修改 X server 的配置文件
"640x480"
< "800x600"
"1024x768"
"1152x864"
"1280x800"
"1152x900"
"1280x1024"
"1376x1032"
"1400x1050"
"1680x1050"
"1600x1200"
"1920x1200"
"2364x1773"
Please enter a number between 1 and 13:
3
X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.9-34.EL i686
Current Operating System: Linux rd01.domain 2.6.9-34.EL #1 Wed Mar 8 00:07:35 CST 2006 i686
Build Date: 04 May 2006
Build Host: x8664-build.centos.org
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
OSKernel: Linux version 2.6.9-34.EL (buildcentos@build-i386) (gccversion3.4.5 20051201 (Red Hat 3.4.5-2)) #1 Wed Mar 8 00:07:35 CST 2006P
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/vmware-config0/XF86ConfigLog.3131", Time: Mon Jun 12 20:57:34 2006
(++) Using config file: "/tmp/vmware-config0/XF86Config.3131"
(WW) VMWARE(0): Failed to set up write-combining range (0xf0000000,0x1000000)
X is running fine with the new config file.
Starting Ubuntu VMware Tools services in the virtual machine:
Switching to guest configuration: [ 确定 ]
Guest filesystem driver: [ 确定 ]
DMA setup: [ 确定 ]
Guest operating system daemon: [ 确定 ]
The configuration of Ubuntu VMware Tools 5.5.1 build-19175 for Linux for this running
kernel completed successfully.
You must restart your X session before any mouse or graphics changes take
effect.
You can now run Ubuntu VMware Tools by invoking the following command:
"/usr/bin/vmware-toolbox" during an XFree86 session.
To use the vmxnet driver, restart networking using the following commands:
/etc/init.d/network stop
rmmod pcnet32
rmmod vmxnet
depmod -a
modprobe vmxnet
/etc/init.d/network start
Enjoy,
--the VMware team
# shutdown -r now
# 修改完成之后,重新启动计算机,让Ubuntu VMware Tools 生效.
页:
[1]