fedora安装VMware全过程
2011-03-15 18:46
309 查看
首先是安装必要的软件
[root@netyang ~]# yum -y install gcc gcc-c++ kernel-devel
然后更新kernel
[root@netyang ~]# yum -y update kernel
检查一下
[root@netyang `]# rpm -qa | grep kernel
kernel-2.6.15-1.2054_FC5
kernel-2.6.16-1.2080_FC5
kernel-devel-2.6.16-1.2080_FC5
下载VMware-any-any-update*(99-101)都可以。VMware-workstation-5.5.1-19175.tar.gz
全部放入/tmp中备用
[root@netyang tmp] tar zxvf
VMware-workstation-5.5.1-19175.tar.gz
[root@netyang tmp]#cd vmware-distrib
[root@netyang vmware-distrib]# ls
bin doc etc FILES installer lib man vmware-install.pl
[root@netyang vmware-distrib]# ./vmware-install.pl
Creating a new installer database using the tar3 format.
(中间的一段省略.......)
Trying to find a suitable vmmon module for your running
kernel.
None of the pre-built vmmon modules for VMware Workstation is
suitable for your
running kernel. Do you want this program to try to build the vmmon
module for
your system (you need to have a C compiler installed on your
system)?
Using compiler "/usr/bin/gcc". Use environment variable CC to
override.
What is the location of the directory of C header files that match
your running
kernel? [/usr/src/linux/include]
The path "/usr/src/linux/include" is not an existing
directory.
What is the location of the directory of C header files that match
your running
kernel? [/usr/src/linux/include]
(我想大多数的人都卡在了这一步上来了。哈哈,我也是,被玩了三四天了。其实解决的方法非常简单)
[root@netyang vmware-distrib]#reboot
重启后看启动的选择菜单多出了一项
Fedora Core (2.6.16-1.2080_FC5)
Fedora Core 5 (2.6.15-1.2054_FC5)
选后面是2.6.16j-1.2080_FC5)那一项
[root@netyang ~]#cd /tmp
[root@netyang ~]#tar zxvf vmware-any-any-update101.tar.gz
[root@netyang ~]#cd vmware-any-any-update101
[root@netyang vmware-any-any-update101]# ./runme.pl
Updating /usr/bin/vmware-config.pl ... already patched
Updating /usr/bin/vmware ... No patch needed/available
Updating /usr/bin/vmnet-bridge ... No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx ... No patch
needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch
needed/available
VMware modules in "/usr/lib/vmware/modules/source" has been
updated.
(中间一段省略........)
None of the pre-built vmmon modules for VMware Workstation is
suitable for your
running kernel. Do you want this program to try to build the vmmon
module for
your system (you need to have a C compiler installed on your
system)?
Using compiler "/usr/bin/gcc". Use environment variable CC to
override.
What is the location of the directory of C header files that match
your running
kernel? [/lib/modules/2.6.16-1.2080_FC5/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Building for VMware Workstation 5.5.x.
Using 2.6.x kernel build system.
哈哈,通过完成。其他的都选默认就可以了。
序列号-已验证可用了
DA925-HP80U-Z8HDC-4WXXP
3KW2W-AYR2C-88M6F-4MDQ2
(http://www.fanqiang.com)
1)安装vmware
2)查询内核版本
[root@localhost vmware]# uname -a
2.6.16-1.2111_FC5 i686 i686 i386 GNU/Linux
3)去http://ftp.kddilabs.jp/....pdates/5/i386/
下载内核开发包
kernel-devel-2.6.16-1.2111_FC5.i686.rpm
4)安装内核开发包
# rpm -ivh kernel-devel-2.6.16-1.2111_FC5.i686.rpm
之后则产生目录 /usr/src/kernels/2.6.16-1.2111_FC5-i686/
5)下载vmware-any-any-update101.tar.gz
解包后运行./runme.pl
(
否则出现下面错误
What is the location of the directory of C header files that match
your running kernel? [/usr/src/linux/include]
/usr/src/kernels/2.6.17-1.2139_FC5-smp-i686/include
The kernel defined by this directory of header files does not have
the same address space size as your running kernel
)
然后一路回车或自行配置.......... [OK]
在windows下面安装vmware是个傻瓜动作,但是在linux下安装vmware还是有些小的tricky的。所以才有了这点笔记,免得以后忘了。连装个软件都这么麻烦,可见linux在易用性上的确还有很多路要走。
1、 执行过程中会使用当前内核头文件。而在FC5中默认是没有安装内核文件的。使用uname
-r取得内核版本号是2.6.15-1.2054_FC5。然后到网上去下载相应的内核头文件。一般可以到FC5的镜像站点去下载kernel-
devel-2.6.15-1.2054_FC5.i686.rpm。
一个比较快的站点是http://mirror.eas.muohio.edu/fedora...os/Fedora/RPMS/
。
2、解压vmware,进入vmware的源码目录,应该是vmware-distrib。
执行vmware-install.pl。
3、执行过程中遇到需要内核头文件的时候就指定其所在的位置。
4、但是还会遇到地址空间的问题,这是就需要使用补丁了。
下载补丁vmware-any-any-update101,解压进入其目录后,执行runme.pl。
后面应该就可以大功告成了。
[root@netyang ~]# yum -y install gcc gcc-c++ kernel-devel
然后更新kernel
[root@netyang ~]# yum -y update kernel
检查一下
[root@netyang `]# rpm -qa | grep kernel
kernel-2.6.15-1.2054_FC5
kernel-2.6.16-1.2080_FC5
kernel-devel-2.6.16-1.2080_FC5
下载VMware-any-any-update*(99-101)都可以。VMware-workstation-5.5.1-19175.tar.gz
全部放入/tmp中备用
[root@netyang tmp] tar zxvf
VMware-workstation-5.5.1-19175.tar.gz
[root@netyang tmp]#cd vmware-distrib
[root@netyang vmware-distrib]# ls
bin doc etc FILES installer lib man vmware-install.pl
[root@netyang vmware-distrib]# ./vmware-install.pl
Creating a new installer database using the tar3 format.
(中间的一段省略.......)
Trying to find a suitable vmmon module for your running
kernel.
None of the pre-built vmmon modules for VMware Workstation is
suitable for your
running kernel. Do you want this program to try to build the vmmon
module for
your system (you need to have a C compiler installed on your
system)?
Using compiler "/usr/bin/gcc". Use environment variable CC to
override.
What is the location of the directory of C header files that match
your running
kernel? [/usr/src/linux/include]
The path "/usr/src/linux/include" is not an existing
directory.
What is the location of the directory of C header files that match
your running
kernel? [/usr/src/linux/include]
(我想大多数的人都卡在了这一步上来了。哈哈,我也是,被玩了三四天了。其实解决的方法非常简单)
[root@netyang vmware-distrib]#reboot
重启后看启动的选择菜单多出了一项
Fedora Core (2.6.16-1.2080_FC5)
Fedora Core 5 (2.6.15-1.2054_FC5)
选后面是2.6.16j-1.2080_FC5)那一项
[root@netyang ~]#cd /tmp
[root@netyang ~]#tar zxvf vmware-any-any-update101.tar.gz
[root@netyang ~]#cd vmware-any-any-update101
[root@netyang vmware-any-any-update101]# ./runme.pl
Updating /usr/bin/vmware-config.pl ... already patched
Updating /usr/bin/vmware ... No patch needed/available
Updating /usr/bin/vmnet-bridge ... No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx ... No patch
needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch
needed/available
VMware modules in "/usr/lib/vmware/modules/source" has been
updated.
(中间一段省略........)
None of the pre-built vmmon modules for VMware Workstation is
suitable for your
running kernel. Do you want this program to try to build the vmmon
module for
your system (you need to have a C compiler installed on your
system)?
Using compiler "/usr/bin/gcc". Use environment variable CC to
override.
What is the location of the directory of C header files that match
your running
kernel? [/lib/modules/2.6.16-1.2080_FC5/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Building for VMware Workstation 5.5.x.
Using 2.6.x kernel build system.
哈哈,通过完成。其他的都选默认就可以了。
序列号-已验证可用了
DA925-HP80U-Z8HDC-4WXXP
3KW2W-AYR2C-88M6F-4MDQ2
(http://www.fanqiang.com)
1)安装vmware
2)查询内核版本
[root@localhost vmware]# uname -a
2.6.16-1.2111_FC5 i686 i686 i386 GNU/Linux
3)去http://ftp.kddilabs.jp/....pdates/5/i386/
下载内核开发包
kernel-devel-2.6.16-1.2111_FC5.i686.rpm
4)安装内核开发包
# rpm -ivh kernel-devel-2.6.16-1.2111_FC5.i686.rpm
之后则产生目录 /usr/src/kernels/2.6.16-1.2111_FC5-i686/
5)下载vmware-any-any-update101.tar.gz
解包后运行./runme.pl
(
否则出现下面错误
What is the location of the directory of C header files that match
your running kernel? [/usr/src/linux/include]
/usr/src/kernels/2.6.17-1.2139_FC5-smp-i686/include
The kernel defined by this directory of header files does not have
the same address space size as your running kernel
)
然后一路回车或自行配置.......... [OK]
在windows下面安装vmware是个傻瓜动作,但是在linux下安装vmware还是有些小的tricky的。所以才有了这点笔记,免得以后忘了。连装个软件都这么麻烦,可见linux在易用性上的确还有很多路要走。
1、 执行过程中会使用当前内核头文件。而在FC5中默认是没有安装内核文件的。使用uname
-r取得内核版本号是2.6.15-1.2054_FC5。然后到网上去下载相应的内核头文件。一般可以到FC5的镜像站点去下载kernel-
devel-2.6.15-1.2054_FC5.i686.rpm。
一个比较快的站点是http://mirror.eas.muohio.edu/fedora...os/Fedora/RPMS/
。
2、解压vmware,进入vmware的源码目录,应该是vmware-distrib。
执行vmware-install.pl。
3、执行过程中遇到需要内核头文件的时候就指定其所在的位置。
4、但是还会遇到地址空间的问题,这是就需要使用补丁了。
下载补丁vmware-any-any-update101,解压进入其目录后,执行runme.pl。
后面应该就可以大功告成了。
相关文章推荐
- VMware6.5安装Fedora14 安装 VMware Tools 头文件不匹配的处理过程
- Fedora 6 在VMware中的vmware-tools安装过程
- 虚拟机VMware安装Fedora15/ubuntu 11,要想使用gnome3/unity 要怎么办呢?
- CentOS6.7版本虚拟化系统VMware安装过程!!
- vmware下面fedora 14安装vm tools总结
- libpcap丢包原理分析及Fedora 9 内核2.6.25.14下安装PF-RING的详细过程
- 在VMware中安装Fedora 10
- VMware安装linux过程
- VMware Ubuntu安装详细过程
- Fedora14 源码安装qt4.7.0 PC版 和 arm版 过程 及问题解决(之三,续上)
- 通过VMware 在windowXP上安装Fedora15
- [置顶] VMware Ubuntu安装详细过程(上)
- VMware6.0上安装Fedora7
- 在Fedora8上安装MySQL5.0.45的过程
- [转载]Solaris9在VMware下的安装过程
- fedora安装vmware时kernel header不匹配问题
- Hadoop 1.1.2分布式安装过程 (vmware10+centeros5.4 64位+hadoop1.1.2+ securecrt)
- 【原创】用VMware 8安装Ubuntu 12.04详细过程(图解)
- 基于Fedora9.0和VMware6.5在Linux下的安装
- libpcap丢包原理分析及Fedora 9 内核2.6.25.14下安装PF-RING的详细过程