Install VMware-tools in CentOS6.5

Source: Internet
Author: User
Tags install perl
Install CentOS6.5 on VMWare. Some problems may occur when the system installs vmware-tools. the following solutions are provided: 1. log on to the system, switch to the root account 2. configure the network minimal version and do not start the network by default. The configuration process is simple. edit the configuration file vi/etc/sysconfig/network-script/if

Install CentOS 6.5 on VMWare. Some problems may occur when the system installs vmware-tools. the following solutions are provided;

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.

The configuration process is simple, editing the configuration file vi/etc/sysconfig/network-script/ifcfg-eth0

Two changes are required.

NM_CONTROLLED = "no" # Modifying to no does not rely on NetworkManager control

ONBOOT = "yes" # Modify to yes to set startup.

NetworkManager is the default network management tool provided by the full version. it is set because it is not installed with minimal.

NM_CONTROLLED = "no"

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.

[Root @ lele ~] # Yum install perl

4. obtain the vmware-tools package

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

[Root @ lele/] # cd/

[Root @ lele/] # mkdir/media/mnt // create a directory

[Root @ lele/] # mount/dev/cdrom/media/mnt // mount Directory

Mount: block device/dev/sr0 is write-protected, mountingread-only

[Root @ lele/] # cd media/mnt // enter the mounted Directory

[Root @ lele mnt] # ls

Manifest.txt VMwareTools-9.6.1-1378637.tar.gz vmware-tools-upgrader-64

Run_upgrader.sh vmware-tools-upgrader-32

[Root @ lele mnt] # cp VMwareTools-9.6.1-1378637.tar.gz/root

[Root @ lele mnt] # umount/dev/cdrom # disable the device

[Root @ lele mnt] # cd/root

[Root @ lele mnt] # tar zxvf VMwareTools-9.6.1-1378637.tar.gz # Extract Files

5. install vmware-tools

[Root @ lele mnt] # cd vmware-tools-distrib # enter the file directory

[Root @ lele mnt] # ../vmware-install.pl # installation

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

Initctl: Job failed to start

Unable to start services for VMware Tools

Start services manually

/Etc/vmware-tools/services. sh start

See is the vmware-tools-thinprint.conf error, anyway do not need to print the virtual machine, delete the corresponding configuration

Rm/etc/init/vmware-tools-thinprint.conf

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

P.S. when starting the service, Mounting HGFS shares: [FAILED] may be reported. this problem may be caused by the fact that the shared folder function is not enabled in the virtual machine settings, so no error will be reported when the service is restarted.

Related Article

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.