Configuration of Ubuntu shared folders

Table of contents

Configuration of Ubuntu shared folders

1. Case operating environment:

2. Install VMware Tools files

1. Start the virtual machine first, and click the "Virtual Machine" - "Install VMware Tools" option while the virtual machine is running.

2. Under the VMware Tools folder, right-click and "Open in Terminal"

3. In the terminal, use the command to decompress the VMwareTools compressed package

4. Switch folder command: cd /home/your own unzipped directory folder, as shown in the figure, enter the installation command: sudo ./vmware-install.pl

6.Mount the shared folder

7. Restart the virtual machine, open the terminal and enter commands

3. If VMware Tools is empty during installation


1. Case operating environment:

VMware Workstation:16.2.2 build-19200509

ubuntu: 20.04

2. Install VMware Tools files

1. Start the virtual machine first, and click the "Virtual Machine" - "Install VMware Tools" option while the virtual machine is running.

2. Under the VMware Tools folder, right-click and "Open in Terminal"

3. In the terminal, use the command to decompress the VMwareTools compressed package

tar zxvf VMwareTools-xxx-xxx.tar.gz -C /home/自己的解压到的目录文件夹

Note that if you want to extract it to the Desktop directory

The absolute path is /home/ultra/Desktop/xxxx

The relative path is ~/Desktop/xxxx

Otherwise, you will be like me and can’t find the directory.

4. Switch folder command: cd /home/your own unzipped directory folder, as shown in the figure, enter the installation command: sudo ./vmware-install.pl

sudo ./vmware-install.pl

5. During the installation, you can lose whatever is prompted. Finally, enjoy appears, indicating that the installation is complete.

6.Mount the shared folder

7. Restart the virtual machine, open the terminal and enter commands

cd /mnt/hgfs

A picture will appear indicating that it has been installed.

3. If VMware Tools is empty during installation

Configure as shown below and restart the virtual machine

Guess you like

Origin blog.csdn.net/qq_63032911/article/details/132847192