Install VMware Tools in Linux and vmware in linux

Source: Internet
Author: User
Tags install perl

Install VMware Tools in Linux and vmware in linux

If CentOS is installed on VMWare, some problems may occur when the system installs vmware-tools. Now, let's share the installation process and solutions;

! The system used in this article is CentOS6.5 minimal.

1. log on to the system and switch to the root account.

2. Configure the network

By default, the minimal version does not start the network, so you must configure it yourself.

For the configuration process, see my blog-CentOS minimal network settings.

3. The installation script of vmware-tools must use perl, but CentOS6 does not contain perl. Therefore, to install perl on your own, you can download the source code or yum;

The simplest method is to use yum

1 [root@localhost ~]# yum install perl

4. Obtain the vmware-tools Package

Click the vmware interface to load the vmware-tools image.

[Root @ localhost ~] # Cd/[root @ localhost ~] # Mkdir/media/mnt // create a directory [root @ localhost ~] # Mount/dev/cdrom/media/mnt // mount the mount Directory: block device/dev/sr0 is write-protected, mounting read-only [root @ localhost ~] # Cd media/mnt // enter the hanging directory [root @ localhost mnt] # lsmanifest.txt VMwareTools-10.0.0-2977863.tar.gz vmware-tools-upgrader-64run_upgrader.sh vmware-tools-upgrader-32 [root @ localhost mnt] # cp VMwareTools-10.0.0-2977863.tar.gz/root [root @ localhost mnt] # umount/dev/cdrom // disable the device [root @ localhost mnt] # cd/root [root @ localhost mnt] # tar zxvf VMwareTools-10.0.0-2977863.tar.gz # decompress the file

5. Install vmware-tools

[Root @ localhost mnt] # cd vmware-tools-distrib # enter the file directory [root @ localhost mnt] #./vmware-install.pl # Install

6. An error occurs at the end of the installation.

initctl: Job failed to startUnable to start services for VMware Tools

Start Services manually

/etc/vmware-tools/services.sh start

7. Restart the service and start the service.

Blocking file system: [FAILED]

After investigation, you need to install fuse-libs

yum install fuse-libs

8. Restart the service.

/etc/vmware-tools/services.sh restart

When the service is started, Mounting HGFS shares: [FAILED] may be reported. This problem is that the shared folder function is not enabled in the virtual machine settings, and no error is reported when the service is restarted.

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.