How to realize file sharing between Ubuntu and Windows under VMware

To install caffe recently, you need to copy the files under Windows to ubuntu16.04, and then set the shared folder. During the period, you encountered some difficulties. Record them so that you will not be confused when you encounter such problems in the future.

(Record only for better sharing)

Closer to home:

1、 First, you need to install vmware-tools under ubuntu to realize file sharing, but found that the virtual machine is grayed out, and vmware-tools cannot be installed. It is useless to set the shared folder in the shared folder. What is in the /mnt directory nothing.

2、 Next, use another method to start installing vmware-tools:

(1) Mount the image file: Virtual machine->Settings->Hardware->CD/DVD. Select “Use IOS image file” under "Connect" on the right, browse and select linux.iso under the virtual machine package directory (note that it is a virtual machine VMware installation directory)

(2) After adding, start ubuntu, open the CD file, you can see the compressed file of the vmware-tools installation package, as shown in the figure below.

The problem I encountered here is that the previous version of VMware was 10.0, and many errors will be reported during the next operation. After consulting the data, the virtual machine of version 10.0 has bugs, so I upgraded the version of VMware to 12.0, and then restarted Load the vmware-tools CD.

3、 Open the CD-ROM file, there is a compressed package named VMwareTools......tar.gz in the folder, click the above unzip button "extract", browse to select the directory to be unzipped, here is home/documents Directory, start to unzip.

Select the directory above the image below

4、 Open the terminal interface, enter the cd command to documents/vmware-tools-distrib, press Enter, and then enter

sudo ./vmware-install.pl

Press Enter, you may need to enter yes or no in the future. I, we only need to press Enter to complete the installation. Then restart the virtual machine. (The restart command is: reboot)

5、 Set the shared folder: (close the virtual machine before performing the operation, otherwise an unknown error will be reported)

  Open the virtual machine-settings-options, and then enable the shared folder.

6、 Start ubuntu, now look at the /mnt directory, there is already a folder hgfs, and there are shared folders inside.

Complete all operations.


Some people will encounter the problem of not being able to find the hgfs folder. After consulting the information, the solutions are listed for reference:

http://blog.csdn.net/tankaro/article/details/20464253

http://www.cnblogs.com/jiu0821/p/5946062.html

http://blog.sina.com.cn/s/blog_77bf45a901017x4a.html

Recommended Posts

How to realize file sharing between Ubuntu and Windows under VMware
File transfer method between Windows and Ubuntu on VMware
How to repackage Deb files under Debian and Ubuntu
How to create LVM for XFS file system under Ubuntu
How to build an NFS file sharing server on Ubuntu 16.04
Netweaver and Windows, Ubuntu data sharing
How to compile ijkplayer-android under ubuntu
Redis installation under ubuntu and windows
How to install Audacious under Ubuntu
How to install Tensorflow under ubuntu 16.04
How to change MySQL password under Ubuntu
How to install Ubuntu20.04 and install NVIDIA driver
Realize adding/deleting file permissions under Linux (ubuntu)
How to install vim editor under Linux (Ubuntu 18.04)
How to install Pycharm and Ipython on Ubuntu 16.04/18.04
How to install and configure NATS on Ubuntu 16.04
How to install and configure Gogs on Ubuntu 18.04
How to modify time zone and time in ubuntu
How to install and configure Cyberpanel on Ubuntu 18.04
How to install and secure phpMyAdmin on Ubuntu 16.04
How to install and configure ownCloud on Ubuntu 16.04
How to install and configure ownCloud on Ubuntu 16.04
How to install and configure GitLab on Ubuntu 18.04
How to install and use Docker on Ubuntu 20.04
How to install and configure Ansible on Ubuntu 18.04
How to install and use Curl on Ubuntu 18.04
How to install and use Composer on Ubuntu 18.04
How to install and use Wine on Ubuntu 18.04
How to install and secure phpMyAdmin on Ubuntu 16.04
How to install and configure Elasticsearch on Ubuntu 16.04
How to install and configure PostGIS on Ubuntu 14.04
How to install and use Composer on Ubuntu 20.04
How to install and use BaasBox on Ubuntu 14.04
How to install and configure VNC on Ubuntu 18.04
How to install and configure Sphinx on Ubuntu 16.04
How to install and configure OrientDB on Ubuntu 14.04
How to install and use PostgreSQL on Ubuntu 16.04
How to install and configure AppScale on Ubuntu 12.04
How to enable Mysql remote access under Ubuntu 14.04
How to install gcc compiler faster under Ubuntu
How to install and use Docker on Ubuntu 16.04
How to install and configure PostGIS on Ubuntu 14.04
How to backup and restore Redis data on Ubuntu 14.04
How to create and use MongoDB backups on Ubuntu 14.04
How to upgrade to Ubuntu 20.04
How to install and use MySQL Workbench on Ubuntu 18.04
How to modify time zone and time in ubuntu system
How to install two versions of OpenCV under ubuntu?
How to install theano and keras on ubuntu system
How to upgrade to Ubuntu 20.04
How to open https on nginx server under Ubuntu
How to set up Java Home on Ubuntu and Raspbian
How to install memcache and start it in ubuntu environment
How to compile and install PHP and Nginx in Ubuntu environment
Use expect to realize screen multi-window boot operation under ubuntu
How to install JDK and Mysql on Ubuntu 18.04 linux system
How to map shared disk to window in linux under Ubuntu
How to upgrade to Ubuntu 16.04 LTS
​Ubuntu Class|What is a key ring and how to use it?
How to extend the root directory of LVM under Ubuntu system
How to install Helm in Ubuntu