Home >Operation and Maintenance >CentOS >About centos supports copy and paste

About centos supports copy and paste

藏色散人
藏色散人forward
2020-12-08 16:48:288427browse

The following is introduced to you by the centos basic tutorial columncentos supports copying and pasting, I hope it will be helpful to friends in need!

About centos supports copy and paste

#centos To support interaction with the host, vmtools is essential.

  • In order to facilitate copying, pasting, and dragging files between the virtual machine and the host, VMwareTools needs to be installed. My installation steps are recorded below: Step 1: After opening the virtual machine, click the virtual machine in the VM toolbar - Install VMware Tools(T)...Then the CentOS system will automatically mount VMWare Tools and open it automatically. , as shown in the figure below: Step 2: For convenience, drag VMwareTools-9.9.0-2304977.tar.gz to the desktop for operation. Step 3: Right-click on the desktop and select "Open in Terminal", as shown below: Step 4, you need to unzip VMwareToo
  • In order to facilitate copying and pasting files between the virtual machine and the host, drag To drag the file, you need to install VMware Tools.

    I will record my installation steps as follows:

    Step 1: After opening the virtual machine, click on the virtual machine in the VM toolbar-Install VMware Tools(T)...

  • Then the CentOS system will automatically mount VMWare Tools and open it automatically, as shown in the following figure:

Step 2: For convenience, drag VMware Tools-9.9.0-2304977.tar.gz to the desktop for operation.

Step 3: Right-click on the desktop and select "Open in Terminal", as shown below:

Step 4, required Unzip VMware Tools-9.9.0-2304977.tar.gz, as shown below, execute the command tar -xzv -fVMware Tools-9.9.0-2304977.tar.gz. Note that the file name can be completed with the TAB key.

## After decompression is completed, a folder will be generated on the desktop, as shown below:

Step 5: Enter the decompressed directory. Execute the command cd vmware-tools-distrib/, as shown in the figure below:

Step 6: Execute the installation command, sudo ./vmware-install.pl, as shown below:

After that, you only need to press the [Enter] key all the way. Of course, if you understand each The functions of each option can also be customized, but generally the default is enough. When you see the characters shown below, it means the installation is complete

Then you can use copy and paste the host<-----> centos

3. Use shared folders to transfer data

Store some files in the shared folder in the win7 system you created, and then access them in the linux system. The access path in Linux is: /mnt/hgfs/The name of the folder I created

For example, the name of the shared folder I created on win7 is shareFolder, then my operation is as follows:

[root@master shareFolder]# cd /mnt/hgfs/shareFolder/

You can view files on win7 in this directory. You can also copy files from linux to this directory, and you can also view files on win7. can see.

But generally we use xftp5 for data transmission, but copying and pasting is still essential, so install vimtools! To save trouble, just set the run level to 3, just click a few times graphically, and then open it in the terminal after decompression.

The above is the detailed content of About centos supports copy and paste. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:cnblogs.com. If there is any infringement, please contact admin@php.cn delete