Install VMware Tools in RedHat and Ubuntu Linux

Source: Internet
Author: User
I. RedHat

Start the VM first.
After it is started, install VMware Tools (I) on the VM (m)>)

That is to say, choose to install VMware Tools from the VM option in the menu.
Then run the command as root in Linux text mode.
Attach your optical drive
[Root @ redhat7/root] # Mount-T iso9660/dev/CDROM/mnt
Check whether it has been mounted:

[Root @ redhat7/root] # ls/mnt/
VMwareTools-5.5.3-34685.i386.rpm VMwareTools-5.5.3-34685.tar.gz

Okay, mount it! Copy the tar package to the home directory and decompress it.

[Root @ redhat7/root] # cp/mnt/VMwareTools-5.5.3-34685.tar.gz/root/

Then, the optical area will be suspended first.

[Root @ redhat7/root] # umount/mnt

Return to the root directory:

[Root @ redhat7/root] # cd/root/

[Root @ redhat7/root] # ls
VMwareTools-5.5.3-34685.tar.gz

Decompress:

[Root @ redhat7/root] # tar zxvf VMwareTools-5.5.3-34685.tar.gz

Go to the extracted directory:

[Root @ redhat7/root] # cd vmware-tools-distrib

Install:

[Root @ redhat7 vmware-tools-distrib] #./vmware-install.pl

You can install
Then you can press "yes" and press Enter. After installation, reboot is complete.
This is the method for installing .tar.gz. I have not responded to the RPM method after installing it. Therefore, we recommend installing the source code. We do not recommend installing the RPM.

Rpm installation method:

[Root @ redhat7/root] # rpm-IVH VMwareTools-5.5.3-34685.i386.rpm

Ii. Install VMware Tools on Ubuntu

First, go to the Ubuntu system, and then switch to the VM menu in VMware Workstation-> install VMware workshop format. Because ubuntu.gz does not support rpminstallation, you can choose to decompress the tar.gz file for installation. To install VMware Tools, you must re-compile the module for the new kernel. Therefore, you must first install the basic compilation system and kernel header files.
Code:
$ Sudo apt-Get install build-essential
$ Uname-R (obtain the kernel version number)
$ Sudo apt-Get install linux-headers-'uname-R' (replace the obtained version number with 'uname-R') to decompress and install it:
$ Tar zxf/Media/CDROM/VMwareTool-5.0.0-* .tar.gz (changed with version)
$ CD vmware-tools-distrib
$ Sudo./vmware-install.pl
Press enter all the way back.
 

 

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.