个人工具

VMwareGuide-InstallingVMwareServerOnUbuntuLTSAmd64

来自Ubuntu中文

Qiii2006讨论 | 贡献2010年4月25日 (日) 15:52的版本 Related Guides

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索

UbuntuCN翻译模板

原文出处:https://help.ubuntu.com/community/VMware_Guide:_Installing_VMware_Server_on_Ubuntu_6.06_LTS_amd64

原文作者:

授权许可:

翻译人员:sanebaby

校正人员:

贡献人员:

适用版本: 文章状态:等待翻译



Introduction 简介

This page is for information regarding installation of VMware Server on Ubuntu 6.06 LTS amd64. As of June 2006, the VMware Server's UI is 32-bit and requires 32-bit libraries when installing on a 64-bit host, but guest OS's can be either 32-bit or 64-bit.

本页介绍关于在Ubuntu 6.06 LTS amd64上安装VMware Server的信息。从2006年6月起,VMware Server的用户接口使用32位并且要求在64位主机安装时需上提供32位库。但是,客户操作系统可以是32位亦或64位。

Install Prerequisites 安装前期要求

First make sure you have the build-essential, kernel headers, xinetd, gcc, and g++ packages installed:

首先,请您确认build-essential,内核头文件,xinetd,gcc,和g++这些软件包已被安装。(译者:通过复制粘贴以下代码到终端来实现相关软件包的安装)

sudo apt-get install build-essential linux-headers-`uname -r` xinetd gcc-4.0 g++-4.0

Install the 32-bit libraries required by VMware UI. "Some of the backend components are 64 bit, but the UI is still a 32 bit application. May be sometime down the road, the UI will also be 64 bit."

安装VMware用户接口要求的32位库。“一些后置部件是64位,但是用户接口仍然是32位应用程序。可能随着发展,将来的用户接口也会成为64位。”(译者:通过复制粘贴以下代码到终端来实现库的安装)

sudo apt-get install ia32-libs libc6-i386

Install the VMware Server 安装VMware服务器

Download VMware Server from http://www.vmware.com/. As of June 2006, the latest release is Version 1. As part of the download process you will get a 20-digit serial number also.

从http://www.vmware.com/上下载VMware服务器。截至2006年6月,最新的版本是1。最为下载过程的一部分,您还将得到一个20位数字组成的序列号。(译者:通过复制粘贴以下代码到终端来实现相关安装)

tar xvzf VMware-server-e.x.p-23869.tar.gz
cd vmware-server-distrib
sudo ./vmware-install.pl

At the end of the installation, you will be prompted to run the /usr/bin/vmware-config.pl script.

在安装快结束的时候,您会被提示运行/usr/bin/vmware-config.pl脚本

Before running VMware Server for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config.pl". Do you want this
program to invoke the command for you now? [yes]

For the most part the defaults given should be suitable.

大多数情况下,默认选择最为妥当。

Starting VMware Console 开始使用VMware控制台

Here's the easy part: 以下是简便的部分:

Applications|System Tools|VMware Server Console

应用程序| 系统工具 | VMware Server Console

Troubleshooting 常见问题

ldd: /lib/ld-linux.so.2 exited with unknown exit code (127)

You may get this error message:

你可能得到这个错误的信息:

/usr/bin/ldd: line 171: /lib/ld-linux.so.2: No such file or directory
ldd: /lib/ld-linux.so.2 exited with unknown exit code (127)

This is due to either missing 32-bit libraries, or vmmon having been compiled under a different kernel (see below). Install the 32-bit libraries:

这是由于缺少32位的库,或者vmmon已经被编译在一个不同的内核下(看下面),安装32位的库:

sudo apt-get install ia32-libs

VMware Console refuses to start

If you are trying to start the VMware Console, and it just disappears, it may be due to vmmon having been compiled under a different kernel other than the one that is running. Vmmon is very finicky about having been compiled under the exact kernel that is running. Perhaps you've just upgraded your kernel. Or perhaps it was updated automatically via the Update Manager much earlier, and you've just rebooted now.

You will need to download the latest headers and set the symlink directory.

sudo apt-get install linux-headers-`uname -r`
sudo rm /usr/src/linux
sudo ln -s /usr/src/linux-headers-`uname -r` /usr/src/linux

You can then recompile vmmon by:

sudo vmware-config.pl --recompile

介绍

本文档描述的是关于在 Ubuntu 6.06 LTS amd64 上安装 VMware Server。直到2006年6月,VMware Server的用户接口是32位的,当您在64位的主机上安装它时需要32位库,但是客户机系统可以是32位的或是64位。

安装的必要条件

首先您要确认已安装build-essential、kernel headers、xinetd、gcc、and g++。

如没有,请安装这些组件:

sudo apt-get install build-essential linux-headers-`uname -r` xinetd gcc-4.0 g++-4.0

VMware接口需要安装32位的库。“一些末端组件是64位的,但是用户接口仍然是32位的应用程序。也许到了某天,用户接口也是64位的了。”

安装32位库:

sudo apt-get install ia32-libs libc6-i386

安装VMware Server

下载 VMware Server[1]截至2006年6月,最新的版本是Version 1。在您下载程序的同时将获得一个20位的系列号

按照如下过程解压并开始安装:

tar xvzf VMware-server-e.x.p-23869.tar.gz
cd vmware-server-distrib
sudo ./vmware-install.pl

在安装过程的最后,您将得到如下提示执行配置脚本文件/usr/bin/vmware-config.pl

Before running VMware Server for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config.pl". Do you want this
program to invoke the command for you now? [yes]

大多数时候,默认值是比较适当的。

启动VMware Console

一个简单的步骤:

应用程序->系统工具->VMware Server Console

故障检修

ldd: /lib/ld-linux.so.2 exited with unknown exit code (127)

您会得到如下的错误提示:

/usr/bin/ldd: line 171: /lib/ld-linux.so.2: No such file or directory
ldd: /lib/ld-linux.so.2 exited with unknown exit code (127)

这是由于缺少32位库,或者是在不同版本的内核下编译的vmmon。安装32位库:

sudo apt-get install ia32-libs

VMware Console拒绝启动

如果您试着运行VMware Console,并且在启动后它消失不见了,这可能是由于编译vmmon时的内核与现在正在运行的内核不同。Vmmon必须在您正使用的内核下进行编译。也许您刚好更新过您的内核,或许它是在更新管理器中自动更新的,在更新后您必须马上重启您的计算机。

您需要下载最新的头文件,并且设置好目录连接。

sudo apt-get install linux-headers-`uname -r`
sudo rm /usr/src/linux
sudo ln -s /usr/src/linux-headers-`uname -r` /usr/src/linux

您现在可以重新编译vmmon:

sudo vmware-config.pl --recompile

Related Guides

VMwareServer