VM install VM tools to realize copy and paste between VM and Windows

VM install VM tools to realize copy and paste between VM and Windows

Long time no see, I haven’t updated my blog for a long time. Recently, I am preparing to learn blockchain and smart contract technology by myself. I insist on updating every Tuesday. Is the main business of bloggers more exciting? Welcome to harassment, a little attention, it will be more convenient next time Learn.

Install VM Tools

The requirement is to copy information with Windows.

Implementation steps

  1. Click on your own virtual machine option settings
    Insert picture description here
  2. Then the penultimate one is today’s protagonist, just click to install VMware Tools, a pop-up window will appear, just click OK, and then there will be a DVD icon on your page, as follows Shown:
    This is it
  3. In our document we will use the following file:
    Insert picture description here
  4. The next step is to move this file to the desktop, you can choose to copy the file directly to the desktop:
    Insert picture description here

Then you can see that this is a compressed package, all we need to do is to decompress it, but the decompression method on Ubantu is very different from the windows we are used to. We can decompress it directly by entering the code in the terminal:

  1. Before officially decompressing the file, we need to enter the file directory, use the cd operation command, and use the ls command to check whether there is the file we want. From the figure below, we can clearly see that the file we need to decompress is in Below our current directory:
    Insert picture description here
  2. Finally, perform a code decompression:
    decompress the installation package, the installation package is tar.gz Use command: tar -xvzf, format: tar -xzvf filename.tar.gz //decompress tar.gz
    Insert picture description here
  3. After decompression, a decompressed file will appear under the file directory:
    Insert picture description here
  4. At this point, we can delete our DVD, and the compressed package can also be deleted, but our installation has not been completed, haha,
    let’s open the decompressed file:
    Insert picture description here

You can see that there are many files. The red box is our focus. What we need next is to run this file, but the operation in Urbantu is not double-clicking, we can run it through code.

  1. First locate the original file directory as above to see if there is this file we need:
    Insert picture description here
  2. You can see that there are the .pl files we need, so we run: ./wmware-install.pl
    but there is an error here, and the result is not as we expected, the specific error:
    Insert picture description here
    look at the first Doesn’t the translation of the sentence mean that the permissions are not enough? You are asked to run with high permissions. Then the question arises. How to raise the permissions? Are there many methods on the Internet that are cumbersome? I will provide a simple and effective method here. Adding sudo in front of your code can solve the problem of insufficient authority:
    Insert picture description here
    you need to enter your own password after the input is completed here, enter it and we can
    then press Enter all the way to install by default (note that if you encounter questions during the period) And the ones followed by [no] don’t press Enter, enter y and press Enter)
    and wait for the installation to complete
    Insert picture description here
  3. If the installation is no use, don’t worry because you have
    restarted. Just restart the virtual machine.

Copy and paste you to try it yourself

Thank you for reading, pay attention, learn from each other, there will be more articles waiting for you to unlock in the future.


Opportunities are always reserved for those who are prepared


Guess you like

Origin blog.csdn.net/weixin_45629315/article/details/113047152