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

Detailed steps to install web server using Apache httpd2.4.37 on centos8

Step 1: yum install httpd -y #Install httpd servi...

Docker primary network port mapping configuration

Port Mapping Before the Docker container is start...

Causes and solutions for slow MySQL queries

There are many reasons for slow query speed, the ...

Summary of the differences and usage of plugins and components in Vue

The operating environment of this tutorial: Windo...

Analysis of the configuration process of installing mariadb based on docker

1. Installation Search the mariadb version to be ...

In-depth explanation of nginx location priority

location expression type ~ indicates to perform a...

Detailed explanation of json file writing format

Table of contents What is JSON Why this technolog...

Use JavaScript to create page effects

11. Use JavaScript to create page effects 11.1 DO...

The Complete Guide to Grid Layout in CSS

Grid is a two-dimensional grid layout system. Wit...

Reasons and methods for Waiting for table metadata lock in MySQL

When MySQL performs DDL operations such as alter ...

How to build pptpd service in Alibaba Cloud Ubuntu 16.04

1. To build a PPTP VPN, you need to open port 172...

How to set and get the number of Mysql connections

Get the number of connections --- Get the maximum...