Vmware tools is a super enhanced tool in the virtual machine, which can make us more convenient to use the virtual machine, and can realize file sharing between the host and the virtual machine. This article mainly introduces the installation steps of the virtual machine VMware Tools. Friends who need it can For reference
My requirement for installing VMware Tools is
Between the Linux virtual machine and my Windows physical machine, paste and copy between each other can be realized. Set a shared folder between the virtual machine and the physical machine. Adjust the size of the virtual machine so that the virtual machine fills the full screen.
installation steps
1. Click Virtual Machine on the VMware menu
Click Install VMware Tools in the pop-up menu (note that you should install it when your Ubuntu operating system is turned on)
Wait for a while, the following pop-up window will appear, click Yes
Then click the DVD icon on the right taskbar to find the VMware Tools compressed file
Copy the VMware Tools compressed file to the opt folder. In the previous Linux system, it was customary to place it in the /usr/local directory.
When copying and pasting to the opt folder, it should be noted that your permissions may not be sufficient to paste
Not enough permissions to paste
Solution:
Step 1: Open the terminal and enter sudo nautilus on the command line
Step 2: Enter your user password
Step 3: Open the directory to be operated in the pop-up window
Step 4: Copy the files in other directories you need, and paste them into the current directory. Or: You can also delete unwanted files in the current directory window
Select the computer, go into opt, and paste
After pasting, we will unzip the installation package
Change to root user first: use sudo su
Go to opt folder
Unzip the installation package, the installation package is tar.gz Use the command: tar -xvzf, format: tar -xzvf file.tar.gz //Decompress tar.gz
Install vmware-install.pl
First enter the folder we unzipped
Use the ls command to view the files in the decompressed VMware-tools-distrib folder, you can see that there is a vmware-install.pl file, just execute it
then enter
Then press Enter all the way to install by default (note that if you encounter a query followed by [no] during the period, do not press Enter first, enter y first and then press Enter)
The installation is complete
Then restart the virtual machine to make VMwareTools take effect
1. I will not demonstrate the mutual paste and copy between the virtual machine and the physical machine
2. Start to set up the shared folder below
I first set up a shared folder myshare under the D disk, and create a new TXT file under the folder, the content is Hello! linux
Enter the virtual machine to start setting up shared folders, click on the virtual machine, and select Settings
Then the virtual machine settings window will pop up, click Options, select Shared Folders, select Always Enable
Select Add to start adding shared folders
Select Next in the pop-up menu
Next, a window to add the shared folder path will pop up, we just need to add the shared folder path we set into it.
My path is myshare on the D drive, click OK
Next step
Check Enable this sharing and click Finish
In the last step, click OK, and the shared folder is set up.
Shared files and shared folders are set up
The shared files we set can be found in the hgfs folder under the mnt folder of the computer
3. Next, start to adjust the size of the virtual machine window
When we first started, the virtual machine did not have a full screen
Then we can select View on the virtual machine menu, and the part circled in red in the figure below can adjust the window size of the virtual machine
You can adjust it according to which style suits you
Effect
If you want the virtual machine to be full screen on your computer shortcut Ctrl + Alt + Enter
The effect will not be demonstrated, the operation process will be different, everyone should learn to use it flexibly!