Analysis on the method of centos8 virtual machine accessing windows 10 host folder

Time:2021-7-29

After installing vmware tools, ① text can be copied and pasted between virtual machine hosts,

② Virtual machine files can be copied to the host, but

→ the host file cannot be copied to the virtual machine. The host folder can be accessed directly from the terminal through the following methods.

1. Virtual machine > Settings > Options > shared folder

Click always enable

Folder > Add > next > Browse [host path] > next enable this share > finish > OK






2. Terminal input


vmware-hgfsclient

Displays the name of the host folder you just added.

3. Terminal input


/bin/vmware-config-tools.pl

By default, yes waits for the last few lines to appear,


The configuration of VMware Tools 10.3.10 build-13959562 for Linux for this 
running kernel completed successfully.
 
Enjoy,
 
--the VMware team

4. At this time, the host folder added above can be accessed from the following location for replication.


cd /mnt/hgfs/
ls
cp host_file /root/Documents/

summary

The above is the method of centos8 virtual machine accessing windows10 host folder introduced by Xiaobian. I hope it will be helpful to you. If you have any questions, please leave me a message, and Xiaobian will reply to you in time. Thank you very much for your support to the developeppaer website!
If you think this article is helpful to you, welcome to reprint, please indicate the source, thank you!