VMware installation VMware Tools Step and problem solving method

Source: Internet
Author: User

From: Http://blog.csdn.net/shanzhizi

In order to see shared Folders under Windows in the Ubuntu system in VMware, you must install the VMware Tools tool.

The first method (applicable to the general situation):

1. Install the compilation environment:

Open "Terminal",

Input:

Uname-r (carriage return)

You will see your Ubuntu kernel version (which is used by the following command) and enter:

sudo apt-get install build-essential linux-headers-kernel version

The next operation is relatively simple, in addition to waiting or so ...

You can proceed to the next step when the terminal returns to the state that you can enter.

2. Using the mouse to click on the VMware menu bar "virtual machine"-> "Install VMware Tools ..." (the corresponding English version is "VM"-> "Install VMware Tools ..."), you will see a CD is loaded, a virtual CD-ROM will appear on the desktop, Open it.

3. Select the suffix named ". tar.gz" file, copy to your desktop (you can copy and paste the left mouse button), point right decompression (or copy it to your own directory, and then use TAR-VZXF xxx.tar.gz decompression). Unzip into a directory Vmware-tools-distrib

4. Enter in the terminal:

CD ~/Desktop/vmware-tools-distrib (the corresponding English version should be entered: CD ~/desktop/vmware-tools-distrib)

If you do not lose the Chinese character "desktop" in the terminal, then you find the "desktop" folder outside the terminal, right-click on the attribute, and then copy the filename "desktop", and then paste in the terminal OK.

5. Continue to enter in the terminal:

sudo./vmware-install.pl

Next is the mechanical operation, there is a problem prompted to enter, until the end will let you select the screen resolution (as if by the number of keys selected), according to the size of your computer screen and your preferences choose it.

6. Final step: Ubuntu reboot.

Problems that you may encounter:

(1) Unable to find the C header files problem solving

Sudo-s

cd/lib/modules/$ (uname-r)/build/include/linux

Ln-s.. /generated/utsrelease.h

Ln-s.. /generated/autoconf.h

Then reinstall VMware Tools.

(2) Use Vmhgfs to mount when prompted Error:cannot mount Filesystem:no such device, and/MNT/HGFS can not see the add to Vm->setting->option-> Folders under Shared folders

Workaround: First execute sudo apt-get install open-vm-dkms, prompting for some configuration first y, in N, N, n ... Down, and then execute sudo mount-t vmhgfs. host://mnt/hgfs, which can be shown under/MNT


The second method (for situations where the ". tar.gz" file cannot be found or the "VMware Tools" cannot be mounted):

1. Install the compilation environment:

With the mouse point in the upper left corner of the "application" → "attachment" → "terminal",

Input:

Uname-r (carriage return)

You will see your Ubuntu kernel version (which is used by the following command) and enter:

sudo apt-get install build-essential linux-headers-kernel version

The next operation is relatively simple, in addition to waiting or so ...

You can proceed to the next step when the terminal returns to the state that you can enter.

2. Turn off the virtual machine's Ubuntu system.

3. In order to avoid the different Chinese and English problems, I use the method of comparison dish to introduce:

Click the Fourth menu from left to right in the Virtual Machine menu bar with the mouse. Select the last item in the pop-up Drop-down menu, and then in the pop-up dialog box (two pages above, remember to point out the first page), check the "CD-ROM (...)" and hook up both items under "Device Status" on the right. In "Connection" Select the second "Use ISO image", the "Browse" behind the point to find your "Linux.iso" file (the general English version of VM virtual machine, if not, go to download it.) Also, if it's a compact VM virtual machine, don't bother.

4. Start the virtual machine Ubuntu system, login, you will see the desktop has a virtual optical drive, open it.

5. Select the suffix named ". tar.gz" file, copy to your desktop, point right key decompression.

6. Enter in the terminal:

CD ~/Desktop/vmware-tools-distrib (the corresponding English version should be entered: CD ~/desktop/vmware-tools-distrib)

If you are in the terminal will not lose Chinese characters "desktop", then you find the "desktop" outside the terminal folder, right-click the attribute, and then copy the filename "desktop", and then paste in the terminal OK.

7. Continue to enter:

sudo./vmware-install.pl

The next is the mechanical operation, there are problems prompted to enter, do not think more, for you to save time, hey hei. Finally, you will choose the screen resolution (as if it were chosen by the number key), according to the size of your computer screen and your preferences.

8. Final step: Ubuntu reboot.

Http://blog.csdn.net/shanzhizi

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.