waijwt 发表于 2010-5-16 05:27

Unix各类系统中Vmware Tools安装方法

1.linux下安装vmware tools 方法:
# 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.pl
Creating a new installer database using the tar3 format.

Installing the content of the package.

# 安装过程的画面,全部使用默认值,一直按 Enter 就对了

2.在虚拟机Debian3.1上安装Vmware Tools(英文版)
(1)Install packages to build the kernel modules
apt-get install autoconf automake binutils make cpp cpp-3.3 gcc gcc-3.3 kernel-headers-$(uname -r)

(2)Find out where the kernel headers are (you may need this later)
ls -d /usr/src/kernel-headers-$(uname -r)*/include

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

(1)From VMware Workstation: go to VM> Install VMware Tools
(2)From the VM: mount the virtual cd drive
mount /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 drive
umount /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 iso
tar --strip-components=3 -zxvf VMware-workstation-5.5.2-29772.tar.gz \
vmware-distrib/lib/isoimages/linux.iso
(3)Create a temporary mount point
mkdir /mnt/vmtools-temp
(4)Mount the iso image
mount -o loop linux.iso /mnt/vmtools-temp
(5)Copy VMware Tools from the mount
cp /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 up
umount /mnt/vmtools-temp
rmdir /mnt/vmtools-temp
rm 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".


3.在FreeBSD 6.1虚拟机上安装Vmware Tools(英文版)

1. Install software needed by VMware Tools
(1)Check if perl is installed in the VM
perl -v
(2)If If perl is not installed, run:
pkg_add -r perl

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

(1)From VMware Workstation: go to VM> Install VMware Tools
(2)From the VM: mount the virtual cd drive
mount /cdrom/
(3)Extract VMware Tools to /tmp/
tar -C /tmp -zxvf /cdrom/vmware-freebsd-tools.tar.gz
(4)Unmount the virtual cd drive
umount /cdrom/
(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.3-34685.tar.gz on disk
(1)Make sure VMware-workstation-5.5.3-34685.tar.gz is on disk inside the VM.
(2)Extract the VMware Tools iso
tar --strip-components=3 -zxvf VMware-workstation-5.5.3-34685.tar.gz \
vmware-distrib/lib/isoimages/freebsd.iso
(3)Create a temporary mount point
mkdir /mnt/vmtools-temp
(4)Prepare to mount the image
mdconfig -a -t vnode -f freebsd.iso -u 1
(5)Do the mount
mount -t cd9660 /dev/md1 /mnt/vmtools-temp
(6)Copy VMware Tools from the mount
cp /mnt/vmtools-temp/vmware-freebsd-tools.tar.gz /tmp/
(7)Extract VMware Tools to /tmp/
tar -C /tmp -zxvf /mnt/vmtools-temp/vmware-freebsd-tools.tar.gz
(8)Tidy up
umount /mnt/vmtools-temp
mdconfig -d -u md1
rmdir /mnt/vmtools-temp
rm freebsd.iso
(9)Now run the installer
/tmp/vmware-tools-distrib/vmware-install.pl
(10)When asked Do you want to run vmware-config-tools.pl?, answer "Yes".

c) If you have vmware-freebsd-tools.tar.gz on disk

(1)Extract VMware Tools to /tmp/
tar -C /tmp -zxvf vmware-freebsd-tools.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".


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

1. Install software needed by VMware Tools
(1)Install packages to build the kernel modules
apt-get install autoconf automake binutils make cpp gcc linux-headers-$(uname -r)
(2)Find out where the kernel headers are (you may need this later)
ls -d /usr/src/linux-headers-$(uname -r)*/include

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

(1)From VMware Workstation: go to VM> Install VMware Tools
(2)From the VM: mount the virtual cd drive
mount /dev/cdrom /mnt/
(3)Extract VMware Tools to /tmp/
tar -C /tmp -zxvf /mnt/VMwareTools-5.5.3-34685.tar.gz
(4)Unmount the virtual cd drive
umount /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 iso
tar --strip-components=3 -zxvf VMware-workstation-5.5.2-29772.tar.gz \
vmware-distrib/lib/isoimages/linux.iso
(3)Create a temporary mount point
mkdir /mnt/vmtools-temp
(4)Mount the iso image
mount -o loop linux.iso /mnt/vmtools-temp
(5)Copy VMware Tools from the mount
cp /mnt/vmtools-temp/VMwareTools-5.5.3-34685.tar.gz /tmp/
(6)Extract VMware Tools to /tmp/
tar -C /tmp -zxvf /mnt/vmtools-temp/VMwareTools-5.5.3-34685.tar.gz
(7)Tidy up
umount /mnt/vmtools-temp
rmdir /mnt/vmtools-temp
rm 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.3-34685.tar.gz on disk
(1)Extract VMware Tools to /tmp/
tar -C /tmp -zxvf VMwareTools-5.5.3-34685.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".

hy_sdw 发表于 2010-5-16 06:27

学习啦,谢谢分享

waijwt 发表于 2010-5-16 08:58

回复 2# hy_sdw


    希望能有所帮助

44125331 发表于 2010-6-1 12:33

谢谢啊乌版图很漂亮啊

wfymqj 发表于 2010-6-2 09:12

有这个需求,谢谢了
页: [1]
查看完整版本: Unix各类系统中Vmware Tools安装方法