Vmware Tools 安装
2012-12-29 21:59
295 查看
(1)VMtools简介与安装 一、什么是VMware VMware是一个虚拟机软件,它可以在你现有的操作系统上虚拟出一个新的主机,这个虚拟主机一方面是建立在你正在运行的操作系统之上的,同时,它又拥有自己独立的CPU,硬盘,内存及各个硬件,当然,这些都是虚拟出来的,虚拟主机的CPU是通过i386的保护模式实现的,虚拟的硬盘其实就是本机上的一个文件,内存当然是从物理中划出一块,别的如网络设备也都是通过某种途径实现的。 VMware给我们提供了这么一个机会:可以在一台机器上真正同时运行两个独立的操作系统,一个是原始的操作系统,一个运行于虚拟机上,前者称之为本机,后者为虚拟主机。 二、什么是VMtools VM tools顾名思义就是Vmware的一组工具。主要用于虚拟主机显示优化与调整,另外还可以方便虚拟主机与本机的交互,如允许共享文件夹,甚至可以直接从本机向虚拟主机拖放文件、鼠标无缝切换、显示分辨率调整等,十分实用。 三、安装步骤 1、安装并进入Rad Hat 9操作系统 具体如何安装请自己百度吧,如果连linux都装不上。还是不要学linux了,呵呵。 进入操作系统时,你会发现整个图形界面工作在800*600的界面下,鼠标操作很不灵活,而且切换虚拟机与windows之间必须使用ctrl + alt键。 2、安装VMtools: 安装VMtools有两种方法: 一般情况下VMtools集成在VMware中,可直接安装; 有时VMware自带的VMtools版本较低不能满足需求时可自行从镜像安装。 下面我们分别讨论这两种方式VMtools的安装步骤。 1)自带tools: 选择VMware工具栏 => 虚拟机 => 安装VMtools 自行安装tools:选择VMware工具栏 => 虚拟机 => 设置=>cd rom=>使用ISO镜 像=>定位到你要安装的Tools镜像文件,镜像文件一般名为linux.iso 2)以root身份进入linux 有的版本可自动加载cdrom光驱,此时会弹出cdrom文件,直接进行第三步; 不能自动加载光盘镜像需要手动挂载光驱,可采用以下命令完成: mount /dev/cdrom /mnt/hgfs 将光驱挂载在指定位置 3) 采用 cd /mnt/hgfs/cdrom 进入光驱,ls 察看是否有 VMwareTools-6.0.0-45731.i386.rpm 、VMwareTools-6.0.0-45731.tar.gz 两个文件 若有说明挂载成功。这两个文件分别代表Linux系统下软件的两种安装方式。 Linux下详细的软件安装介绍可参考其它有关文章。 4)具体安装: 采用解压缩的方式: 将VMwareTools-6.0.0-45731.tar.gz文件复制到任意其它用户目录下,执行: cp /mnt/hgfs/cdrom/VMwareTools-6.0.0-45731.tar.gz /tmp或/home(目录可任意指定) 进入相应目录,执行解压缩命令:tar zxvf /tmp/ VMwareTools-6.0.0-45731.tar.gz 将文件解压到当前目录下,生成vmware-tools-distrib文件夹,进入此文件夹,执行 ./ vmware-install.pl 命令进行安装,安装过程一路确定即可。 采用rpm方式: 将VMwareTools-6.0.0-45731.i386.rpm文件复制到任意其它用户目录下: 进入相应目录执行rpm –ivh VMwareTools-6.0.0-45731.i386.rpm 进行安装 安装完成后执行vmware-config-tools.pl 与rpm安装有关的详细知识可参见《RPM大全》 3、安装结束 你会发现linux的显示效果得到了很大的提高,随后可以修改相应显示分辨率,最终要的是安装完后就可以在主机上设置共享文件夹。 vm/setting/Options/Share Folders 然后在右边点击Add按键,选择主机目录。 在Linux中进入到“/mnt/hgfs”目录就可以看到windows下的内容,同样你可以在linux下将文件拷进此文件夹传递到windows下。 4、注意事项: 1) 安装linux时,一定要安装gcc和kernel-source; 2)光驱使用完毕可使用 umount /mnt/cdrom 卸载掉 3)VMtools 默认安装在 /usr/bin下 想要卸载VMtools时可到安装路径下执行 ./vmware-config-tools.pl卸载VMtools 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/94679/showart_1903636.html
(2)有个文件,先复制到root/temp目录下。然后解压安装就行了。详细的安装步骤如下:先以root身份登入。VMware Tools所在位置:VMware 安装路径 \VMware\VMware Workstation\linux.iso[root@rd01 ~]# mount /cdrom# 有时可能加载不了,这时就要先将系统关闭,再手动指定 ISO 映像,看下图[root@rd01 ~]# cd /cdrom[root@rd01 ~]# ls -a[root@rd01 ~]# cp VMwareTools-5.5.1-19175.tar.gz /tmp[root@rd01 ~]# cd /tmp[root@rd01 ~]# tar zxpf VMwareTools-5.5.1-19175.tar.gz[root@rd01 ~]# cd vmware-tools-distrib[root@rd01 vmware-tools-distrib]# ./vmware-install.plCreating a new installer database using the tar3 format.Installing the content of the package.# 安装过程的画面,全部使用默认值,一直按 Enter 就对了In which directory do you want to install the binary files?[/usr/bin]What is the directory that contains the init directories (rc0.d/ to rc6.d/)?[/etc/rc.d]What is the directory that contains the init scripts?[/etc/rc.d/init.d]In which directory do you want to install the daemon files?[/usr/sbin]In which directory do you want to install the library files?[/usr/lib/vmware-tools]Thepath "/usr/lib/vmware-tools" does not exist currently. This programisgoingto create it, including needed parent directories. Is thiswhatyou want?[yes]In which directory do you want to install the documentation files?[/usr/share/doc/vmware-tools]Thepath "/usr/share/doc/vmware-tools" does not exist currently.Thisprogram isgoing to create it, including needed parent directories.Isthis what you want?[yes]The installation of VMware Tools 5.5.1 build-19175 for Linux completedsuccessfully. You can decide to remove this software from your system at anytime by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".Before running VMware Tools for the first time, you need to configure it byinvoking the following command: "/usr/bin/vmware-config-tools.pl". Do you wantthis program to invoke the command for you now? [yes]Stopping 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 0Unloading pcnet32 moduleTrying 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 为例# 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"Please enter a number between 1 and 13:[2] 3X Window System Version 6.8.2Release Date: 9 February 2005X Protocol Version 11, Revision 0, Release 6.8.2Build Operating System: Linux 2.6.9-34.EL i686 [ELF]Current Operating System: Linux rd01.domain 2.6.9-34.EL #1 Wed Mar 8 00:07:35 CST 2006 i686Build Date: 04 May 2006Build Host: x8664-build.centos.orgBefore reporting problems, check http://wiki.X.Orgto make sure that you have the latest version.Module Loader presentOSKernel: 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 2006PMarkers: (--) 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 VMware Tools services in the virtual machine:Switching to guest configuration: [ 确定 ]Guest filesystem driver: [ 确定 ]DMA setup: [ 确定 ]Guest operating system daemon: [ 确定 ]The configuration of VMware Tools 5.5.1 build-19175 for Linux for this runningkernel completed successfully.You must restart your X session before any mouse or graphics changes takeeffect.You can now run 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 stoprmmod pcnet32rmmod vmxnetdepmod -amodprobe vmxnet/etc/init.d/network startEnjoy,--the VMware team[root@rd01 vmware-tools-distrib]# shutdown -r now# 修改完成之后,重新启动计算机,让 VMware Tools 生效
文章出处:http://zhidao.baidu.com/question/128539023.html
相关文章推荐
- Redhat 和 Ubuntu linux安装VMware tools
- VMware 安装 VMware tools时出现./vmware-install.pl: 5: ./vmware-install.pl: cannot create /var/log/vmware-install.log: Permission deni
- Linux 安装 VMware tools方法
- Ubuntu16.04 虚拟机安装VMware Tools
- Parrot虚拟机安装VMware Tools
- Ubuntu linux虚拟机安装VMware tools
- linux下安装VMware Tools
- Ubuntu--有关VMware Tools安装问题
- 在FreeBSD下安装VMware Tools
- linux安装之后要安装VMware Tools不然很难在真实机器和虚拟机器之间操作
- centOs安装VMWare Tools
- VMware Tools图文安装教程(以WIN2008和UBUNTU为例)
- vmware tools安装
- 在Rad Hat Linux下安装VMware Tools
- kali linux 2.0 无法安装vmware tools
- vmware tools安装没有VMwaretools-9.6.0-1294478.tar.gz
- 共享文件夹VMware Tools设置安装
- vmware workstation安装vmware tools
- ubuntu中安装VMWare tools
- VMware Workstation 中安装了fedora 9, 如何安装vmware tools?