If you look it up, there are some sites that explain how to do it, I'll leave a concise way for myself. I was able to share it on Ubuntu Desktop in a similar way.
Download the image from jp.ubuntu.com download page
I think that it will come out as soon as I check it, so I will omit it here
Make the following settings while Ubuntu is not running.
Decide the directory of the host you want to share here and the directory name when it was mounted, and press Next.
Complete with the default settings.
I like this part, but I always keep it valid. When the settings are complete, press OK to close the settings.
unzip
$ apt install unzip
Start Ubuntu-Server and install the tool with the following command in an appropriate directory.
$ git clone https://github.com/rasa/vmware-tools-patches.git
$ cd vmware-tools-patches
$ ./download-tools.sh latest
$ ./untar-and-patch.sh
$ ./compile.sh
When you're done so far, restart Ubuntu.
sudo mount -t fuse.vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other
The shared folder is mounted in the following directory and can be used.
cd /mnt/hgfs
If you follow step 6, the settings will be initialized every time you restart, so If you want to mount it at startup, set it.
Add this to the last line
/etc/fstab
.host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other 0 0
Recommended Posts