1. Click "Virtual Machine (M)" and "settings" in the VM to empty the CD/DVD using ISO image file
2. Create a mount Directory
1 mkdir/media/CDROM2 Mount/dev/cdrom/media/CDROM3 4 The following prompt appears for installing the virtual machine:5 Mount: Block Device/dev/sr0 isWrite-Protected, mounting read- only6Indicates that the system CD-ROM is loaded successfully because the optical drive is read-only, so prompt write-protected,mounting read-Only,sr0 is the optical drive device name,7Use the following command: ll/dev/CDROM8 See9lrwxrwxrwx.1Root root3Dec - -/dev/cdromsr0Tennamely/dev/cdcom is a soft link to sr0 One A Change into - Mount-O Remount,rw/dev/sr0/media
3. Copy unzip, go to unzip directory, execute, return to default configuration.
CD media/
1 CP vmwaretools-9.6 . 2 -1688356 . tar . GZ/root 2 3 cd/root 4 tar -XZVF Vmwaretools-9.6 . 2 -1688356 . tar .gz 5 6 cd Vmware-tools-distrib/7 ./vmware-install . PL
4. Set the shared folder on the Windows host, on the CentOS corresponding is the/mnt/hgfs/shared folder directory
5. CentOS Configuration information
1 Usethe vmware-hgfsclient command to see your shared folder directory 2mount -t Vmhgfs. Host:/sharefolder/ the MNT/HGFS command mounts the shared folder. Where. Host:/documents is the share name, just replace the documents with the Vmware-hgfsclient command to get the directory,/mnt/Hgfs is mount point 3 set to boot mount, with VI Edit/ etc/thecontent in Fstab, add a line at the bottom:4 . Host:/sharefolder /mnt/hgfs vmhgfs Defaults 0 0
Problem Solving
(1) Unable to find the binary installation directory, delete a file.
1 A Previous installation of VMware Tools has been detected.2 3The previous installation was made by theTarInstaller (version4).4 5 keeping the TAR4 Installer database format.6 7You have a version of VMware Tools installed. Continuing thisInstall would8First uninstall the currently installed version. wish to continue?9(yes/NO) [Yes]Ten If you select Yes, the following error message is displayed: One AError:unable toFindThe binary installation directory (answer BINDIR) - inchThe installer Databasefile "/etc/vmware-tools/locations". - theUninstall failed. Please correct the failure and re run theInstall. - - execution aborted.
1 RM -f/etc/vmware-tools/locations
(2) Initctl:job failed to start
1 does want to enable Guest authentication (Vgauth)? [yes] 2 3 No X install found. 4 5 Creating a new initrd boot image for the kernel. 6 vmware-tools-thinprint start/running Span style= "COLOR: #008080" > 7 initctl:job failed to start 8 Unable to start services for VMware Tools 9 10 execution aborted.
1 Remove files from 2 rm /etc/init/vmware-tools-thinprint.conf3 Restart service 4 /etc/vmware-tools/ Services. SH
centos6.5 Installing the VMware tools& shared folder display