特殊:Badtitle/NS100:VMware/Player

来自Ubuntu中文
Wikibot留言 | 贡献2008年10月20日 (一) 01:04的版本
跳到导航跳到搜索

{{#ifexist: :VMware/Player/zh | | {{#ifexist: VMware/Player/zh | | {{#ifeq: {{#titleparts:VMware/Player|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:VMware/Player|1|-1|}} | zh | | }}

VMware Player allows you to run entire operating systems in a virtual machine, which runs on top of Ubuntu or Windows. To the guest operating system (the one running inside the virtual machine), it appears as though it were running on its own PC. The host operating system runs the VMware Player, which provides the guest with things like network access. VMware Player is available from Ubuntu's Multiverse repository (in 6.06 LTS through 7.04), but is not included in Ubuntu 8.04. It can be downloaded for free from VMware. Virtual machines configured with an operating system and applications ready to perform a specific function are called virtual appliances. An appliance can be created using certain VMware products, or you can download ready-made appliances. A wide variety of appliances (both certified and not) are available from VMware's Appliance Marketplace: [1] If you are a Windows (or other operating system) user looking for an official Ubuntu appliance to run, you will want to read only the last section. If you are an Ubuntu user who wishes to install or use the VWMare Player software, keep on reading.

Installing VMware Player on Ubuntu 8.04 LTS

  1. Install required packages build-essential, linux-kernel-headers and linux-kernel-devel
    sudo aptitude install build-essential linux-kernel-headers linux-kernel-devel
    
  2. Download the latest VMware player e.g. `VMware-Player-2.5.0-118166.i386.bundle` (download the bundle version, not the rpm one) and run it as root using gksudo. You'll get a graphical installer that installs VMware player for you.
    gksudo bash ./VMware-Player-2.5.0-118166.i386.bundle
    

After completion, VMware player is installed and should show up in the menu under ApplicationsSystem ToolsVMware Player.

Creating Virtual Machine installations

Creating A Windows XP Virtual Machine

  1. Get a virtual machine image.
  2. For Windows XP, download and unzip attachment:WindowsXPVirtualMachine.zip. This is a blank image ready to run Windows XP, using 384MB of RAM. Pop your Windows CD in the drive before continuing on to the next step.
  3. Run VMware Player. Click ApplicationsSystem ToolsVMware Player. Choose Open an Existing Virtual Machine and select the .vmx file you extracted from the zip.

VMware Player will start to boot, and should automatically start from the Windows CD in your drive. Install Windows as normal. When installation is complete, you'll have a working Windows XP install you can run nearly all desktop and server applications inside Ubuntu.

Creating other images

To create your own blank images - perhaps with more RAM, or to install a different OS, visit http://www.easyvmx.com. Choose the OS you want to run, an amount of RAM, and save and unzip the resulting zip file provided by the website. Then pop the CD for the OS you'd like to install in your CD drive. You may also be interested a selection of images at [2].

Improving Performance

You can improve performance by using the VMware/Tools.

  • Download the latest VMware Workstation for Linux from http://www.vmware.com/download/ws/ and extract the windows.iso file containing the VMware tools.
  • Edit edit your .vmx file pointing the CD-ROM to the windows.iso, and start the OS, an automated setup will guide you inside windows.

Downloading an Official Ubuntu "Appliance" to try Ubuntu as a virtual machine on a non-Ubuntu OS

Have you been thinking about running Ubuntu, but are afraid to take the "plunge"? Fear not, for you can use Ubuntu without installing it and without even rebooting! Like any other VMware Player appliance, Ubuntu appliances are just a couple of files on your PC. All of your Ubuntu software will be contained within these files and not on your PC. It is possible to copy files to your PC or to save them to your PC from a program running under the appliance, but you must specifically do so. For more information on using a VMware appliance, please consult VMware's documentation at [3]. Official Ubuntu VMware Player appliances are available for download. They are not very well documented in the download page, but are available on Ubuntu's ISV-Image server: [4]. There you'll find appliances for Ubuntu from version 5.10 up till version 7.10. The Ubuntu 8.04 appliance is available from VMware's appliance site. You will, of course, need to have VMware Player installed to run the appliance. Once you've downloaded the (compressed) Ubuntu appliances, unzip them using the unzip software of your choice, double-click and enjoy! Please note that, as mentioned above, all of the files you save under the Ubuntu appliance and not on your PC will be contained within the appliance and will go away if you delete the appliance!