Ubuntu10.10 install VMware Tools

Source: Internet
Author: User
From: http://blog.csdn.net/yzhuqing/article/details/59623121. Install Virtual Machine

1.1 log on to VMware through VMWare Infrastructure Web Access

 

1.2 select virtual machines-> create virtual machine.

1.2.1 give the virtual machine a name and select the Virtual Machine file storage location

1.2.2 next select LINUX operation system

1.2.3 allocate the memory used by the VM. I allocate 1.5 GB

1.2.4 configure the Virtual Machine disk size and storage path. I allocated a 30 GB physical hard disk.

1.2.5 next step. For details, refer to here.

 

1.3 unbuntu10.10 installation. For details, see the Ubuntu 10.10 netbook installation diagram.

Here you just need to talk about "allocating disk space ":

It is recommended to allocate about 3 GB swap space, and then assign MB dedicated Mount/boot

 

2. Install VMware Tool

By installing VMWare, you can change the display size of the virtual machine or copy strings from the virtual machine and share shared directories with each other ......

 

2.1 log on to VMware through VMWare Infrastructure Web Access

2.2 click Install VMware Tools on the VM and return to the VM (UBUNTU) desktop to view the CDROM icon of VMware Tools.

2.3 open the folder and copy "“vmwarw.ls...tar.gz" to/home/{user}. decompress the folder vmwarw.ls ....

2.4 check whether the. pl file under vmwaretools has the execution permission. If not, add

2.5 sudo./vmware-install.pl

2.6 enter yes until you see --- the VMware team can close the window and restart

You can also refer to here

 

 

Ubuntu 10.10 has several problems during installation:

 

 

Console code
  1. What is the location of the directory of C header files that match your running
  2. Kernel? [/Usr/src/Linux/include] <press enter directly>
  3. The path "/usr/src/Linux/include" is not an existing Directory.

 

Since the kernel version is the latest version captured by APT, you need to enter "/usr/src/linux-headers-2.6.35-22-generic/include"

Note that when installing VMware Tools, you will be asked about the kernel header currently used by the system. Therefore, if there are multiple kernel header directories under/usr/src, it is best to run the "uname-R" command first to confirm which version should be used. In addition, you can not directly use "/usr/src/linux-headers-2.6.35-22-generic/include", first "sudo ln-S/usr/src/Linux/usr/src/linux-headers-2.6.35-22-generic/include"

 

 

Console code
  1. What is the location of the directory of C header files that match your running
  2. Kernel? [/Usr/src/Linux/include]/usr/src/linux-headers-2.6. 35-22-generic/include

 

After press enter, an error is returned. The specified kernel headers does not match the version used by the current system.

 

 

Console code
  1. The Directory of kernel headers (version @ VMware @ uts_release) does not match
  2. Your running kernel (version 2.6. 35-22-generic). Even if the module were
  3. Compile successfully, it wocould not load into the running kernel.

 

But the fact is not mismatched, but the uts_release variable in the kernel does not exist. Previously this definition was put in/usr/src/linux-headers-2.6.35-22-generic/include/Linux/version. H, and now it has moved to/usr/src/linux-headers-2.6.35-22-generic/include/Linux/utsrelease. h. Therefore, in a simple method, you only need to add # define uts_release "2.6.35-22-generic" to version. h"
(Use "uname-R" to view the specific value)

 

Next, a new error message will appear !! -_-| Autoconf. h cannot be found because Autoconf. H is no longer in the addressing directory preset by the VMware Tools installer.

 

 

Console code
  1. The path "/usr/src/linux-headers-2.6.35-22-generic/include" is a kernel header
  2. File directory, but it does not contain the file "Linux/Autoconf. H"
  3. Expected. This can happen if the kernel has never been built, or if you have
  4. Invoked the "make mrproper" command in your kernel directory. In any case, you
  5. May want to rebuild your kernel.

 

You can simply link it:

 

 

CD/usr/src/linux-headers-2.6.35-22-generic/include/Linux

Sudo ln-S ../generated/Autoconf. H ./

 

The installation should be completed successfully.

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.