如何在Ubuntu 9.10桌面上安装VMware Server 1.0.x

如何在Ubuntu 9.10桌面上安装VMware Server 1.0.x

本教程提供了有关如何在Ubuntu 9.10桌面系统上安装VMware Server 1.0.x(在本文撰写时为1.0.10)的分步说明。 这适用于通过VMware Server 2使用VMware Server 1.0.x的用户。

使用VMware Server,您可以在主机操作系统下创建和运行客户机操作系统(“虚拟机”),如Linux,Windows,FreeBSD等。 这样可以在相同的硬件上运行多个操作系统,从而节省大量资金,您可以将虚拟机从一个VMware服务器移动到另一个(或者具有VMware Player的系统也是免费的) )。

另外,使用VMware Server 您可以在您的Ubuntu桌面下运行旧的Windows桌面(您以前使用VMware Converter将其转换为VMware虚拟机,如本教程所述http : //www.youcl.com/vmware_converter_windows_linux )。 如果您依赖某些仅适用于Windows的应用程序,或者您想要慢慢切换到Linux,这将非常有用。

我不会保证这将为您工作!

安装VMware Server 1.0.x

要下载VMware Server,请访问http://downloads.vmware.com/d/info/datacenter_downloads/vmware_server/1_0 ,然后单击VMware Server 1.0.10链接:

在下一页上,单击VMware Server for Linux旁边的“ 下载 ”按钮(文件类型: tar.gz ,而不是rpm!):

接受许可协议,点击

然后将VMware Server for Linux .tar.gz文件(而不是rpm文件!)下载到您的计算机(例如/ home / falko / Downloads)

要获取运行VMware Server所需的序列号,请访问http://register.vmware.com/content/registration.html 。 填写您的个​​人资料。 之后,您将获得一个带有VMware Server序列号的页面。 写下来或打印出来:

然后打开终端(应用程序>附件>终端 ):

运行以下命令来安装一些必要的软件包:

sudo aptitude install build-essential xinetd

如果您在x86_64系统上,还需要安装软件包ia32-libs

sudo aptitude install ia32-libs

然后转到您保存VMware Server .tar.gz文件的位置,例如/ home / falko / Downloads (用您自己的用户名替换falko ):

cd /home/falko/Downloads

解压缩VMware Server .tar.gz文件并运行安装程序:

tar xvfz VMware-server-*.tar.gz
cd vmware-server-distrib
sudo ./vmware-install.pl

安装程序会问你很多问题。 您只需按<ENTER>即可接受默认值。 回答下面的问题没有 ...

首次运行VMware Server之前,您需要配置它
调用以下命令:“/usr/bin/vmware-config.pl”。 你想要这个吗
程序现在为您调用命令? [是] < - 不

..因为你会收到一个这样的错误,否则当安装程序尝试编译VMware所需的内核模块(如果你回答是的 ,得到错误,这也没有问题 - 只是读)

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.31-14-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config0/vmmon-only/./include/vmware.h:25,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.c:48:
/tmp/vmware-config0/vmmon-only/./include/vm_basic_types.h:104:7: warning: "__FreeBSD__" is not defined
In file included from /tmp/vmware-config0/vmmon-only/./include/x86.h:20,
                 from /tmp/vmware-config0/vmmon-only/./include/machine.h:24,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.h:15,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.c:49:
/tmp/vmware-config0/vmmon-only/./include/x86apic.h:79:1: warning: "APIC_BASE_MSR" redefined
In file included from /usr/src/linux-headers-2.6.31-14-generic/arch/x86/include/asm/apic.h:11,
                 from /usr/src/linux-headers-2.6.31-14-generic/arch/x86/include/asm/smp.h:13,
                 from /usr/src/linux-headers-2.6.31-14-generic/arch/x86/include/asm/mmzone_64.h:12,
                 from /usr/src/linux-headers-2.6.31-14-generic/arch/x86/include/asm/mmzone.h:4,
                 from include/linux/mmzone.h:773,
                 from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.c:12:
/usr/src/linux-headers-2.6.31-14-generic/arch/x86/include/asm/apicdef.h:133:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config0/vmmon-only/./include/x86.h:21,
                 from /tmp/vmware-config0/vmmon-only/./include/machine.h:24,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.h:15,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.c:49:
/tmp/vmware-config0/vmmon-only/./include/x86desc.h:593:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config0/vmmon-only/./include/machine.h:24,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.h:15,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.c:49:
/tmp/vmware-config0/vmmon-only/./include/x86.h:830:1: warning: "PTE_PFN_MASK" redefined
In file included from /usr/src/linux-headers-2.6.31-14-generic/arch/x86/include/asm/paravirt.h:7,
                 from /usr/src/linux-headers-2.6.31-14-generic/arch/x86/include/asm/irqflags.h:61,
                 from include/linux/irqflags.h:57,
                 from /usr/src/linux-headers-2.6.31-14-generic/arch/x86/include/asm/system.h:11,
                 from /usr/src/linux-headers-2.6.31-14-generic/arch/x86/include/asm/processor.h:17,
                 from include/linux/prefetch.h:14,
                 from include/linux/list.h:6,
                 from include/linux/module.h:9,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.c:12:
/usr/src/linux-headers-2.6.31-14-generic/arch/x86/include/asm/pgtable_types.h:182:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config0/vmmon-only/./include/vcpuset.h:78,
                 from /tmp/vmware-config0/vmmon-only/./include/modulecall.h:22,
                 from /tmp/vmware-config0/vmmon-only/./common/vmx86.h:18,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.h:16,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.c:49:
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:226:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:230:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:298:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:304:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:357:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:402:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:446:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:489:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:533:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:576:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:620:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:663:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:665:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:705:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:748:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:750:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:790:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:831:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:833:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:871:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:912:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:914:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:952:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1073:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1077:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1124:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1329:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1454:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1587:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.h:20,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.c:49:
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.h:20,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.c:49:
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:60: error: conflicting types for â€˜poll_initwait’
include/linux/poll.h:70: note: previous declaration of â€˜poll_initwait’ was here
In file included from /tmp/vmware-config0/vmmon-only/./include/vm_asm_x86_64.h:23,
                 from /tmp/vmware-config0/vmmon-only/./include/vm_asm.h:28,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.c:52:
/tmp/vmware-config0/vmmon-only/./include/vm_asm_x86.h:430:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_asm_x86.h:676:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_asm_x86.h:716:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config0/vmmon-only/./include/vm_asm.h:28,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.c:52:
/tmp/vmware-config0/vmmon-only/./include/vm_asm_x86_64.h:40:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config0/vmmon-only/linux/vmhost.h:13,
                 from /tmp/vmware-config0/vmmon-only/linux/driver.c:71:
/tmp/vmware-config0/vmmon-only/./include/compat_semaphore.h:5:27: error: asm/semaphore.h: No such file or directory
/tmp/vmware-config0/vmmon-only/linux/driver.c:146: error: unknown field â€˜nopage’ specified in initializer
/tmp/vmware-config0/vmmon-only/linux/driver.c:147: warning: initialization from incompatible pointer type
/tmp/vmware-config0/vmmon-only/linux/driver.c:150: error: unknown field â€˜nopage’ specified in initializer
/tmp/vmware-config0/vmmon-only/linux/driver.c:151: warning: initialization from incompatible pointer type
/tmp/vmware-config0/vmmon-only/linux/driver.c: In function â€˜LinuxDriver_Ioctl’:
/tmp/vmware-config0/vmmon-only/linux/driver.c:1650: error: â€˜struct task_struct’ has no member named â€˜euid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1650: error: â€˜struct task_struct’ has no member named â€˜uid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1651: error: â€˜struct task_struct’ has no member named â€˜fsuid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1651: error: â€˜struct task_struct’ has no member named â€˜uid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1652: error: â€˜struct task_struct’ has no member named â€˜egid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1652: error: â€˜struct task_struct’ has no member named â€˜gid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1653: error: â€˜struct task_struct’ has no member named â€˜fsgid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1653: error: â€˜struct task_struct’ has no member named â€˜gid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1670: error: too many arguments to function â€˜smp_call_function’
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/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/prebuilt_modules_linux.html".

Execution aborted.

falko@falko-desktop:~/Downloads/vmware-server-distrib$
赞(52) 打赏
未经允许不得转载:优客志 » 系统运维
分享到:

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏