特殊:Badtitle/NS100:Virtualisation
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Virtualisation }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/af | • {{#if: UbuntuHelp:Virtualisation|Afrikaans| [[::Virtualisation/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/ar | • {{#if: UbuntuHelp:Virtualisation|العربية| [[::Virtualisation/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/az | • {{#if: UbuntuHelp:Virtualisation|azərbaycanca| [[::Virtualisation/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/bcc | • {{#if: UbuntuHelp:Virtualisation|جهلسری بلوچی| [[::Virtualisation/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/bg | • {{#if: UbuntuHelp:Virtualisation|български| [[::Virtualisation/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/br | • {{#if: UbuntuHelp:Virtualisation|brezhoneg| [[::Virtualisation/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/ca | • {{#if: UbuntuHelp:Virtualisation|català| [[::Virtualisation/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/cs | • {{#if: UbuntuHelp:Virtualisation|čeština| [[::Virtualisation/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/de | • {{#if: UbuntuHelp:Virtualisation|Deutsch| [[::Virtualisation/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/el | • {{#if: UbuntuHelp:Virtualisation|Ελληνικά| [[::Virtualisation/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/es | • {{#if: UbuntuHelp:Virtualisation|español| [[::Virtualisation/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/fa | • {{#if: UbuntuHelp:Virtualisation|فارسی| [[::Virtualisation/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/fi | • {{#if: UbuntuHelp:Virtualisation|suomi| [[::Virtualisation/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/fr | • {{#if: UbuntuHelp:Virtualisation|français| [[::Virtualisation/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/gu | • {{#if: UbuntuHelp:Virtualisation|ગુજરાતી| [[::Virtualisation/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/he | • {{#if: UbuntuHelp:Virtualisation|עברית| [[::Virtualisation/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/hu | • {{#if: UbuntuHelp:Virtualisation|magyar| [[::Virtualisation/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/id | • {{#if: UbuntuHelp:Virtualisation|Bahasa Indonesia| [[::Virtualisation/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/it | • {{#if: UbuntuHelp:Virtualisation|italiano| [[::Virtualisation/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/ja | • {{#if: UbuntuHelp:Virtualisation|日本語| [[::Virtualisation/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/ko | • {{#if: UbuntuHelp:Virtualisation|한국어| [[::Virtualisation/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/ksh | • {{#if: UbuntuHelp:Virtualisation|Ripoarisch| [[::Virtualisation/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/mr | • {{#if: UbuntuHelp:Virtualisation|मराठी| [[::Virtualisation/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/ms | • {{#if: UbuntuHelp:Virtualisation|Bahasa Melayu| [[::Virtualisation/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/nl | • {{#if: UbuntuHelp:Virtualisation|Nederlands| [[::Virtualisation/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/no | • {{#if: UbuntuHelp:Virtualisation|norsk| [[::Virtualisation/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/oc | • {{#if: UbuntuHelp:Virtualisation|occitan| [[::Virtualisation/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/pl | • {{#if: UbuntuHelp:Virtualisation|polski| [[::Virtualisation/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/pt | • {{#if: UbuntuHelp:Virtualisation|português| [[::Virtualisation/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/ro | • {{#if: UbuntuHelp:Virtualisation|română| [[::Virtualisation/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/ru | • {{#if: UbuntuHelp:Virtualisation|русский| [[::Virtualisation/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/si | • {{#if: UbuntuHelp:Virtualisation|සිංහල| [[::Virtualisation/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/sq | • {{#if: UbuntuHelp:Virtualisation|shqip| [[::Virtualisation/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/sr | • {{#if: UbuntuHelp:Virtualisation|српски / srpski| [[::Virtualisation/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/sv | • {{#if: UbuntuHelp:Virtualisation|svenska| [[::Virtualisation/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/th | • {{#if: UbuntuHelp:Virtualisation|ไทย| [[::Virtualisation/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/tr | • {{#if: UbuntuHelp:Virtualisation|Türkçe| [[::Virtualisation/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/vi | • {{#if: UbuntuHelp:Virtualisation|Tiếng Việt| [[::Virtualisation/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/yue | • {{#if: UbuntuHelp:Virtualisation|粵語| [[::Virtualisation/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/zh | • {{#if: UbuntuHelp:Virtualisation|中文| [[::Virtualisation/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/zh-hans | • {{#if: UbuntuHelp:Virtualisation|中文(简体)| [[::Virtualisation/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Virtualisation | UbuntuHelp:Virtualisation | {{#if: | :}}Virtualisation}}/zh-hant | • {{#if: UbuntuHelp:Virtualisation|中文(繁體)| [[::Virtualisation/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Virtualisation|:Virtualisation|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Virtualisation/zh | | {{#ifexist: Virtualisation/zh | | {{#ifeq: {{#titleparts:Virtualisation|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Virtualisation|1|-1|}} | zh | | }}
Introduction
Ubuntu is a great OS for use in both virtualisation hosts and in guest virtual machines and software appliances. Virtualization simply means the running of another OS within a host OS, through the usage of a special "hypervisor" application which handles everything about how the guest OS operates within (and with) the host system. "Guest" OSes are typically installed to virtual drives; large and expanding (typically) files to which a the guest OS is installed in the same way that one would install the same OS to a hard disk. The guest OS then runs from that virtual drive. Another configuration, not recommended for beginners or those with high-value systems (always backup your data), is the running of a guest OS from another hard drive partition. This mode is called "raw disk" and requires special setup; using a small virtual "drive" file (for example in vmdk format) as an interface to the hard disk, and special commands which handle certain aspects of that system's startup.
Hosts
There are quite a few virtualisation platforms you can use a Ubuntu host with:
Open Source
- KVM (Kernel Virtual Machine) - the officially maintained choice
- Official documentation
- Community documentation
- OpenVZ
- Qemu
- VirtualBox
- XenVirtualMachine
Proprietary
- Parallels
- VMware (https://help.ubuntu.com/community/VMware)
- JumpBox uses Ubuntu as the OS in their guest appliances.
Guests
- Ubuntu can be used as a guest OS in all of the above virtualisation environments.
- Ubuntu Server Edition JeOS is a specialized version of Ubuntu to create Virtual Appliances for KVM or VMWare.
- python-vm-builder is a tool which allows you to automate the creation of virtual machine. The the JeOSVMBuilder tutorial for more information.