安装Vmtools for linux

来源:互联网 发布:网络小游戏斗破乾坤 编辑:程序博客网 时间:2024/05/08 23:01

安装Vmtools for linux

 

第一步:首先先下载VMware_tools_linux 下载路径:http://pan.baidu.com/s/1jG3rNNK,下载好后并解压,你会看到linux.iso文件。

第二步:在你的linux虚拟机上右击选择移除设备”→“CD/DVD(IDE),然后在如图的选项中找到你安装VMware_tools_linux 的文件夹中的linux.iso,将vmtools的安装包挂载在linux虚拟机上。

(注意:设备状态下的单选框要打勾!!)

 

第三步:打开虚拟机的终端,输入

root@rd01~]# mount /cdrom    

root@rd01 ~]# cd  /mnt/cdrom

#有时可能加载不了,这时就要先将系统关闭,再手动指定 ISO映像,

[root@rd01~]# cd /cdrom

[root@rd01~]# ls -a

[root@rd01~]# cpVMwareTools-5.5.1-19175.tar.gz /tmp

[root@rd01~]# cd /tmp

[root@rd01~]# tar zxpfVMwareTools-5.5.1-19175.tar.gz

[root@rd01~]# cdvmware-tools-distrib

[root@rd01vmware-tools-distrib]#./vmware-install.pl

 

#安装过程的画面,全部使用默认值,一直按 Enter就对了,安装完成后,重新启动计算机,让 VMware Tools生效  .

 

 

想要仔细了解的安装过程的,往下看

Inwhich directory do youwant to install the binary files?

[/usr/bin]

Whatis the directory thatcontains the init directories (rc0.d/ to rc6.d/)?

[/etc/rc.d]

Whatis the directory thatcontains the init scripts?

[/etc/rc.d/init.d]

Inwhich directory do youwant to install the daemon files?

[/usr/sbin]

Inwhich directory do youwant to install the library files?

[/usr/lib/vmware-tools]

Thepath"/usr/lib/vmware-tools"does not exist currently. Thisprogramisgoingto create it, including neededparent directories. Is thiswhatyouwant?

[yes]

Inwhich directory do youwant to install the documentation files?

[/usr/share/doc/vmware-tools]

Thepath"/usr/share/doc/vmware-tools"does not exist currently.Thisprogramisgoing to create it, including neededparent directories.Isthis

whatyou want?

[yes]

Theinstallation of VMwareTools 5.5.1 build-19175 for Linux completed

successfully.You can decideto remove this software from your system at any time by invokingthe followingcommand: "/usr/bin/vmware-uninstall-tools.pl".

Beforerunning VMware Toolsfor the first time, you need to configure it by

invokingthe followingcommand: "/usr/bin/vmware-config-tools.pl". Do you wantthis programto invoke the command for you now? [yes]

StoppingVMware Toolsservices in the virtual machine:

Guestoperating systemdaemon: [ 确定 ]

Tryingto find a suitablevmhgfs module for your running kernel.

Themodulebld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel.

pcnet3230153 0

Unloadingpcnet32 module

Tryingto find a suitablevmxnet module for your running kernel.

Themodulebld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel.

DetectedX.org version 6.8.

关闭控制台鼠标服务: [ 确定 ]

启动控制台鼠标服务: [ 确定 ]

Pleasechoose one of thefollowing display sizes (1 - 13):

#显示分辨率,这里是以 1024x768为例

#VMware Tools 安装的时候,会自动修改 X server的配置文件

[1]"640x480"

[2]<"800x600"

[3]"1024x768"

[4]"1152x864"

[5]"1280x800"

[6]"1152x900"

[7]"1280x1024"

[8]"1376x1032"

[9]"1400x1050"

[10]"1680x1050"

[11]"1600x1200"

[12]"1920x1200"

[13]"2364x1773"

Pleaseenter a number between1 and 13:

[2]3

XWindow System Version 6.8.2

ReleaseDate: 9 February 2005

XProtocol Version 11,Revision 0, Release 6.8.2

BuildOperating System: Linux2.6.9-34.EL i686 [ELF]

CurrentOperating System:Linux rd01.domain 2.6.9-34.EL #1 Wed Mar 8 00:07:35 CST 2006i686

BuildDate: 04 May 2006

BuildHost:x8664-build.centos.org

Beforereporting problems,check

ModuleLoader present

OSKernel:Linux version2.6.9-34.EL (buildcentos@build-i386) (gccversion3.4.5 20051201(Red Hat3.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 1220:57:342006

(++)Using config file:"/tmp/vmware-config0/XF86Config.3131"

(WW)VMWARE(0): Failed to setup write-combining range (0xf0000000,0x1000000)

Xis running fine with thenew config file.

StartingVMware Toolsservices in the virtual machine:

Switchingto guestconfiguration: [ 确定 ]

Guestfilesystem driver: [ 确定 ]

DMAsetup: [ 确定 ]

Guestoperating systemdaemon: [ 确定 ]

Theconfiguration of VMwareTools 5.5.1 build-19175 for Linux for this running

kernelcompletedsuccessfully.

Youmust restart your Xsession before any mouse or graphics changes take

effect.

Youcan now run VMware Toolsby invoking the following command:

"/usr/bin/vmware-toolbox"duringan XFree86 session.

Touse the vmxnet driver,restart networking using the following commands:http://wiki.X.Org to make surethat you have the latest version.

/etc/init.d/networkstop

rmmodpcnet32

rmmodvmxnet

depmod-a

modprobevmxnet

/etc/init.d/networkstart

Enjoy,

--theVMware team

[root@rd01vmware-tools-distrib]#shutdown -r now

#修改完成之后,重新启动计算机,让 VMware Tools生效

#重新启动计算机之后,我们就会发觉到,当我们要离开 linux系统的时候,不再需要按 Ctrl + Alt了,就可以自由切换了。

#接下来我们就可以在windows和虚拟机之间进行复制和粘贴了

#注:左下角原本都会显示「You do not haveVMware Toolsinstalled」,现在我们装了 VMwareTools,就不再显示了(*^__^*)嘻嘻……

 

 

 

 

 

 

0 0
原创粉丝点击