1. Set up a shared folder on the virtual machine:1. Select the virtual machine to be processed and right-click to set it (or when you open the virtual machine, select Edit virtual machine settings); 2. In the virtual machine settings window: select Options--》Click Shared Folders; select Always Enable for folder sharing 3. In the folder: add a shared directory; in the pop-up window, click Next--》Set the shared folder directory address and shared folder name--》Enable this share--》Done. The virtual machine setup is complete. 2. Centos mounts/identifies shared folders/directories.1. Open a terminal on the Centos desktop (or use XShell: just connect directly) 2. View the shared directory status command: vmware-hgfsclient 3. If this is the first time to set up a shared directory, CentOS 7 needs to create a folder under /mnt to create /hgfs (mkdir /mnt/hgfs) ---> Check the creation status ls -l /mnt; 4. (First time) Manually mount the shared directory - each time you shut down the computer, you need to remount it. [At first, I just mounted it manually, which resulted in me being unable to view the shared directory the next day. 】 Mount command: vmhgfs-fuse .host:/vm /mnt/hgfs vm is the name of the shared directory, /mnt/hgfs is the mount location, the location can be defined at will 5. Add boot mount 1.cd /etc/rc.d vim edit rc.local 2.vmhgfs-fuse .host:/vm /home/wwwroot mount to /home/wwwroot 3. init 6 restarts the virtual machine The above is the details of how to set up a shared local folder on the vmware16 virtual machine. For more information about shared folders on the vmware16 virtual machine, please pay attention to other related articles on 123WORDPRESS.COM! You may also be interested in:
|
<<: About the "occupational disease" of designers
>>: In-depth understanding of mathematical expressions in CSS calc()
Preface The SQL mode affects the SQL syntax that ...
Windows Server 2008 server automatically restarts...
Therefore, we made a selection of 30 combinations ...
1. Server setup The remote repository is actually...
It is difficult to find good image material websi...
Since Zabbix version 3.0, it has supported encryp...
This tutorial shares the installation and configu...
I recently wrote a mobile page at work, which was...
Alphabetical DTD: Indicates in which XHTML 1.0 DT...
Today I wanted to change the mysql port, but I fo...
Table of contents MYSQL METADATA LOCK (MDL LOCK) ...
Table of contents Case scenario Solving the probl...
The effect diagram is as follows: <!DOCTYPE ht...
From today on, I will regularly organize some smal...
This article shares the installation and configur...