Install VMware6.5 and Linux5

Source: Internet
Author: User
Article Title: Install VMware6.5 and Linux5. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

I have never played with VMware Linux for a long time due to my work relationship. Today I am bored and re-operate the old business. I have installed a system and I don't feel much about it. I just think the version is higher, I have never touched on many new functions. It seems that I am lagging behind. I have been registering a blog for a long time and have never posted anything. I can use it to write my own experience and fill it out!
First, check that you are logged on locally. During SSH installation, a non-local login is prompted, and the operation is interrupted.

Perform the following installation first; otherwise, an error occurs during the installation:
What is the location of the directory of C header files that match your running kernel? [/Usr/src/linux/include] The directory of kernel headers (version 2.6.18-8. el5xen) does not match.

I found a lot of related content online, some people said that the rpm package to be installed is kernel-devel, after testing, after installing the kernel-devel-2.6.18-8.el5.i686.rpm package still cannot automatically find the directory of C header files, if you manually change the directory to:/usr/src/kernels/2.6.18-8. e15-i686/include with errors:
The directory of kernel headers (version 2.6.18-8. el5) does not match your running kernel (version 2.6.18-8. el5xen ). even if the module were tocompile successfully, it wocould not load into the running kernel.

Solution:
[Root @ localhost ~] # Uname-r // view the kernel version
Version 2.6.18-8. el5xen // the linux kernel version I have installed
I installed the system with a CD image and found the kernel-xen-devel-2.6.18-8.el5.i686.rpm package on the first disk for installation.
[Root @ localhost ~] # Rpm-ivh kernel-xen-devel-2.6.18-8.el5.i686.rpm

Install Vmwar Tools
Choose VM --> install VMware Tools
[Root @ localhost ~] # Mkdir/mnt/cdrom
[Root @ localhost ~] # Mount/dev/cdrom/mnt/cdrom/
[Root @ localhost ~] # Cd/mnt/cdrom/
[Root @ localhost cdrom] # After ls
VMwareTools-6.5.0-118166.i386.rpm
VMwareTools-6.5.0-118166.tar.gz

Select the second Installation
[Root @ localhost cdrom] # cp VMwareTools-6.5.0-118166.tar.gz/tmp // copy to/tmp
[Root @ localhost cdrom] # cd/tmp/
[Root @ localhost tmp] # tar zxvf VMwareTools-6.5.0-118166.tar.gz // unpack the file
[Root @ localhost tmp] # cd vmware-tools-distrib/
[Root @ localhost vmware-tools-distrib] #./vmware-install.pl // start Installation

Press enter all the way, OK!
Go to/etc/X11/and check that xorg. conf is automatically configured.
Reboot OK!

 

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.