特殊:Badtitle/NS100:VMware/Server:修订间差异
小 New page: {{From|https://help.ubuntu.com/community/VMware/Server}} {{Languages|php5}} VMware Server is a proprietary virtualization software package made available for no cost from the [http://www... |
小无编辑摘要 |
||
第46行: | 第46行: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo aptitude install build-essential linux-headers-`uname -r` xinetd | sudo aptitude install build-essential linux-headers-`uname -r` xinetd | ||
</nowiki></ | </nowiki></pre> | ||
The second package is the <code><nowiki>linux-headers-</nowiki></code> package for your currently-installed kernel; the <code><nowiki>uname -r</nowiki></code> part will automatically insert your kernel version for you. | The second package is the <code><nowiki>linux-headers-</nowiki></code> package for your currently-installed kernel; the <code><nowiki>uname -r</nowiki></code> part will automatically insert your kernel version for you. | ||
to install two required packages. | to install two required packages. | ||
第55行: | 第55行: | ||
cd vmware-server-distrib/ | cd vmware-server-distrib/ | ||
sudo ./vmware-install.pl | sudo ./vmware-install.pl | ||
</nowiki></ | </nowiki></pre> | ||
Replace <code><nowiki><download-location></nowiki></code> with the path of the directory where you saved the archive, and replace <code><nowiki><xxx></nowiki></code> with the version number of the package you downloaded. | Replace <code><nowiki><download-location></nowiki></code> with the path of the directory where you saved the archive, and replace <code><nowiki><xxx></nowiki></code> with the version number of the package you downloaded. | ||
The VMware installer program will be started in the Terminal window. | The VMware installer program will be started in the Terminal window. | ||
第74行: | 第74行: | ||
cd vmware-server-distrib/ | cd vmware-server-distrib/ | ||
sudo ./vmware-install.pl | sudo ./vmware-install.pl | ||
</nowiki></ | </nowiki></pre> | ||
Replace <code><nowiki><location></nowiki></code> with the path of the directory where you saved the archive, and replace <code><nowiki><xxx></nowiki></code> with the version number of the package you downloaded. The VMware installer program will be started in the Terminal window. | Replace <code><nowiki><location></nowiki></code> with the path of the directory where you saved the archive, and replace <code><nowiki><xxx></nowiki></code> with the version number of the package you downloaded. The VMware installer program will be started in the Terminal window. | ||
1.#4 Follow the on-screen instructions. You can leave most of the options as their defaults, by pressing the <code><nowiki>Return</nowiki></code> key and not typing anything after each question. '''The configuration script will fail, but we'll use a workaround.''' | 1.#4 Follow the on-screen instructions. You can leave most of the options as their defaults, by pressing the <code><nowiki>Return</nowiki></code> key and not typing anything after each question. '''The configuration script will fail, but we'll use a workaround.''' | ||
第83行: | 第83行: | ||
sudo vmware-config.pl | sudo vmware-config.pl | ||
sudo /etc/init.d/vmware restart | sudo /etc/init.d/vmware restart | ||
</nowiki></ | </nowiki></pre> | ||
=== Uninstalling Source Installs === | === Uninstalling Source Installs === | ||
第91行: | 第91行: | ||
<pre><nowiki> | <pre><nowiki> | ||
$ sudo vmware-uninstall-mui.pl | $ sudo vmware-uninstall-mui.pl | ||
</nowiki></ | </nowiki></pre> | ||
VMware Server installs from source may be removed by running the following command: | VMware Server installs from source may be removed by running the following command: | ||
第97行: | 第97行: | ||
<pre><nowiki> | <pre><nowiki> | ||
$ sudo vmware-uninstall.pl | $ sudo vmware-uninstall.pl | ||
</nowiki></ | </nowiki></pre> | ||
第119行: | 第119行: | ||
tar zxvf VMware-mui-<xxx>.tar.gz | tar zxvf VMware-mui-<xxx>.tar.gz | ||
sudo ./vmware-install.pl | sudo ./vmware-install.pl | ||
</nowiki></ | </nowiki></pre> | ||
Replace <code><nowiki><location></nowiki></code> with the path of the directory where you saved the archive, and replace <code><nowiki><xxx></nowiki></code> with the version number of the package you downloaded. An installer program will be run. Follow the installer's instructions. Once installation has completed, run the following commands in a Terminal: | Replace <code><nowiki><location></nowiki></code> with the path of the directory where you saved the archive, and replace <code><nowiki><xxx></nowiki></code> with the version number of the package you downloaded. An installer program will be run. Follow the installer's instructions. Once installation has completed, run the following commands in a Terminal: | ||
第127行: | 第127行: | ||
sudo /etc/init.d/httpd.vmware restart | sudo /etc/init.d/httpd.vmware restart | ||
sudo /etc/init.d/httpd.vmware status | sudo /etc/init.d/httpd.vmware status | ||
</nowiki></ | </nowiki></pre> | ||
The VMware MUI component should now be available at | The VMware MUI component should now be available at | ||
<pre><nowiki> | <pre><nowiki> | ||
http://localhost:8222/ | http://localhost:8222/ | ||
</nowiki></ | </nowiki></pre> | ||
which should automatically redirect you to | which should automatically redirect you to | ||
<pre><nowiki> | <pre><nowiki> | ||
https://localhost:8333/ | https://localhost:8333/ | ||
</nowiki></ | </nowiki></pre> | ||
Next from the same or a separate client machine login to this page and chose the most appropriate install program from the selection labelled : Download VMware Server Console | Next from the same or a separate client machine login to this page and chose the most appropriate install program from the selection labelled : Download VMware Server Console | ||
第153行: | 第153行: | ||
cd vmware-server-console-distrib/ | cd vmware-server-console-distrib/ | ||
sudo ./vmware-install.pl | sudo ./vmware-install.pl | ||
</nowiki></ | </nowiki></pre> | ||
Replace <code><nowiki><location></nowiki></code> with the path of the directory where you saved the archive, and replace <code><nowiki><xxx></nowiki></code> with the version number of the package you downloaded. After having run the installer, press <code><nowiki>Alt + F2</nowiki></code>, type <code><nowiki>gksudo vmware</nowiki></code> and press ''Run'' to start the Server Console application. | Replace <code><nowiki><location></nowiki></code> with the path of the directory where you saved the archive, and replace <code><nowiki><xxx></nowiki></code> with the version number of the package you downloaded. After having run the installer, press <code><nowiki>Alt + F2</nowiki></code>, type <code><nowiki>gksudo vmware</nowiki></code> and press ''Run'' to start the Server Console application. |
2007年5月13日 (日) 12:55的版本
![]() |
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/VMware/Server }} |
![]() |
点击翻译: |
English {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/af | • {{#if: php5|Afrikaans| [[::VMware/Server/af|Afrikaans]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/ar | • {{#if: php5|العربية| [[::VMware/Server/ar|العربية]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/az | • {{#if: php5|azərbaycanca| [[::VMware/Server/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/bcc | • {{#if: php5|جهلسری بلوچی| [[::VMware/Server/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/bg | • {{#if: php5|български| [[::VMware/Server/bg|български]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/br | • {{#if: php5|brezhoneg| [[::VMware/Server/br|brezhoneg]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/ca | • {{#if: php5|català| [[::VMware/Server/ca|català]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/cs | • {{#if: php5|čeština| [[::VMware/Server/cs|čeština]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/de | • {{#if: php5|Deutsch| [[::VMware/Server/de|Deutsch]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/el | • {{#if: php5|Ελληνικά| [[::VMware/Server/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/es | • {{#if: php5|español| [[::VMware/Server/es|español]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/fa | • {{#if: php5|فارسی| [[::VMware/Server/fa|فارسی]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/fi | • {{#if: php5|suomi| [[::VMware/Server/fi|suomi]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/fr | • {{#if: php5|français| [[::VMware/Server/fr|français]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/gu | • {{#if: php5|ગુજરાતી| [[::VMware/Server/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/he | • {{#if: php5|עברית| [[::VMware/Server/he|עברית]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/hu | • {{#if: php5|magyar| [[::VMware/Server/hu|magyar]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/id | • {{#if: php5|Bahasa Indonesia| [[::VMware/Server/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/it | • {{#if: php5|italiano| [[::VMware/Server/it|italiano]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/ja | • {{#if: php5|日本語| [[::VMware/Server/ja|日本語]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/ko | • {{#if: php5|한국어| [[::VMware/Server/ko|한국어]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/ksh | • {{#if: php5|Ripoarisch| [[::VMware/Server/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/mr | • {{#if: php5|मराठी| [[::VMware/Server/mr|मराठी]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/ms | • {{#if: php5|Bahasa Melayu| [[::VMware/Server/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/nl | • {{#if: php5|Nederlands| [[::VMware/Server/nl|Nederlands]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/no | • {{#if: php5|norsk| [[::VMware/Server/no|norsk]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/oc | • {{#if: php5|occitan| [[::VMware/Server/oc|occitan]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/pl | • {{#if: php5|polski| [[::VMware/Server/pl|polski]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/pt | • {{#if: php5|português| [[::VMware/Server/pt|português]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/ro | • {{#if: php5|română| [[::VMware/Server/ro|română]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/ru | • {{#if: php5|русский| [[::VMware/Server/ru|русский]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/si | • {{#if: php5|සිංහල| [[::VMware/Server/si|සිංහල]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/sq | • {{#if: php5|shqip| [[::VMware/Server/sq|shqip]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/sr | • {{#if: php5|српски / srpski| [[::VMware/Server/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/sv | • {{#if: php5|svenska| [[::VMware/Server/sv|svenska]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/th | • {{#if: php5|ไทย| [[::VMware/Server/th|ไทย]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/tr | • {{#if: php5|Türkçe| [[::VMware/Server/tr|Türkçe]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/vi | • {{#if: php5|Tiếng Việt| [[::VMware/Server/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/yue | • {{#if: php5|粵語| [[::VMware/Server/yue|粵語]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/zh | • {{#if: php5|中文| [[::VMware/Server/zh|中文]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/zh-hans | • {{#if: php5|中文(简体)| [[::VMware/Server/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}VMware/Server}}/zh-hant | • {{#if: php5|中文(繁體)| [[::VMware/Server/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:php5|:VMware/Server|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :VMware/Server/zh | | {{#ifexist: VMware/Server/zh | | {{#ifeq: {{#titleparts:VMware/Server|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:VMware/Server|1|-1|}} | zh | | }}
VMware Server is a proprietary virtualization software package made available for no cost from the VMware website. VMware Server allows you to run entire operating systems in a virtual machine, which runs on top of Edubuntu, Ubuntu or Xubuntu. This guide provides instructions on installing, configuring and running VMware Server and VMware Server Console on (Ed/K/X)Ubuntu.
Installation and Quick Start
- Ubuntu 7.04 (Feisty Fawn)
From Ubuntu packages
1. Get a serial number by registering (for free) at http://register.vmware.com/content/registration.html
1. Add the universe, multiverse, and commercial repositories to your Ubuntu 7.04 install Directions.
1. Uninstall vmware-server if it is already installed according to the section in this document titled "Transitioning from a Source Install."
1. Install the vmware-server package
1. Start the remote access console by going to Applications > System Tools > VMWare Server Console in the menus (or run vmware
from the command line). From there you will be able to access vmware servers locally or remotely, and create/open VMware virtual machines. Login with your regular username and password.
Installing VMware Tools on an Ubuntu VMware guest system
Installing VMware Tools inside your virtual machines can improve their performance. For information about speeding up your Ubuntu virtual machines see UbuntuHelp:VMware/Tools
Other Topics
Installing from Source
These instructions have not been fully tested and are recommended for advanced users only.
- Ubuntu 7.04 (Feisty Fawn)
Run [1] after the install fails when compiling kernel modules. See Install VMWare Server To Ubuntu Feisty for other solutions. A more elegant solution here would be much appreciated, as the diff between the current kernel modules provided by vmware and the modules in that .tar.gz is substantial.
- Ubuntu 6.06 LTS (Dapper Drake)
- Ubuntu 6.10 (Edgy Eft)
1. Download the VMware Server Binary (.tar.gz) package for Linux from the VMware website. You will also need to register to receive the free-of-charge serial number which is required during installation.
1. Enable the universe
software channel (see UbuntuHelp:Repositories for instructions).
1. (Optional) switch from 386 kernel to 686 kernel and reboot
1. (Optional) If you using Edubuntu as your host OS then you might want to un-install
- SchoolTool (
aptitude remove schooltool
) Since it uses 119M in its idle state. - LTSP (
aptitude remove ltsp-server-standalone
) So you can remove DHCPD - DHCPD (
aptitude remove dhcp3-server
) How many DHCP servers do you need ?
- SchoolTool (
1. Install the following packages:
build-essentials
linux-headers
xinetd
1.
sudo aptitude install build-essential linux-headers-`uname -r` xinetd
The second package is the linux-headers-
package for your currently-installed kernel; the uname -r
part will automatically insert your kernel version for you.
to install two required packages.
1. Once you have installed the required packages, you can now begin the VMware installer. Open a Terminal and type the following:
cd <temporary-location-with-disk-space> tar zxvf /<download-location>/VMware-server-<xxx>.tar.gz cd vmware-server-distrib/ sudo ./vmware-install.pl
Replace<download-location>
with the path of the directory where you saved the archive, and replace<xxx>
with the version number of the package you downloaded. The VMware installer program will be started in the Terminal window. 1.#6 Follow the on-screen instructions. You can leave most of the options as their defaults, by pressing theReturn
key and not typing anything after each question.
- Ed/K/X/Ubuntu 7.04 (Feisty Fawn)
1. Download the VMware Server Binary (.tar.gz) package for Linux from the VMware website. Also, register to receive the free serial number which is required for registration. 1. Install the following packages:
vmware-server-kernel-modules
xinetd
build-essential
linux-headers
1. Once you have installed the required packages, you can now begin the VMware installer. Open a Terminal and type the following:
cd <location> tar zxvf VMware-server-<xxx>.tar.gz cd vmware-server-distrib/ sudo ./vmware-install.pl
Replace<location>
with the path of the directory where you saved the archive, and replace<xxx>
with the version number of the package you downloaded. The VMware installer program will be started in the Terminal window. 1.#4 Follow the on-screen instructions. You can leave most of the options as their defaults, by pressing theReturn
key and not typing anything after each question. The configuration script will fail, but we'll use a workaround. 1. Reconfigure step. Make VMware server use feisty's 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 sudo sed -i -e "s/sub configure_module {/sub configure_module {\n return 'yes';/" /usr/bin/vmware-config.pl sudo vmware-config.pl sudo /etc/init.d/vmware restart
Uninstalling Source Installs
VMware Server installs with the web management console
$ sudo vmware-uninstall-mui.pl
VMware Server installs from source may be removed by running the following command:
$ sudo vmware-uninstall.pl
If you experience problems during the uninstall, remove ~/.vmware and retry the steps above.
You may also wish to remove your virtual machines by removing /var/lib/vmware. It is also recommended that you remove
Transitioning from a Source Install
1. Follow the directions in the "Uninstalling Source Installs" section of this document, but do not remove the /var/lib/vmware directory. 1. Follow the directions in the "Installation and Quick Start" section. 1. Move files from /var/lib/vmware to /var/lib/vmware-server and then remove the empty /var/lib/vmware directory. 1. Reregister your existing virtual machines by running vmware-cmd register /var/lib/vmware-server/Virtual\ Machines/machinename/diskname.vmx 1. Start any needed virtual machines using the management console. It is best to do this from the console instead of restarting because it will detect that you have moved the virtual machines and offer to regenerate the machine's unique identifiers, which you should decline to do.
VMware Server MUI Component Installation (Optional, Source Install Only)
If you would like VMware ESX-style web-access for configuration of your server, you can install the VMware MUI component, available from the VMware website. After having downloaded the package, open a Terminal and run the following commands:
cd <location> tar zxvf VMware-mui-<xxx>.tar.gz sudo ./vmware-install.pl
Replace <location>
with the path of the directory where you saved the archive, and replace <xxx>
with the version number of the package you downloaded. An installer program will be run. Follow the installer's instructions. Once installation has completed, run the following commands in a Terminal:
sudo /etc/init.d/httpd.vmware start sudo /etc/init.d/httpd.vmware restart sudo /etc/init.d/httpd.vmware status
The VMware MUI component should now be available at
http://localhost:8222/
which should automatically redirect you to
https://localhost:8333/
Next from the same or a separate client machine login to this page and chose the most appropriate install program from the selection labelled : Download VMware Server Console
Use Synaptic/Adept to remove the package.
VMware Server Console Installation (Optional, Source Install Only)
By default, the VMware Server Console is installed on the same computer as VMware Server. However, it is possible to install the application on other computers and use it to access your VMware Server remotely. Installers are available for other operating systems, such as Windows.
If installing the console on Ubuntu, open a Terminal and type the following commands:
cd <location> tar zxvf VMware-server-console-<xxx>.tar.gz cd vmware-server-console-distrib/ sudo ./vmware-install.pl
Replace <location>
with the path of the directory where you saved the archive, and replace <xxx>
with the version number of the package you downloaded. After having run the installer, press Alt + F2
, type gksudo vmware
and press Run to start the Server Console application.
Additional Resources
- UbuntuHelp:VMware/Player
- UbuntuHelp:VMware/Esx
- UbuntuHelp:VMware/Workstation
- How to copy an existing Windows installation to a VM
- Use free VMware Converter to copy a physical installation to virtual
CategoryDocumentation CategoryCleanup