Install vmare-tools-implement mutual copying and pasting between ubuntu and windows (without sharing folders), vmare-toolsubuntu
What we want to achieve is convenient copy and paste between linux and windows systems, just like ctrl + c and ctrl + v.
To better use virtual machines, we can install the vmare-tools tool to copy and paste documents as follows:
Preparations before installation: 1. You must first install build-essential software. Otherwise, the installation will fail.
$ Sudo apt-get install build-essential2. to install the linux-headers package, you must install the package before configuring VMware-tools. You can install the package before installing VMware-tools, or install it before the configuration is successful after VMware-tools is installed. Otherwise, the system will prompt that C header files cannot be found and you must specify the path. However, this linux-headers package must match the ubuntu version you downloaded. You can run the command: uname-a to check your installed version. Below, we can see that my package is 3.20.- 40.
The command is:
$ Sudo apt-get install linux-headers-3.13.0-403. If the configuration is not completed, you can run its configuration file to start the configuration process, after installing packages 1 and 2, I still encountered the prompt that c header files could not find the required path, after careful reading, I found that the default path is different from the path of the linux-headers I installed. You only need to write a new path to continue the configuration process. The subsequent steps are smooth, requiring you to specify the resolution and so on. You only need to install the reminder. After the configuration is complete, restart VMware. 2. Install vmare-tools 1. Open the vm menu "vm", and there will be an installation option for the vmware tools tool in the drop-down box. At this time, the installation CD image of VMware Tools for Linux is automatically loaded under Ubuntu. You will see a CD icon named VMware Tools on the desktop of the virtual machine, which is automatically opened. It contains two files: VMwareTools-xxx-i386.rpm and VMwareTools-xxx.tar.gz. I extracted it to the tmp directory for installation:
In the command for Installation
Sudo./vmware-install.plPress enter! The options "yes/no" shown below can be directly defaulted. That is to say, we only need to press Enter!
Enter the command after installation is complete.
RebootPress enter to restart the instance!
If you have any questions, please leave a message!