Ubuntu下安装VMware-server-2.0.2

安装VMware-server-2.0.2-203138.i386.tar.gz时提示找不到内核的头文件
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.

网上搜索!很多都没什么用~
////后来找到http://blog.sina.com.cn/s/blog_6f9458fa0100nlc8.html文章里的一个链接http://communities.vmware.com/thread/266625?start=0&tstart=0

[root@builder vmware-server-distrib]# wget http://codebin.cotescu.com/vmware/vmware-server-2.0.x-kernel-2.6.3x-install.sh
–16:15:17–  http://codebin.cotescu.com/vmware/vmware-server-2.0.x-kernel-2.6.3x-install.sh
Resolving codebin.cotescu.com… 199.27.134.87, 199.27.135.87
Connecting to codebin.cotescu.com|199.27.134.87|:80… connected.
HTTP request sent, awaiting response… 301 Moved Permanently
Location:
http://github.com/raducotescu/vmware-server-linux-2.6.3x-kernel/tarball/master [following]
–16:15:18– 
http://github.com/raducotescu/vmware-server-linux-2.6.3x-kernel/tarball/master
Resolving github.com… 207.97.227.239
Connecting to github.com|207.97.227.239|:80… connected.
HTTP request sent, awaiting response… 301 Moved Permanently
Location:
https://github.com/raducotescu/vmware-server-linux-2.6.3x-kernel/tarball/master [following]
–16:15:19– 
https://github.com/raducotescu/vmware-server-linux-2.6.3x-kernel/tarball/master
Connecting to github.com|207.97.227.239|:443… connected.
ERROR: certificate common name `*.github.com’ doesn’t match requested host name `github.com’.
To connect to github.com insecurely, use `–no-check-certificate’.
Unable to establish SSL connection.

无法下载,添加–no-check-certificate下载成功
[root@builder vmware-server-distrib]# wget –no-check-certificate  http://codebin.cotescu.com/vmware/vmware-server-2.0.x-kernel-2.6.3x-install.sh

root@kinggoo-desktop:/opt# tar -zxvf raducotescu-vmware-server-linux-2.6.3x-kernel-release-1.5-1-g71f8b66.tar.gz
移动VMware-server的tar包到刚刚解压后的脚本文件夹
root@kinggoo-desktop:/opt# mv VMware-server-2.0.2-203138.i386.tar.gz raducotescu-vmware-server-linux-2.6.3x-kernel-71f8b66/
查看一下!
root@kinggoo-desktop:/opt/raducotescu-vmware-server-linux-2.6.3x-kernel-71f8b66# ll
总计 494244
drwxrwxr-x 2 root    root         4096 2011-04-28 16:52 ./
drwxr-xr-x 7 root    root         4096 2011-04-28 16:52 ../
-rw-rw-r– 1 root    root         1321 2010-11-15 05:24 LICENSE
-rw-rw-r– 1 root    root         1980 2010-11-15 05:24 README
-rwxrwxr-x 1 root    root          702 2010-11-15 05:24 start-VMware-console.sh*
-rw-rw-r– 1 root    root         1111 2010-11-15 05:24 vmware-config.patch
-rw-r–r– 1 kinggoo kinggoo 506047036 2011-04-25 01:49 VMware-server-2.0.2-203138.i386.tar.gz
-rw-rw-r– 1 root    root        13618 2010-11-15 05:24 vmware-server-2.0.2-203138-update.patch
-rwxrwxr-x 1 root    root        11095 2010-11-15 05:24 vmware-server-2.0.x-kernel-2.6.3x-install.sh*

然后
root@kinggoo-desktop:/opt/raducotescu-vmware-server-linux-2.6.3x-kernel-71f8b66# ./vmware-server-2.0.x-kernel-2.6.3x-install.sh
接下来几乎一路回车就可以!
都执行完后,可以通过
https://192.168.10.135:8333

http://192.168.10.135:8222
将IP换成自己的IP
1

注:

我在这步的时候报错!现在没空去看这个问题,但不影响VMware服务的运行及访问!!!很是奇怪
Using 2.6.x kernel build system.
make:进入目录’/tmp/vmware-config0/vsock-only’
make -C /lib/modules/2.6.35-28-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.35-28-generic’
  CC [M]  /tmp/vmware-config0/vsock-only/linux/af_vsock.o
/tmp/vmware-config0/vsock-only/linux/af_vsock.c:340: warning: initialization from incompatible pointer type
/tmp/vmware-config0/vsock-only/linux/af_vsock.c: In function ‘VSockVmciPoll’:
/tmp/vmware-config0/vsock-only/linux/af_vsock.c:3394: error: ‘struct sock’ has no member named ‘sk_sleep’
make[2]: *** [/tmp/vmware-config0/vsock-only/linux/af_vsock.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config0/vsock-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.35-28-generic’
make: *** [vsock.ko] 错误 2
make:离开目录“/tmp/vmware-config0/vsock-only”
Unable to build the vsock module.

 vm错误

- THE END -
版权声明:
转载原创文章请注明,文章出处://kinggoo.com
原文地址:https://kinggoo.com/sys-ubuntuinstallvmware-server.htm
发表评论?

5 条评论。

  1. whats your facebook profile?

回复给 1099 form ¬
取消回复


此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据