Home >Operation and Maintenance >CentOS >How to share folders in centos?

How to share folders in centos?

coldplay.xixi
coldplay.xixiOriginal
2020-07-28 16:21:2412833browse

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?

How to share folders in centos:

1. Install VMware Tools

In the tool Virtual Machine in the column --->Install VMware Tools.

How to share folders in centos?

##2. Set up shared folders

Right-click the virtual machine--->Settings

How to share folders in centos? ##3. Create a shared directory

mkdir /mnt/cdrom

4. View the shared file directory

vmware-hgfsclient

##5. Enter the following commandHow to share folders in centos?

/usr/bin/vmhgfs-fuse .host:/ /mnt/cdrom -o subtype=vmhgfs-fuse,allow_other

Share like this The folder directory is under /mnt/cdrom/..../

These files are exactly the files placed under windowsHow to share folders in centos?

How to share folders in centos?Related tutorial recommendations:

centos tutorial

The 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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn