Home >Operation and Maintenance >CentOS >How to share folders in centos?
How to share folders in centos: first install VMware Tools; then right-click the virtual machine and find the shared folder in the settings; then create a shared directory with the code [mkdir /mnt/cdrom]; finally enter the relevant command to put the shared folder in the directory.
How to share folders in centos:
1. Install VMware Tools
In the tool Virtual Machine in the column --->Install VMware Tools.
##2. Set up shared foldersRight-click the virtual machine--->Settings##3. Create a shared directory
mkdir /mnt/cdrom
4. View the shared file directory
vmware-hgfsclient
##5. Enter the following command
/usr/bin/vmhgfs-fuse .host:/ /mnt/cdrom -o subtype=vmhgfs-fuse,allow_otherShare like this The folder directory is under /mnt/cdrom/..../
These files are exactly the files placed under windows
Related tutorial recommendations:
centos tutorialThe above is the detailed content of How to share folders in centos?. For more information, please follow other related articles on the PHP Chinese website!