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
- What is the location of the directory of C header files that match your running
- Kernel? [/Usr/src/Linux/include] <press enter directly>
- 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
- What is the location of the directory of C header files that match your running
- 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
- The Directory of kernel headers (version @ VMware @ uts_release) does not match
- Your running kernel (version 2.6. 35-22-generic). Even if the module were
- 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
- The path "/usr/src/linux-headers-2.6.35-22-generic/include" is a kernel header
- File directory, but it does not contain the file "Linux/Autoconf. H"
- Expected. This can happen if the kernel has never been built, or if you have
- Invoked the "make mrproper" command in your kernel directory. In any case, you
- 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.