Installation of VMware tools in FreeBSD 8.0

Source: Internet
Author: User

FreeBSD 8.0 in VMware Tools the installation

1. Introduction of VMware Tools

After installing the FreeBSD operating system in VMware Workstation, it is a good idea to configure the SSH logon and DHCP network so that clients such as putty can connect to the FreeBSD system and access the Internet.

VMware strongly recommends installing the VMware Tools suite immediately after installing the operating system in each virtual machine.

VMware Tools is a group of VMware virtual machine tools, mainly for virtual host display optimization and adjustment, to facilitate the interaction between the virtual host and the machine, such as allowing the sharing of folders, can be directly from the machine to the virtual host drag and drop files, seamless mouse switch, display resolution adjustment, very practical.

Installing VMware Tools is important. If you do not install VMware Tools, the graphics environment in the virtual machine is limited to VGA mode graphics (640x480,16 color).

After installing VMware Tools, the following benefits are brought:

Installed with VMware TOOLS,SVGA drivers, VMware Workstation supports a maximum of 32-bit display and high display resolution, significantly improving overall graphics performance.

Other tools in the toolkit make it easier for you to use your virtual machine by supporting the enhancements below. Note that these enhancements are only available if you are running VMware tools.

(1) The time synchronization between the host and the client;

(2) Automatically capture and release the mouse cursor;

(3) Copy and paste operations between the host and client or from a virtual machine to another virtual machine;

(4) Improved network performance.

2. VMware Tools installation in the FreeBSD operating system

2.1 get VMware Tools installation Package

Choose Vmàinstall VMware Tools from the VMware Workstation menu.

(1) Load CD:

bsdserver# Mount/cdrom

bsdserver# Ls/cdrom

Vmware-freebsd-tools.tar.gz

bsdserver#

(2) Copy installation package to user directory

bsdserver# mkdir Mybsd

bsdserver# Mkdir/usr/mybsd/software

bsdserver# Cp/cdrom/vmware-freebsd-tools.tar.gz/usr/mybsd/software

bsdserver# ls/usr/mybsd/software/

Vmware-freebsd-tools.tar.gz

bsdserver#

(3) Uninstall CD

bsdserver# Umount/cdrom

bsdserver# Ls/cdrom

bsdserver#

2.2 attempt to unpack and install VMware Tools

bsdserver# Cd/usr/mybsd/software

bsdserver# TAR-ZXVF vmware-freebsd-tools.tar.gz

bsdserver# ls

Vmware-freebsd-tools.tar.gz Vmware-tools-distrib

bsdserver# CD vmware-tools-distrib/

bsdserver# ls

FILES Doc Lib

INSTALL etc vmware-install.pl

Bin Installer

bsdserver#./vmware-install.pl

./vmware-install.pl:command not found.

bsdserver#

To run the. pl file, the system must support Perl, but the default system is not installed, so you have to have the system support Perl first.

2.3 Install PERL5

First, you need to cancel VMware Tools installation and choose Vmàcancel VMware Tools installation from the VMware Workstation menu, So VMware can reload the Mount FreeBSD installation disk, not the VMware installation disk, or reboot the FreeBSD.

Run Sysinstall, select Configureàpackagesàcd/dvdàperl5, select the last perl-5.8.9_3, select OK, and install.

2.4 Install compat6x

When the installation is complete, enter the Vmware-tools-distrib directory and execute the vmware-install.pl.

bsdserver#./vmware-install.pl

You can customize the installation directory:

[/usr/local/bin]/usr/mybsd/vmware_tools/bin

Once you re-enter the custom path, the other such as Sbin,lib will automatically map out the/usr/mybsd/vmware_tools custom directory, so you can always return to the back. However, VMware Tools did not install successfully, and the following prompts appear:

The VMware Tools for FreeBSD 8.0 depend in libraries provided by the

Compat6x-i386 package. Unfortunately we were unable to locate these libraries

On your system. Please install the compat6x-i386 package from the FreeBSD

Ports Tree before your attempt to configure VMware Tools.

The installation script from Perl can be found to run "VMWARE-CHECKVM" to check whether it is running on a virtual machine, and to run VMWARE-CHECKVM this static binary link, FreeBSD need to install compat6x port.

You can execute the following command:

bsdserver# cd/usr/ports/misc/compat6x && make install clean

Executing the above command automatically obtains and installs the COMPAT6X-I386-6.4.604000.200810.TAR.BZ2 from the FTP server.

2.5 Complete Libc.so.6 install VMware Tools after configuration

In fact, VMware Tools expects the Libc.so.6 library to be compat6x installed to the/lib directory, but all compat{3,4,5,6}x ports have their libraries installed to/usr/local/lib/ Compat directory to avoid disrupting system files, you need to create a soft link to libc.so.6 for VMware Tools here, so execute the following command:

bsdserver# ln-s/usr/local/lib/compat/libc.so.6/lib

Even if we are logged into the console of the virtual machine, tcsh (root shell in FreeBSD) will also set the RemoteHost variable, so you need to execute the following command:

bsdserver# unsetenv RemoteHost

Perform the installation again with bsdserver#./vmware-install.pl, and the following prompts show that the installation was successful.

Enjoy,

--the VMware Team

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.