vm virtual machine setting windows shared folder + setting soft connection

vm virtual machine setting windows shared folder + setting soft connection

First, find the shared folder settings through three steps as shown in the figure below.
1. Select the tab ----Virtual Machine (M)
2. Select----Option Bar
3. Find----Shared Folder and
insert image description here
then select-----Always Enable----Add
. The name refers to the name of the folder in the Linux system, and the
host path is the file path of the Windows system to be shared.

insert image description here

At this point, there is a shared folder in the Linux system:
the path location is /mnt/hgfs/
insert image description here

Since the shared folder is in mnt, for the convenience of use, we can put the shared file in the home directory by establishing a soft link Command
:
ln -s /mnt/hgfs/shared folder/home/lv #lv is the host name

insert image description here
This will make it easier for us to view shared folders

The method of deleting soft links
rm -rf /home/lv/shared folder

Guess you like

Origin blog.csdn.net/weixin_42213421/article/details/115738957