1. Preparation
1. Install VMware Tools on the menu bar:
Click [Virtual Machine] on the VMware menu bar, and select [Install VMware Tools]; if an earlier version of VMware Tools is installed, the menu item is [Update VMware Tools].
2. Mount the CD-ROM:
Check whether [Virtual Machine>Settings>Hardware>CD/DVD] has loaded the CD virtual drive
2. Mount directory
1. View the cdrom directory
In the virtual machine, log in to the guest operating system as root, open a terminal window and run the ls /dev command to check whether there is a cdrom directory: if not, the mkdir command will create it
Mount the CD-ROM to other directories, generally mount /dev/cdrom to the /mnt/cdrom directory, use ls/mnt to check whether the /cdrom directory is already included
3. Mount directory:
mount -t iso9660/dev/cdrom /mnt/cdrom
Use the command mount -t iso9660/dev/cdrom /mnt/cdrom to mount the CD in the /mnt/cdrom directory, and use the command ls/mnt/cdrom to check whether the mount is successful
3. Copy the installation package
1. Copy the installation package to the home directory:
Copy the file with the suffix tar.gz to the home directory, use the command cp/mnt/cdrom/VMwareTools-9.9.3-2759765.tar.gz ~, and use the command ls~ to check whether the copy is successful
2. Unmount:
Use the command umount/dev/cdrom to unmount
3. Unzip the installation package:
Use the command tar -zxvf VMwareTools-10.3.25-20206839.tar.gz
4. Install VMware Tools
1. Enter the source file directory:
Use the command cd vmware-tools-distrib to enter the decompressed source file directory
2. Run the vmware-install.pl file
(If there is no gcc environment, then yum installs one)
Just go back all the way
Install VMwareTools (non-graphical interface) in CentOS7
Centos7 installs vm tools tools_yum installs vmtools
CentOS7 installs VMware Tools_centos7 installs tools_zhujing's blog - CSDN blog