[转+总结]Linux虚拟系统安装VMware Tools总结
[转+总结]Linux虚拟系统安装VMware Tools总结转自中国网络 一、VMware Tools安装手记(For Linux Guest OS) 为什么要装 VMware Tools? 因为它可以改善 Virtual Machine 的运行性能,而且可以让 Host OS 和 Guest OS 互通有无,这样我们就不用伤脑筋,要架设什么服务器,来沟通两个 OS,现在就让我们开始吧! VMware Tools所在位置:VMware 安装路径 \VMware\VMware Workstation\linux.iso # mount /cdrom# 有时可能加载不了,这时就要先将系统关闭,再手动指定 ISO 映像,看下图# cd /cdrom# ls -a# cp VMwareTools-5.5.1-19175.tar.gz /tmp# cd /tmp# tar zxpf VMwareTools-5.5.1-19175.tar.gz# cd 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? 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 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? 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 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 为例 # VMware Tools 安装的时候,会自动修改 X server 的配置文件 "640x480" Install VMware Tools(2)From the VM: mount the virtual cd drivemount /dev/cdrom /mnt/(3)Extract VMware Tools to /tmp/tar -C /tmp -zxvf /mnt/VMwareTools-5.5.2-29772.tar.gz(4)Unmount the virtual cd driveumount /mnt(5)Now run the installer/tmp/vmware-tools-distrib/vmware-install.pl(6)When asked Do you want to run vmware-config-tools.pl?, answer "Yes". b) If you have VMware-workstation-5.5.2-29772.tar.gz on disk(1)Make sure VMware-workstation-5.5.2-29772.tar.gz is on disk inside the VM.(2)Extract the VMware Tools isotar --strip-components=3 -zxvf VMware-workstation-5.5.2-29772.tar.gz \vmware-distrib/lib/isoimages/linux.iso(3)Create a temporary mount pointmkdir /mnt/vmtools-temp(4)Mount the iso imagemount -o loop linux.iso /mnt/vmtools-temp(5)Copy VMware Tools from the mountcp /mnt/vmtools-temp/VMwareTools-5.5.2-29772.tar.gz /tmp/(6)Extract VMware Tools to /tmp/tar -C /tmp -zxvf /mnt/vmtools-temp/VMwareTools-5.5.2-29772.tar.gz(7)Tidy upumount /mnt/vmtools-temprmdir /mnt/vmtools-temprm linux.iso(8)Now run the installer/tmp/vmware-tools-distrib/vmware-install.pl(9)When asked Do you want to run vmware-config-tools.pl?, answer "Yes". c) If you have VMwareTools-5.5.2-29772.tar.gz on disk (1)Extract VMware Tools to /tmp/tar -C /tmp -zxvf VMwareTools-5.5.2-29772.tar.gz(2)Now run the installer/tmp/vmware-tools-distrib/vmware-install.pl(3)When asked Do you want to run vmware-config-tools.pl?, answer "Yes".
页:
[1]