Virtual machine installation and configuration ubuntu shared folder_

          Copyright notice: Copyright © https://blog.csdn.net/zzw19951261/article/details/80252731

Virtual machine installation and configuration ubuntu shared folder#

There are various related configuration instructions on the Internet, but none of them are complete. Here the host combines actual combat and pro-test, this set contains various situations

  1. Install VMware tools

  2. Unzip to any folder tar -xzvf VMwareTools****.tar.gz

  3. Get the vmware-tools-distrib folder

  4. Run ./vmware-install.pl in the directory and enter all the way

  5. Run ./vmware-config-tools.pl in the vmware-tools-distrib/bin directory

At this time, the mnt/hgfs directory will appear
If there is no shared window folder, continue

  1. vmware-hgfsclient command to view the current shared directories

  2. mount -t vmhgfs .host:/Linux_Source /mnt/hgfs
    (. host:/Linux_Source is the share name, /mnt/hgfs is the mount point)

If it shows Error: cannot mount filesystem: No such device
ubuntu executes first
sudo apt-get install open-vm-dkms
Then go to step 7

But every time the machine is restarted, it needs to be mounted again, so it needs to be set to automatically mount after the system starts.
Edit /etc/fstab and add the following line

. host:/shared /mnt/hgfs vmhgfs defaults 0 0

It is best to add sudo mount -a after configuration

Recommended Posts

Virtual machine installation and configuration ubuntu shared folder_
Ubuntu16.04 installation and simple configuration
Ubuntu PostgreSQL installation and configuration
Virtual machine Linux Ubuntu installation tutorial
Ubuntu 19.1 installation and configuration Chinese environment
Configuration and beautification after Ubuntu installation (1)
Nginx installation and configuration load (ubuntu12.04)
Ubuntu configuration source and installation software
DLNA/UPnP Server installation and configuration under Ubuntu 12.04
Debian and Ubuntu installation source configuration file description
OpenMPI-Ubuntu installation and configuration
Ubuntu introduction and installation
Use Ubuntu and windows system in virtual machine
Kaldi installation and configuration graphic tutorials under Ubuntu
Basic configuration and common software installation after ubuntu 18.04 installation
Installation, configuration and uninstallation of GitLab in Ubuntu19.1
Ubuntu16.04 mirror complete installation and configuration tutorial under VMware
Install Ubuntu on VMware virtual machine and install using UltraISO
Ubuntu12 step-by-step installation and configuration (system, FTP, TELNET.. settings)
Common exceptions and solutions for Ubuntu system installation and configuration
Install ubuntu on virtual machine
Centos mysql installation and configuration
Centos7 installation and configuration prometheus
CentOS 7 installation and configuration PPTP
CentOS installation and configuration cmake
Centos7.5 installation and configuration MongoDB4.0.4
CentOS 7 installation and configuration PPTP
Virtual machine VirtualBox-5.1 install ubuntu16.0.1
CentOS 6.8 virtual machine installation details
Ubuntu16.04 install SVN and configuration
Xshell and Xftp fail to connect to the virtual machine Ubuntu
Centos7 installation and configuration of Jenkins
Ubuntu environment variables and ADB configuration
Centos7 hadoop cluster installation and configuration
Ubuntu 14.04 uses windows 8.1 shared folder (return)
CentOS7.2 and Nginx configuration virtual host
Ubuntu16.04 configuration OpenCV3.4.2 and basic use
Redis installation under ubuntu and windows
Java-JDK installation and configuration under CentOS
CentOS 7 Tomcat service installation and configuration
CentOS NTP server installation and configuration
Ubuntu18.04 installation Anaconda3 and VSCode guide
Centos7 mysql database installation and configuration
Detailed explanation of quick installation and configuration of Subversion (SVN) under Ubuntu
CentOS 7 system installation and configuration graphic tutorial
ubuntu Docker installation and deployment of Rancher
Ubuntu installation and deployment Redash operation notes (2020.08)
Tomcat installation and configuration under CentOS 7 (Tomcat startup)
MySQL 8.0 installation, deployment and configuration under CentOS 6/7
Ubuntu18.04 system installation and prerequisite software installation guide
Installation and configuration of redis under centos7
Installation and uninstallation of CUDA under Ubuntu 16.04
Ubuntu18.04 Server version installation and use (graphic)
Installation and deployment of Nginx in Ubuntu
Installation and use of Win10 subsystem Ubuntu
Install Ubuntu 18.04 in the virtual machine VMware
Ubuntu install PHP and PHP Nginx configuration method
Centos7 hive stand-alone mode installation and configuration
Ubuntu 14.04 16.04 Linux nvidia driver download and installation
Vagrant quickly builds Ubuntu virtual machine environment
Install R package on UBUNTU virtual machine