Following is the steps of I install vmware-server on centos5-x86-64
1.install centos5-x86-64 linux text
2.my kernel is:
$uname -mrs
Linux 2.6.18-8.el5xen x86_64
3.update my kernel:
$yum upgrade kernel
after update finished,you need to modify the file: /boot/grub/grub.conf
$vi /boot/grub/grub.conf
and the file's content as following:
**************************************************************************************
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title CentOS (2.6.18-8.1.8.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-8.1.8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-8.1.8.el5.img
title CentOS (2.6.18-8.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-8.el5
module /vmlinuz-2.6.18-8.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
module /initrd-2.6.18-8.el5xen.img
title CentOS-base (2.6.18-8.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-8.el5.img
****************************************************************************************
comment out the line as follow:
#hiddenmenu
and change:
default=1
to :
default=0
$reboot
4.install the software needed
$yum install kernel-devel
...............
..............
$yum install xinetd
...................
..................
$yum install gcc
...................
..................
5.download VMware-server-1.0.3-44356.i386.rpm and install
$rpm -Uvh VMware-server-1.0.3-44256.i386.rpm
...................................
...................................
$vmware-config.pl
when install processing to the finding GCC,the error happened,saying can't find out the GCC derectory.(but I have really installed the GCC just now!)
I reboot the system,when it view the grub,I select "CentOS (2.6.18-8.el5xen)",when get in the system.I install the GCC again($yum install gcc),then reboot the system,when get to the grub,select the "CentOS (2.6.18-8.1.8.el5)".then try $vmware-config.pl ,and it install seccessfull.
NOTE:all of the options I remain the default.
network configure file's derectory:
/etc/sysconfigure/networking/profiles/default
[url]http://www.cyberciti.biz/tips/vmware-on-centos5-rhel5-64-bit-version.html[/url
[url]http://www.linuxdiyf.com/viewarticle.php?id=31576[/url]
本文出自 “doff” 博客,谢绝转载!