中国网络-ITPro俱乐部's Archiver

leaf1981 发表于 2007-1-7 22:16

在Ubuntu Server 6.10虚拟机上安装Vmware Tools(英文版)

1. Install software needed by VMware Tools[list=1][*]Install packages to build the kernel modules
apt-get install autoconf automake binutils make cpp gcc linux-headers-$(uname -r)[*]Find out where the kernel headers are (you may need this later)
ls -d /usr/src/linux-headers-$(uname -r)*/include[/list]2. Prepare and install VMware ToolsChoose one of a), b), c) or d).
a) If you are running the VM inside VMware Workstation 5.5
[list=1][*]From VMware Workstation: go to VM> Install VMware Tools[*]From the VM: mount the virtual cd drive
mount /dev/cdrom /mnt/[*]Extract VMware Tools to /tmp/
tar -C /tmp -zxvf /mnt/VMwareTools-5.5.3-34685.tar.gz[*]Unmount the virtual cd drive
umount /mnt[*]Now run the installer
/tmp/vmware-tools-distrib/vmware-install.pl[*]When asked Do you want to run vmware-config-tools.pl?, answer "Yes".[/list]
b) If you have VMware-workstation-5.5.2-29772.tar.gz on disk [list=1][*]Make sure VMware-workstation-5.5.2-29772.tar.gz is on disk inside the VM.[*]Extract the VMware Tools iso
tar --strip-components=3 -zxvf VMware-workstation-5.5.2-29772.tar.gz \
vmware-distrib/lib/isoimages/linux.iso[*]Create a temporary mount point
mkdir /mnt/vmtools-temp[*]Mount the iso image
mount -o loop linux.iso /mnt/vmtools-temp[*]Copy VMware Tools from the mount
cp /mnt/vmtools-temp/VMwareTools-5.5.3-34685.tar.gz /tmp/[*]Extract VMware Tools to /tmp/
tar -C /tmp -zxvf /mnt/vmtools-temp/VMwareTools-5.5.3-34685.tar.gz[*]Tidy up
umount /mnt/vmtools-temp
rmdir /mnt/vmtools-temp
rm linux.iso[*]Now run the installer
/tmp/vmware-tools-distrib/vmware-install.pl[*]When asked Do you want to run vmware-config-tools.pl?, answer "Yes".[/list]
c) If you have VMwareTools-5.5.3-34685.tar.gz on disk[list=1][*]Extract VMware Tools to /tmp/
tar -C /tmp -zxvf VMwareTools-5.5.3-34685.tar.gz[*]Now run the installer
/tmp/vmware-tools-distrib/vmware-install.pl[*]When asked Do you want to run vmware-config-tools.pl?, answer "Yes".[/list]

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.