- 论坛徽章:
- 0
|
安装vmware-tools工具, 只用于vmware虚拟机的x环境
VMware Tools for FreeBSD Guests
1. Power on the virtual machine.
2. Prepare your virtual machine to install VMware Tools.
Choose VM > Install VMware Tools.
The remaining steps take place inside the virtual machine, not on the host computer.
3. Be sure the guest operating system is running in text mode. You cannot install VMware Tools while X is running.
4. As root (su -), mount the VMware Tools virtual CD-ROM image, change to a working directory (for example, /tmp), uncompress the installer, then unmount the CD-ROM image.
Note: You do not use an actual CD-ROM to install VMware Tools, nor do you need to download the CD-ROM image or burn a physical CD-ROM of this image file. The VMware Workstation software contains an ISO image that looks like a CD-ROM to your guest operating system. This image contains all the files needed to install VMware Tools in your guest operating system.
mount /cdrom
cd /tmp
Using the tar installer
tar zxf /cdrom/vmware-freebsd-tools.tar.gz
umount /cdrom
Using the rpm installer
rpm -Uhv/cdrom/vmware-freebsd-tools.tar.gz
umount /cdrom
5. Run the VMware Tools installer.
cd vmware-tools-distrib
./vmware-install.pl
6. Log out of the root account.
exit
7. Start X and your graphical environment
8. In an X terminal, launch the VMware Tools background application.
vmware-toolbox &
Note: You may run VMware Tools as root or as a normal user. To shrink virtual disks, you must run VMware Tools as root (su -).
Note: In a FreeBSD 4.5 guest operating system, sometimes VMware Tools does not start after you install VMware Tools, reboot the guest operating system or start VMware Tools on the command line in the guest. An error message appears:
Shared object 'libc.so.3' not found.
The required library was not installed. This does not happen with full installations of FreeBSD 4.5, but does occur for minimal installations. To fix the problem of the missing library, take the following steps:
1. Insert and mount the FreeBSD 4.5 installation CD or access the ISO image file.
2. Change directories and run the installation script.
cd /cdrom/compat3x
./install.sh
Popup |
|