Virtual Machine VMware Tools for Linux green Lite version

Source: Internet
Author: User

We recommend a very good VMware Tools for Linux system with great learning value. Here I will mainly explain the application of VMware Tools for Linux, including introduction to VMware Tools for Linux. To enhance the display, mouse, and other effects of vmware. Install VMware Tools for Linux.

Blog is a basic evil step. However, the kernel version cannot be identified during the installation process. You need to modify the kernel definition in the header file. In the version. h file, add the # define UTS_RELEASE "2.6.27.5-117. fc10.i686" statement. Http://blog.sina.com.cn/s/blog_574d08530100f583.html

The basic process is: http://blog.csdn.net/liguisen/archive/2009/04/10/4063336.aspx.anyone who has used VMware knows that there is a VMware Tools for Linux that can enhance the performance of virtual machines. Many friends use VMware Tools, however, it is not easy to install VMware Tools for linux when the client is Linux ...... When the following problems occur. Take my Fedora9 as an example.

First of all, I am using the VMware Tools for Linux green Lite version, which only has over 20 M versions. This version may not have the iso file of VMware Tools for Linux, or there is only one windows version of iso, so our first step is to ensure there are VMware Tools for Linux, if you use VMware Tools for Linux not, you can download from here: http://www.xdowns.com/soft/6/99/2008/Soft_45322.html

Note: Let VMware support the linux system, including ubuntu, freebsd, and so on.] If it is 9 m, it is 9 m by default.] It supports multiple linux systems separately, I downloaded http://www.153.xdowns.com/uploadFile/2008-8/VMware_tools_linux.rar 9 M, but after decompression there are 116 M, is a linux. install VMware Tools for Linux under the iso file.

VMware Tools for Linux is selected from the menu of VMware Tools for Linux. Is there any response? Not that simple. First, use VMware to connect to linux. iso, and then mount it to make it easier for some friends who are new to contact me. I directly gave the command): mount/dev/cdrom/mnt in the terminal, then go to the vmware-tools-distrib directory of iso: cd/mnt/vmware-tools-distrib, where you should see a file vmware-install.pl, which can be seen with the ls command, then enter. /vmware-install.pl, if all the conditions are met, then a carriage return can end the installation, ignore the following steps. If you are using linux. iso is the one I downloaded, and your Fedora9 kernel version is 2.6.25-14. fc9.i686 can be seen using the uname-r command), then you will be prompted: None of the pre-built vmmemctl modules for VMware Tools is suitable for your running kernel. do you want this program to try to build the vmmemctl module for your system (you need to have a C compiler installed on your system )? [Yes]

We need a c compiler first. If you have already installed it, just press Enter. Otherwise, where can we find it? Gcc is available on the installation CD. If you do not know it, you can know that it is a tool that turns the source code into a program ), you can install gcc by installing the Fedora 9 package from the installation disc. Of course, you can also install gcc from the network.

Run the command again after installing gcc. /vmware-install.pl, now you think it is successful, the results encountered this problem: What is the location of the directory of C header files that match your running kernel? [/Usr/src/linux/include] at this time, you may find that the/usr/src folder in your system is empty. In this case, we need to install the development package that is compatible with the system kernel. You can use the following command to ensure that the related development package is not installed:

Rpm-q kernel-devel

If the package kernel-devel is not installed. If you use the uname-r command, you can see 2.6.25-14. fc9.i686, and your network is in good condition, then you can install: yum install kernel-devel-2.6.25-14.fc9.i686.rpm if you find that the download from the installation source cannot be installed, or the speed is too slow, you can download like this: assuming we log on with the root user, the current working directory is/root/Download, then [root @ localhost Download] wget ftp://rpmfind.net/linux/ fedora/releases/9/Everything/i386/OS/Packages/kernel-devel-2.6.25-14.fc9.i686.rpm

The rpm package will be downloaded to/root/Download. If you think the wget Download is still too slow, you can use related tools to Download the package. What? You only use thunder in windows? It doesn't matter. You can use thunder to download it, set up an ftp service in windows, and download the ftp service again when you access windows in linux. You can also send it to your mailbox, and then download the package in linux ...... You can do whatever you like. Put the file in/root/Download and install the file: rpm-I kernel-devel-2.6.25-14.fc9.i686.rpm installation is complete. You can use rpm-q kernel-devel to check if the installation is successful. Okay, everything starts again, re-Execute./vmware-install.pl, and then here it should be like this: What is the location of the directory of C header files that match your running kernel? [/Lib/modules/2.6.25-14. fc9.i686/build/include]

Now it's okay. the final result is: Unable to create the directory/mnt/hgfs. execution aborted. oh, it's necessary to use the/mnt/directory. I forgot to mount the iso file in the optical drive. It's read-only now. copy the content In iso to/root/Download, and then umount, or not. It's crazy: In file sorted ded from include/linux/string. h: 11, From/tmp/vmware-config3/vmhgfs-only/cpName. h: 18, from/tmp/vmware-config3/vmhgfs-only/cpName. c: 18: include/linux/types. h: 40: Error: conflict with 'intptr _ t' type/tmp/vmware-config3/vmhgfs-only/vm_basic_types.h: 170: Error: the previous declaration of 'uintptr _ t' in this make [2]: *** [/tmp/vmware-config3/vmhgfs-only/cpName. o] Error 1 make [1]: *** [_ module _/tmp/vmware-config3/vmhgfs-only] Error 2 make [1]: leaving directory '/usr/src/kernels/2.6.25-14. fc9.i686 'make: *** [vmhgfs. ko] Error 2 make: Leaving directory '/tmp/vmware-config3/vmhgfs-only' Unable to build the vmhgfs module.

The solution is to Download a new open-vm-tools, just give a link: http://jaist.dl.sourceforge.net/sourceforge/open-vm-tools/open-vm-tools-2008.06.03-96374.tar.gz suppose the downloaded file is put to/root/Download first to see if there is our file?
[Root @ localhost Download] # ls
Kernel-devel-2.6.25-14.fc9.i686.rpm open-vm-tools-2008.06.03-96374.tar.gz
Vmware-tools-distrib

Decompress the package and continue:
[Root @ localhost Download] # tar xzvf open-vm-tools-2008.06.03-96374.tar.gz
[Root @ localhost Download] # cd open-vm-tools-2008.06.03-96374
[Root @ localhost open-vm-tools-2008.06.03-96374] #./configure & make
[Root @ localhost open-vm-tools-2008.06.03-96374] # cd modules/linux
[Root @ localhost linux] # for I in *; do mv $ {I }$ {I}-only; tar-cf highlight ~ I }.tar $ {I}-only; done
[Root @ localhost linux] # cd ../../..
[Root @ localhost Download] # mv-f open-vm-tools-2008.06.03-96374/modules/linux/*. tar vmware-tools-distrib/lib/modules/source/
[Root @ localhost Download] # cd vmware-tools-distrib/
[Root @ localhost vmware-tools-distrib] #./vmware-install.pl

Press enter until the screen resolution is selected. Finally, make use of the virtual printer, you will need To restart the CUPS service Enjoy,

-- The VMware team

After the installation is complete, use system-config-display to set the settings. I personally think 1024*768 is very effective.

  1. Linux Kernel compilation and installation of RTAI
  2. Linux 2.6 kernel compilation and configuration installation and upgrade
  3. Upgrade the Linux system from Fedora 10 to Fedora 12
  4. Follow Xiaolong to learn Linux: Install QQ's Linux Client
  5. And Xiao Longxue Linux: Installing games in Linux

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.