Setting up shared folders in Ubuntu virtual machine of VMWare14.0.0

Setting up shared folders in Ubuntu virtual machine of VMWare14.0.0

This is my first blog post. Due to time constraints, I don’t know how to format it in a nice way, so please just make do with it for now.

Note: The VMWare version used here is 14.0.0, but the method to be described below is actually tested and available in earlier versions.

1. Click "Virtual Machine" and "Settings" in the upper left corner of the VMWare window, as shown in Figure 1

Figure 1

2. In the pop-up dialog box, click "Options", "Shared Folders", and "Next"

Figure 2

3. Select the folder path to be shared and fill in the name.

Figure 3

4. After completion, it will be as shown in Figure 4 (I have already added a common folder before, so I will not add it again here)

Figure 4

5. Important part: Enter the virtual machine and install VMware Tools

As shown in Figure 5, click "Virtual Machine" and "Reinstall VMware Tools" in sequence. I have installed it before, so if you have not installed it before, it should not be a "re" installation, so there is no difference.

Figure 5

6. A virtual CD-ROM drive window will pop up. Right click and click "Open in Terminal"

Figure 6-1

Figure 6-2

7. Copy it to another directory, such as the new directory here, and delete it after the installation is complete.

cp -r * ~/here
cd ~/here

8. Unzip -> enter the installation program directory -> execute the installation:

 tar zxvf VMwareTools-10.1.15-6627299.tar.gz
 cd vmware-tools-distrib/
 ./vmware-install.pl 

Figure 8

9. At this point, you should be able to see the shared folder share under Windows that you just set up in the virtual machine under /mnt/hgfs/:

Fig. 9

10. If there is no shared folder under /mnt/hgfs/ in the above step - don't worry, just add another command:

vmhgfs-fuse .host:// /mnt/hgfs/

At this time, put your files under Windows into the shared folder share, then go back to Ubuntu, cd to /mnt/hgfs/share, and you can see these shared files.

Note: You can create a soft link to the home directory to facilitate access to the shared directory:

cd /mnt/hgfs
ln -s /mnt/hgfs/share/ ~/share 

Figure 10-1

Figure 10-2

Then, when you want to access the shared directory, just type cd share in your home directory.

The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM.

You may also be interested in:
  • The latest super detailed graphic tutorial of installing Kali Linux on virtual machine VMware
  • Graphic tutorial on how to share folders in Linux on the host and VMware
  • How to set up folder sharing in CentOS 7 in VMware
  • VMware12 and CentOS7 shared folder problem analysis
  • How to set up a shared folder on a vmware16 virtual machine

<<:  Solution to 1067 when Mysql starts in Windows

>>:  MySQL operations: JSON data type operations

Recommend

How to create and run a Django project in Ubuntu 16.04 under Python 3

Step 1: Create a Django project Open the terminal...

HTML weight loss Streamline HTML tags to create web pages

HTML 4 HTML (not XHTML), MIME type is text/html, ...

Example code for implementing equal height layout in multiple ways with CSS

The equal height layout described in this article...

Tutorial on installing MYSQL8.X on Centos

MySQL installation (4, 5, 6 can be omitted) State...

The meaning and usage of linux cd

What does linux cd mean? In Linux, cd means chang...

Front-end vue+express file upload and download example

Create a new server.js yarn init -y yarn add expr...

Seven different color schemes for website design experience

The color matching in website construction is ver...

Navicat connects to MySQL8.0.11 and an error 2059 occurs

mistake The following error occurs when connectin...

Tutorial diagram of installing CentOS and Qt in Vmware virtual machine

Vmware Installation Installing Packages Download ...

Mysql backup multiple database code examples

This article mainly introduces the Mysql backup m...

How to install and configure WSL on Windows

What is WSL Quoting a passage from Baidu Encyclop...