特殊:Badtitle/NS100:VMware/Server/AMD64:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/VMware/Server/AMD64}} | {{From|https://help.ubuntu.com/community/VMware/Server/AMD64}} | ||
{{Languages|UbuntuHelp:VMware/Server/AMD64}} | {{Languages|UbuntuHelp:VMware/Server/AMD64}} | ||
== Introduction == | == Introduction == | ||
This page is for information regarding installation of VMware Server on Ubuntu 6.06 LTS amd64. Feisty users have an easier way, which works for AMD64 too. See "Quick Installation" section at [[UbuntuHelp:VMware/Server]]. | This page is for information regarding installation of VMware Server on Ubuntu 6.06 LTS amd64. Feisty users have an easier way, which works for AMD64 too. See "Quick Installation" section at [[UbuntuHelp:VMware/Server]]. | ||
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. | 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. | ||
== Install Prerequisites == | == Install Prerequisites == | ||
First make sure you have the build-essential, kernel headers, xinetd, gcc, and g++ packages installed: | First make sure you have the build-essential, kernel headers, xinetd, gcc, and g++ packages installed: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get install build-essential linux-headers-`uname -r` xinetd gcc-4.0 g++-4.0 | sudo apt-get install build-essential linux-headers-`uname -r` xinetd gcc-4.0 g++-4.0 | ||
</nowiki></pre> | </nowiki></pre> | ||
Gutsy users will need to install the following instead: | Gutsy users will need to install the following instead: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get install build-essential linux-headers-`uname -r` xinetd gcc-4.1 g++-4.1 | sudo apt-get install build-essential linux-headers-`uname -r` xinetd gcc-4.1 g++-4.1 | ||
</nowiki></pre> | </nowiki></pre> | ||
Install the 32-bit libraries required by VMware UI. | 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." | "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." | ||
第26行: | 第18行: | ||
sudo apt-get install ia32-libs libc6-i386 | sudo apt-get install ia32-libs libc6-i386 | ||
</nowiki></pre> | </nowiki></pre> | ||
== Install the VMware Server == | == Install the VMware Server == | ||
Download VMware Server from http://www.vmware.com/. As of June 2006, the latest release is Version 1. | 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. | As part of the download process you will get a 20-digit serial number also. | ||
第36行: | 第26行: | ||
sudo ./vmware-install.pl | sudo ./vmware-install.pl | ||
</nowiki></pre> | </nowiki></pre> | ||
At the end of the installation, you will be prompted to run the /usr/bin/vmware-config.pl script. | At the end of the installation, you will be prompted to run the /usr/bin/vmware-config.pl script. | ||
<pre><nowiki> | <pre><nowiki> | ||
第43行: | 第32行: | ||
program to invoke the command for you now? [yes] | program to invoke the command for you now? [yes] | ||
</nowiki></pre> | </nowiki></pre> | ||
For the most part the defaults given should be suitable. | For the most part the defaults given should be suitable. | ||
== Starting VMware Console == | == Starting VMware Console == | ||
Here's the easy part: | Here's the easy part: | ||
Applications|System Tools|VMware Server Console | Applications|System Tools|VMware Server Console | ||
== Troubleshooting == | == Troubleshooting == | ||
=== ldd: /lib/ld-linux.so.2 exited with unknown exit code (127) === | === ldd: /lib/ld-linux.so.2 exited with unknown exit code (127) === | ||
You may get this error message: | You may get this error message: | ||
第63行: | 第43行: | ||
ldd: /lib/ld-linux.so.2 exited with unknown exit code (127) | ldd: /lib/ld-linux.so.2 exited with unknown exit code (127) | ||
</nowiki></pre> | </nowiki></pre> | ||
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: | 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: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get install ia32-libs | sudo apt-get install ia32-libs | ||
</nowiki></pre> | </nowiki></pre> | ||
=== VMware Console refuses to start === | === 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. | 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. | 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. | You will need to download the latest headers and set the symlink directory. | ||
<pre><nowiki> | <pre><nowiki> | ||
第79行: | 第56行: | ||
sudo ln -s /usr/src/linux-headers-`uname -r` /usr/src/linux | sudo ln -s /usr/src/linux-headers-`uname -r` /usr/src/linux | ||
</nowiki></pre> | </nowiki></pre> | ||
You can then recompile vmmon by: | You can then recompile vmmon by: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo vmware-config.pl --recompile | sudo vmware-config.pl --recompile | ||
</nowiki></pre> | </nowiki></pre> | ||
=== No sound under ESD / ARTS === | === No sound under ESD / ARTS === | ||
'''TODO''': Maybe move this to a separate page, since it appears to be specific to Workstation? | '''TODO''': Maybe move this to a separate page, since it appears to be specific to Workstation? | ||
I had this problem with VMware Workstation (not Server) on AMD64: | I had this problem with VMware Workstation (not Server) on AMD64: | ||
It would start up okay otherwise, but refuse to give me sound, | It would start up okay otherwise, but refuse to give me sound, | ||
saying /dev/dsp was locked. | saying /dev/dsp was locked. | ||
According to http://kb.vmware.com/vmtnkb/search.do?cmd=displayKC&docType=kc&externalId=1611&sliceId=SAL_Public | According to http://kb.vmware.com/vmtnkb/search.do?cmd=displayKC&docType=kc&externalId=1611&sliceId=SAL_Public | ||
vmwaredsp from http://knihovny.cvut.cz/ftp/pub/vmware/ is supposed to fix this, | vmwaredsp from http://knihovny.cvut.cz/ftp/pub/vmware/ is supposed to fix this, | ||
第99行: | 第71行: | ||
ERROR: ld.so: object 'libvmdsp.so' from LD_PRELOAD cannot be preloaded: ignored. | ERROR: ld.so: object 'libvmdsp.so' from LD_PRELOAD cannot be preloaded: ignored. | ||
</nowiki></pre> | </nowiki></pre> | ||
There is a hint in one of the vmware forums that the LD_PRELOAD stuff can't run on a shell script, | There is a hint in one of the vmware forums that the LD_PRELOAD stuff can't run on a shell script, | ||
so I tried patching the actual /usr/local/bin/vmrun script to do the vmwareesd stuff (it's just a | so I tried patching the actual /usr/local/bin/vmrun script to do the vmwareesd stuff (it's just a | ||
couple of environment variables really) just prior to running vmrun ... and lo!, it works! | couple of environment variables really) just prior to running vmrun ... and lo!, it works! | ||
Here's my patch: | Here's my patch: | ||
<pre><nowiki> | <pre><nowiki> | ||
--- /usr/local/bin/vmrun~ 2006-09-27 11:07:00.000000000 +0300 | --- /usr/local/bin/vmrun~ 2006-09-27 11:07:00.000000000 +0300 | ||
第114行: | 第84行: | ||
+ export LD_PRELOAD=libvmdsp.so${LD_PRELOAD+:}"$LD_PRELOAD" | + export LD_PRELOAD=libvmdsp.so${LD_PRELOAD+:}"$LD_PRELOAD" | ||
+ export VMDSP_BACKEND=esd | + export VMDSP_BACKEND=esd | ||
exec "$binary" "$@" | exec "$binary" "$@" | ||
} | } | ||
</nowiki></pre> | </nowiki></pre> | ||
You will obviously need to have the vmwaredsp libraries installed in /usr/bin. | You will obviously need to have the vmwaredsp libraries installed in /usr/bin. | ||
(I also had to patch the installation script to not worry even though /lib64 is a symlink.) | (I also had to patch the installation script to not worry even though /lib64 is a symlink.) | ||
-- https://wiki.ubuntu.com/Era | -- https://wiki.ubuntu.com/Era | ||
---- | ---- | ||
[[category:CategoryDocumentation]] | [[category:CategoryDocumentation]] | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2007年11月30日 (五) 22:08的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/VMware/Server/AMD64 }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/af | • {{#if: UbuntuHelp:VMware/Server/AMD64|Afrikaans| [[::VMware/Server/AMD64/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/ar | • {{#if: UbuntuHelp:VMware/Server/AMD64|العربية| [[::VMware/Server/AMD64/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/az | • {{#if: UbuntuHelp:VMware/Server/AMD64|azərbaycanca| [[::VMware/Server/AMD64/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/bcc | • {{#if: UbuntuHelp:VMware/Server/AMD64|جهلسری بلوچی| [[::VMware/Server/AMD64/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/bg | • {{#if: UbuntuHelp:VMware/Server/AMD64|български| [[::VMware/Server/AMD64/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/br | • {{#if: UbuntuHelp:VMware/Server/AMD64|brezhoneg| [[::VMware/Server/AMD64/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/ca | • {{#if: UbuntuHelp:VMware/Server/AMD64|català| [[::VMware/Server/AMD64/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/cs | • {{#if: UbuntuHelp:VMware/Server/AMD64|čeština| [[::VMware/Server/AMD64/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/de | • {{#if: UbuntuHelp:VMware/Server/AMD64|Deutsch| [[::VMware/Server/AMD64/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/el | • {{#if: UbuntuHelp:VMware/Server/AMD64|Ελληνικά| [[::VMware/Server/AMD64/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/es | • {{#if: UbuntuHelp:VMware/Server/AMD64|español| [[::VMware/Server/AMD64/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/fa | • {{#if: UbuntuHelp:VMware/Server/AMD64|فارسی| [[::VMware/Server/AMD64/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/fi | • {{#if: UbuntuHelp:VMware/Server/AMD64|suomi| [[::VMware/Server/AMD64/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/fr | • {{#if: UbuntuHelp:VMware/Server/AMD64|français| [[::VMware/Server/AMD64/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/gu | • {{#if: UbuntuHelp:VMware/Server/AMD64|ગુજરાતી| [[::VMware/Server/AMD64/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/he | • {{#if: UbuntuHelp:VMware/Server/AMD64|עברית| [[::VMware/Server/AMD64/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/hu | • {{#if: UbuntuHelp:VMware/Server/AMD64|magyar| [[::VMware/Server/AMD64/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/id | • {{#if: UbuntuHelp:VMware/Server/AMD64|Bahasa Indonesia| [[::VMware/Server/AMD64/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/it | • {{#if: UbuntuHelp:VMware/Server/AMD64|italiano| [[::VMware/Server/AMD64/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/ja | • {{#if: UbuntuHelp:VMware/Server/AMD64|日本語| [[::VMware/Server/AMD64/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/ko | • {{#if: UbuntuHelp:VMware/Server/AMD64|한국어| [[::VMware/Server/AMD64/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/ksh | • {{#if: UbuntuHelp:VMware/Server/AMD64|Ripoarisch| [[::VMware/Server/AMD64/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/mr | • {{#if: UbuntuHelp:VMware/Server/AMD64|मराठी| [[::VMware/Server/AMD64/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/ms | • {{#if: UbuntuHelp:VMware/Server/AMD64|Bahasa Melayu| [[::VMware/Server/AMD64/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/nl | • {{#if: UbuntuHelp:VMware/Server/AMD64|Nederlands| [[::VMware/Server/AMD64/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/no | • {{#if: UbuntuHelp:VMware/Server/AMD64|norsk| [[::VMware/Server/AMD64/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/oc | • {{#if: UbuntuHelp:VMware/Server/AMD64|occitan| [[::VMware/Server/AMD64/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/pl | • {{#if: UbuntuHelp:VMware/Server/AMD64|polski| [[::VMware/Server/AMD64/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/pt | • {{#if: UbuntuHelp:VMware/Server/AMD64|português| [[::VMware/Server/AMD64/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/ro | • {{#if: UbuntuHelp:VMware/Server/AMD64|română| [[::VMware/Server/AMD64/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/ru | • {{#if: UbuntuHelp:VMware/Server/AMD64|русский| [[::VMware/Server/AMD64/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/si | • {{#if: UbuntuHelp:VMware/Server/AMD64|සිංහල| [[::VMware/Server/AMD64/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/sq | • {{#if: UbuntuHelp:VMware/Server/AMD64|shqip| [[::VMware/Server/AMD64/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/sr | • {{#if: UbuntuHelp:VMware/Server/AMD64|српски / srpski| [[::VMware/Server/AMD64/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/sv | • {{#if: UbuntuHelp:VMware/Server/AMD64|svenska| [[::VMware/Server/AMD64/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/th | • {{#if: UbuntuHelp:VMware/Server/AMD64|ไทย| [[::VMware/Server/AMD64/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/tr | • {{#if: UbuntuHelp:VMware/Server/AMD64|Türkçe| [[::VMware/Server/AMD64/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/vi | • {{#if: UbuntuHelp:VMware/Server/AMD64|Tiếng Việt| [[::VMware/Server/AMD64/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/yue | • {{#if: UbuntuHelp:VMware/Server/AMD64|粵語| [[::VMware/Server/AMD64/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/zh | • {{#if: UbuntuHelp:VMware/Server/AMD64|中文| [[::VMware/Server/AMD64/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/zh-hans | • {{#if: UbuntuHelp:VMware/Server/AMD64|中文(简体)| [[::VMware/Server/AMD64/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:VMware/Server/AMD64 | UbuntuHelp:VMware/Server/AMD64 | {{#if: | :}}VMware/Server/AMD64}}/zh-hant | • {{#if: UbuntuHelp:VMware/Server/AMD64|中文(繁體)| [[::VMware/Server/AMD64/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:VMware/Server/AMD64|:VMware/Server/AMD64|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :VMware/Server/AMD64/zh | | {{#ifexist: VMware/Server/AMD64/zh | | {{#ifeq: {{#titleparts:VMware/Server/AMD64|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:VMware/Server/AMD64|1|-1|}} | zh | | }}
Introduction
This page is for information regarding installation of VMware Server on Ubuntu 6.06 LTS amd64. Feisty users have an easier way, which works for AMD64 too. See "Quick Installation" section at UbuntuHelp:VMware/Server. 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.
Install Prerequisites
First make sure you have the build-essential, kernel headers, xinetd, gcc, and g++ packages installed:
sudo apt-get install build-essential linux-headers-`uname -r` xinetd gcc-4.0 g++-4.0
Gutsy users will need to install the following instead:
sudo apt-get install build-essential linux-headers-`uname -r` xinetd gcc-4.1 g++-4.1
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."
sudo apt-get install ia32-libs libc6-i386
Install the VMware Server
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.
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.
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
Here's the easy part: Applications|System Tools|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:
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
No sound under ESD / ARTS
TODO: Maybe move this to a separate page, since it appears to be specific to Workstation? I had this problem with VMware Workstation (not Server) on AMD64: It would start up okay otherwise, but refuse to give me sound, saying /dev/dsp was locked. According to http://kb.vmware.com/vmtnkb/search.do?cmd=displayKC&docType=kc&externalId=1611&sliceId=SAL_Public vmwaredsp from http://knihovny.cvut.cz/ftp/pub/vmware/ is supposed to fix this, but it would refuse to run for me. It would keep telling me
ERROR: ld.so: object 'libvmdsp.so' from LD_PRELOAD cannot be preloaded: ignored.
There is a hint in one of the vmware forums that the LD_PRELOAD stuff can't run on a shell script, so I tried patching the actual /usr/local/bin/vmrun script to do the vmwareesd stuff (it's just a couple of environment variables really) just prior to running vmrun ... and lo!, it works! Here's my patch:
--- /usr/local/bin/vmrun~ 2006-09-27 11:07:00.000000000 +0300 +++ /usr/local/bin/vmrun 2006-09-29 13:47:11.000000000 +0300 @@ -194,6 +194,8 @@ vm_run() { # Append any libraries that are still missing. export LD_LIBRARY_PATH="`LANGUAGE=C LANG=C ldd "$binary" | vm_append_missing`" + export LD_PRELOAD=libvmdsp.so${LD_PRELOAD+:}"$LD_PRELOAD" + export VMDSP_BACKEND=esd exec "$binary" "$@" }
You will obviously need to have the vmwaredsp libraries installed in /usr/bin. (I also had to patch the installation script to not worry even though /lib64 is a symlink.) -- https://wiki.ubuntu.com/Era