Remember a virtual machine shared folders Pit tour

1, download the official VMware, install ~~

2, look for a linux image, creating a virtual machine ~ ~

3, into the system, install gcc error could not retrieve mirrorlist ......   

 解决:sudo vim /etc/sysconfig/network-scripts/ifcfg-ens33 

    The ONBOOT changed to yes, wq! To save and exit

      Restart the network service network restart

4, the virtual machine settings -> Options -> Shared Folders -> open and add a shared folder

5, looks like everything is going well, then there is no hgfs view mnt directory folder, check meal reason, then that is a mining pit

6, reinstall the vmware tools solutions   

     tab bar Virtual Machine -> reinstall VMware Tools

       Tip: Make sure you are logged in the client operating system. Loading the virtual CD drive in the client, terminal, using tar extract the setup program, and then perform the installation vmware Tools vmware-install.pl  

    Solution: 1 off the virtual machine, open the Settings -> Hardware -> CD / DVD using the ISO image file and then select VMware Workstation image below linux.iso    

       2 Turn on the virtual machine mount directory mount / dev / cdrom / mnt 

       3 cp /mnt/VMwareTools-xxxxxx.tar.gz /home

       4 umount /mnt

                       5 cd /home

       6 tar -zxvf VMwareTools-xxxxxx.tar.gz

       7 into the vmware-tools-distrib directory executable file ./vmware-install.pl

       Enter all the way until after 8 Enter the path to the kernel header files for the ..... also been said to be hard on finishing up

       9 uname -r Display system version

       10 rpm -qa | grep kernel first check the kernel version already exists

          11 sudo yum remove kernel-xxxxx offloaded to a different version of

        Installing System version 12 matches

        sudo yum remove kernel-xxxxxx
        yum install kernel-devel-xxxxxx
        yum install kernel-headers-xxxxxx

         13 re-run a successful installation ./vmware-install.pl 

         14 Restart the system / mnt / hgfs folder should already exist

         15 vmware-hgfsclient view mount the file name

         16  mount  -t vmhgfs .host:/xxxx /mnt/hgfs    

       17 View mnt / down / hgfs still no shared folders 

          18 execution vmhgfs-fuse .host: / / mnt / hgfs finally appeared ~ ~ ~ ~

 

Guess you like

Origin www.cnblogs.com/Blogyy/p/11582729.html