来源: http://www.vmware.com/community/message ... eID=589793
Ubuntu provides now also vmware kernel modulus via the apt repository. See the installation procedure below
Originally Posted by marceloshima
VMware Server Howto (Feisty)
If you already have VMware Server installed and want it to use the Feisty modules you can jump to Step 3
Step 1 (Installing the modules from repository)
$ sudo apt-get install vmware-server-kernel-modules
Step 2 (Installing VMware Server)
$ tar -xzf VMware-server-1.0.1-29996.tar.gz
$ cd vmware-server-distrib/
$ ./vmware-install.pl
Step 3 (Make VMware Server Daemon work with Feisty modules)
$ sudo sed -i -e "s/\/sbin\/insmod -s -f \"\/lib\/modules\/\`uname -r\`\/misc\/\$1.o\"/modprobe -s -f \$1/" /etc/init.d/vmware
Step 4 (Make the configure script ignore the configure of a new module)
$ sudo sed -i -e "s/sub configure_module {/sub configure_module {\n return 'yes';/" /usr/bin/vmware-config.pl
Step 5 (Reconfigure)
$ sudo vmware-config.pl
Step 6(Restarting the application)
$ sudo /etc/init.d/vmware restart
在7.04上安装vmware server指南
- oneleaf
- 论坛管理员
- 帖子: 10455
- 注册时间: 2005-03-27 0:06
- 系统: Ubuntu 12.04
- oneleaf
- 论坛管理员
- 帖子: 10455
- 注册时间: 2005-03-27 0:06
- 系统: Ubuntu 12.04
-
- 帖子: 22
- 注册时间: 2007-05-10 12:59
-
- 帖子: 118
- 注册时间: 2007-05-23 20:22
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.20-15-generic/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make -C /lib/modules/2.6.20-15-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PW
D/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config1/vmmon-only/linux/driver.c:80:
/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: error: expected dec laration specifiers or '...' before 'compat_exit'
/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: error: expected dec laration specifiers or '...' before 'exit_code'
/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: warning: type defau lts to 'int' in declaration of '_syscall1'
make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference ... linux.html".
Execution aborted.
root@shell-desktop:/media/sda3/vmware-server-distrib#
kernel? [/lib/modules/2.6.20-15-generic/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make -C /lib/modules/2.6.20-15-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PW
D/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config1/vmmon-only/linux/driver.c:80:
/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: error: expected dec laration specifiers or '...' before 'compat_exit'
/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: error: expected dec laration specifiers or '...' before 'exit_code'
/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: warning: type defau lts to 'int' in declaration of '_syscall1'
make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference ... linux.html".
Execution aborted.
root@shell-desktop:/media/sda3/vmware-server-distrib#