查看“模板:Lucid/Virtualization”的源代码
来自Ubuntu中文
←
模板:Lucid/Virtualization
跳到导航
跳到搜索
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
= Virtualization = Virtualization allows a second operating system (OS), such as Windows or OS X, to be run from within (K)Ubuntu. This requires extra RAM (because both (K)Ubuntu and the virtualized second OS require separate amounts of RAM) and a license for the second OS. If you wish to run a virtualized instance of Windows XP, for instance, you must have a license for Windows XP. === VirtualBox === [http://www.virtualbox.org/ VirtualBox] is a fast and complete virtualization solution owned and maintained by Sun Microsystems. There is a free and fully open-source edition available under the GNU GPL license. *Install the open-source edition: sudo apt-get install virtualbox-ose virtualbox-ose-source virtualbox-guest-additions *You can also add the QT-version (if using KDE/Kubuntu, for example): sudo apt-get install virtualbox-ose-qt *Start VirtualBox: :Menu -> VirtualBox OSE PC virtualization solution For usage instructions, see the [http://www.virtualbox.org/wiki/End-user_documentation End-user documentation]. For information on installing Virtualbox in Windows so that Ubuntu can then be installed within in a virtual machine running in Windows, see [[Virtualbox_in_Windows|this page]]. ==== Proprietary versions of VirtualBox ==== A few [http://www.virtualbox.org/wiki/Editions additional features] that are not yet in the OSE version, such as a USB device interface, are available in the proprietary version of VirtualBox. To [http://www.virtualbox.org/wiki/Linux_Downloads install a proprietary edition] of VirtualBox: *Add the security key: wget -q <nowiki>http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc</nowiki> -O- | sudo apt-key add - *Add the repository string to your [[#Add Extra Repositories|repository list]] and update: echo "deb <nowiki>http://download.virtualbox.org/virtualbox/debian</nowiki> lucid non-free" | sudo tee /etc/apt/sources.list.d/virtualbox.list sudo apt-get update *Install: sudo apt-get install virtualbox === VMWare === [http://www.vmware.com/ VMWare] is a commercial virtualization platform that currently offers two free products: VMWare Player and [http://www.vmware.com/download/server/ VMWare Server] (the latter with a free renewable yearly license). VMWare Player can play virtual appliances that have already been created, whereas VMWare Server (which has a broader range of features) allows the creation of virtual machines. In general, VMWare Server is recommended unless you only need to play an appliance. (Appliances will also run in VMWare Server). Users that wish to run servers (or processes) that need to be available to a network from within the virtual machine should use VMServer. If you wish to install a new OS within a virtual machine (other than in an appliance), you will need VMWare Server. ==== VMWare Player ==== Installation instructions are on the website, or at [https://help.ubuntu.com/community/VMware/Player the Ubuntu community wiki]. In brief, to install the free VMWare Player: *Install pre-requisites: sudo apt-get install build-essential linux-headers-$(uname -r) *Get the binary package/installation script, give it executable privileges, then run the installation script: wget <nowiki>http://download3.vmware.com/software/vmplayer/VMware-Player-2.5.3-185404.i386.bundle</nowiki> chmod +x VMware-Player-2.5.3-185404.i386.bundle sudo ./VMware-Player-2.5.3-185404.i386.bundle *Run: :Applications -> System Tools -> VMWare Player ==== Create an Ubuntu Appliance ==== While any edition of Ubuntu can be installed in a virtual machine, the minimal installation option (F4) of the Ubuntu Server creates a highly-efficient edition (previously known as JeOS) optimised for use within a virtual appliance (which can then be played using VMWare Player or other virtual machine client). See this [[Virtualbox_in_Windows#Install_Ubuntu_edition_for_virtual_machines|walkthrough]]. A virtual appliance for VMWare Player (using this JeOS minimal server) can also be built using [https://help.ubuntu.com/10.04/serverguide/C/jeos-and-vmbuilder.html vmbuilder]. ==== VMWare Server ==== *Install pre-requisites: sudo apt-get install build-essential linux-headers-$(uname -r) *Download the server source files for your architecture (32-bit or 64-bit) from the [http://www.vmware.com/download/server/ VMWare Server website] and retrieve your license key by email. *Extract the files, give execution privileges to the install script, and run the install script: tar xvf VMware-server-2.0.1-156745.i386.tar.gz cd vmware-server-distrib chmod +x vmware-install.pl sudo ./vmware-install.pl ===== VMWare Package ===== VMWare Appliances (that include an Ubuntu/Debian OS) can be created using VMWare Server and the VMWare Package utility. These appliances can then be deployed to users who can play them using VMWare Player. Install: sudo apt-get install vmware-package ==== Keyboard errors in VMware guest ==== After installing VMWare 6.5, and installing a guest OS, the Function, arrow and Del/End/etc keys do not function. This is a bug with VMWare´s code. Add this line to ~/.vmware/config (create file if necessary) to fix this issue: xkeymap.nokeycodeMap = true === KVM === [http://www.linux-kvm.org/page/Main_Page KVM] is the free open source virtualization solution implemented as a Linux kernel module (in the recent kernels) for computers whose processors contain virtualization extensions (Intel VT or AMD-V). See the [https://help.ubuntu.com/community/KVM/Installation Ubuntu installation instructions]. Install: sudo apt-get install kvm === Qemu (without KVM) === If your computer does not have the virtualization extensions, you can still run the QEMU virtualization platform. See [https://help.ubuntu.com/community/WindowsXPUnderQemuHowTo this Ubuntu community documentation]. It can be [http://www.qemu.org/qemu-doc.html#SEC82 installed from source code]. === Xen === [http://www.xen.org/ Xen] is an efficient open-source virtualization ("hypervisor") platform (which includes a merge with QEMU). It is the basis for the Amazon EC2 Cloud and is generally intended for use on a server (or on "baremetal" systems, i.e. no OS yet installed). It is free open source under a GPL license. The latest desktop (and installation instructions) is available from the website. (A commercial version is also offered by Citrix.) Implementation in Ubuntu requires some modification, currently. For more info, see the [https://help.ubuntu.com/community/Xen Ubuntu community documentation]. Install: sudo apt-get install xen-hypervisor xen-docs convirt A [[#Xen virtual machine host|Xen virtual machine host]] can also be installed automatically with [[#Xen virtual machine host|certain 64-bit CPUs]], using the 64-bit Ubuntu [[#Servers|Server]] LiveCD. (A (K)Ubuntu desktop can then later be added -- see [[#Servers|Ubuntu server]]). === Virtual Machine Manager === [http://virt-manager.et.redhat.com/ Virtual Machine Manager] is an application to allow viewing of all instances of virtual machines on your system. It includes a secure implementation of VNC. This and other virtual management tools are available as an integrated package in (K)Ubuntu. Install: sudo apt-get install ubuntu-virt-mgmt === Crossover for Linux === Codeweavers' [http://www.codeweavers.com/products/cxlinux/ Crossover Office for Linux] is a subscription-based commercial package that allows many Windows programs to be run on Ubuntu without the need for a Microsoft OS license or a complete virtualization system. See the website for more info. Codeweavers releases older versions of this product into the free package Wine. === Wine === [http://www.winehq.org/ Wine] is a free open-source package that is similar to (and implements many elements of) CrossOver for Linux. Like CrossOver for Linux, no Microsoft license or virtualization platform is required to run Windows programs. See [http://www.winehq.org/download/deb these instructions] for installing the latest version of Wine. sudo apt-get install wine Also consider installing Microsoft's TrueType fonts: sudo apt-get install msttcorefonts ==== PlayOnLinux ==== [http://www.playonlinux.com/ PlayOnLinux] is a Wine frontend which simplifies the installation and launch of many Windows programs, particularly games. Install: sudo apt-get install playonlinux ===== Internet Explorer 7 ===== Internet Explorer 7 can be installed with PlayOnLinux. Select "Internet Explorer 7" from the "Internet" section of PlayonLinux. ==== Internet Explorer 6 & 7==== Internet Explorer 6 & 7 can function under Wine, albeit imperfectly. For most purposes, Firefox can be used (with the User Agent Switcher plugin) to mimic Internet Explorer. *Make sure you have [[#Wine|Wine]] and cabextract packages: sudo apt-get install wine cabextract *Download the [http://wiki.winehq.org/winetricks Winetricks] installation script: wget <nowiki>http://winezeug.googlecode.com/svn/trunk/winetricks</nowiki> *Install with winetricks: sudo ./winetricks ie6 sudo ./winetricks ie7 Note: Winetricks is automatically installed with the [http://www.winehq.org/download/deb current version of Wine]. == Transgaming Cedega == [http://www.transgaming.com/ Cedega] is a commercial application (similar to CrossOver Office and Wine), for installing and running some Windows applications, specifically games, without the need for virtualization or a Microsoft license. It provides 3D support, software acceleration support, and a high level of DirectX support. Installation instructions are found on the website. == Mono == [http://www.mono-project.com/Main_Page Mono] is a free open source project sponsored by Novell to allow .NET programs to function in Linux ((K)Ubuntu) and Mac OS X. . Several GNOME applications (like Tomboy, F-Spot, and Banshee) require mono to be installed, so mono may already be installed by default on your system. The most recent version is available [http://www.mono-project.com/Other_Downloads here]. sudo apt-get install mono-2.0-devel === Moonlight === * See [[#Moonlight plugin for Firefox|Moonlight plugin for Firefox]] == DosBox == [http://www.dosbox.com/ DOSBox] is a DOS-emulator that emulates CPU:286/386 realmode/protected mode, Directory FileSystem/XMS/EMS, Tandy/Hercules/CGA/EGA/VGA/VESA graphics, and a SoundBlaster/Gravis Ultra Sound card (for sound compatibility with older games). You can "re-live" classic games that otherwise won't run on newer computers. sudo apt-get install dosbox == ScummVM == [http://scummvm.org/ ScummVM] allows certain classic graphical point-and-click adventure games to run (provided you already have their data files). ScummVM replaces the executables shipped with the games, allowing play on Linux operating systems (for which they were not originally designed). sudo apt-get install scummvm
返回
模板:Lucid/Virtualization
。
导航菜单
页面操作
模板
讨论
阅读
查看源代码
历史
页面操作
模板
讨论
更多
工具
个人工具
登录
导航
首页
最近更改
随机页面
页面分类
帮助
搜索
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息