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.