I. RedHat
Start the VM first.
After it is started, install VMware Tools (I) on the VM (m)>)
That is to say, choose to install VMware Tools from the VM option in the menu.
Then run the command as root in Linux text mode.
Attach your optical drive
[Root @ redhat7/root] # Mount-T iso9660/dev/CDROM/mnt
Check whether it has been mounted:
[Root @ redhat7/root] # ls/mnt/
VMwareTools-5.5.3-34685.i386.rpm VMwareTools-5.5.3-34685.tar.gz
Okay, mount it! Copy the tar package to the home directory and decompress it.
[Root @ redhat7/root] # cp/mnt/VMwareTools-5.5.3-34685.tar.gz/root/
Then, the optical area will be suspended first.
[Root @ redhat7/root] # umount/mnt
Return to the root directory:
[Root @ redhat7/root] # cd/root/
[Root @ redhat7/root] # ls
VMwareTools-5.5.3-34685.tar.gz
Decompress:
[Root @ redhat7/root] # tar zxvf VMwareTools-5.5.3-34685.tar.gz
Go to the extracted directory:
[Root @ redhat7/root] # cd vmware-tools-distrib
Install:
[Root @ redhat7 vmware-tools-distrib] #./vmware-install.pl
You can install
Then you can press "yes" and press Enter. After installation, reboot is complete.
This is the method for installing .tar.gz. I have not responded to the RPM method after installing it. Therefore, we recommend installing the source code. We do not recommend installing the RPM.
Rpm installation method:
[Root @ redhat7/root] # rpm-IVH VMwareTools-5.5.3-34685.i386.rpm
Ii. Install VMware Tools on Ubuntu
First, go to the Ubuntu system, and then switch to the VM menu in VMware Workstation-> install VMware workshop format. Because ubuntu.gz does not support rpminstallation, you can choose to decompress the tar.gz file for installation. To install VMware Tools, you must re-compile the module for the new kernel. Therefore, you must first install the basic compilation system and kernel header files.
Code:
$ Sudo apt-Get install build-essential
$ Uname-R (obtain the kernel version number)
$ Sudo apt-Get install linux-headers-'uname-R' (replace the obtained version number with 'uname-R') to decompress and install it:
$ Tar zxf/Media/CDROM/VMwareTool-5.0.0-* .tar.gz (changed with version)
$ CD vmware-tools-distrib
$ Sudo./vmware-install.pl
Press enter all the way back.