个人工具

“UbuntuHelp:VMware/Player”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第24行: 第24行:
 
<ol><li>When the uninstall process is finished, the graphical installer will present the option to re-install [[UbuntuHelp:VMware|VMware]] Player. Just press the Cancel button to quit the graphical installer and the [[UbuntuHelp:VMware|VMware]] Player uninstall process is done.</li></ol>
 
<ol><li>When the uninstall process is finished, the graphical installer will present the option to re-install [[UbuntuHelp:VMware|VMware]] Player. Just press the Cancel button to quit the graphical installer and the [[UbuntuHelp:VMware|VMware]] Player uninstall process is done.</li></ol>
  
 +
=== Installing VMware Player on Ubuntu 9.04  ===
 +
<ol><li>Install required packages ''build-essential'' and ''linux-headers'' <pre><nowiki>
 +
sudo aptitude install build-essential linux-headers-`uname -r`
 +
</nowiki></pre>
 +
</li><li>[http://www.vmware.com/download/player/ Download the latest [[UbuntuHelp:VMware|VMware]] player] e.g. `[[UbuntuHelp:VMware|VMware]]-Player-2.5.2-156735.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 [[UbuntuHelp:VMware|VMware]] player for you.<pre><nowiki>
 +
gksudo bash ./VMware-Player-2.5.2-156735.i386.bundle
 +
</nowiki></pre></li></ol>
 +
 +
If nothing appears, you may need to make the file executable. You can do so with this command:
 +
<code><nowiki>chmod +x ./VMware-Player-2.5.1-126130.i386.bundle</nowiki></code>
 +
After completion, [[UbuntuHelp:VMware|VMware]] player is installed and should show up in the menu under '''Applications''' → '''System Tools''' → '''[[UbuntuHelp:VMware|VMware]] Player'''.
 
=== Creating Virtual Machine installations ===
 
=== Creating Virtual Machine installations ===
 
==== Creating A Windows XP Virtual Machine ====
 
==== Creating A Windows XP Virtual Machine ====
第50行: 第61行:
 
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!''
 
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!''
 
----
 
----
[[category:CategoryCleanup]]
 
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2009年11月17日 (二) 21:06的版本


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/8.10. 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 VMware Player software, keep on reading.

Installing VMware Player on Ubuntu 8.04 LTS and Ubuntu 8.10

  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.1-126130.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.1-126130.i386.bundle
    

If nothing appears, you may need to make the file executable. You can do so with this command: chmod +x ./VMware-Player-2.5.1-126130.i386.bundle After completion, VMware player is installed and should show up in the menu under ApplicationsSystem ToolsVMware Player.

Uninstalling VMware Player on Ubuntu 8.04 LTS and Ubuntu 8.10

  1. Run the following command to get to the graphical installer
    gksudo bash ./VMware-Player-2.5.1-126130.i386.bundle
    

The graphical installer will automatically uninstall VMware Player.

  1. When the uninstall process is finished, the graphical installer will present the option to re-install VMware Player. Just press the Cancel button to quit the graphical installer and the VMware Player uninstall process is done.

Installing VMware Player on Ubuntu 9.04

  1. Install required packages build-essential and linux-headers
    sudo aptitude install build-essential linux-headers-`uname -r`
    
  2. Download the latest VMware player e.g. `VMware-Player-2.5.2-156735.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.2-156735.i386.bundle
    

If nothing appears, you may need to make the file executable. You can do so with this command: chmod +x ./VMware-Player-2.5.1-126130.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. The Ubuntu 8.10 appliance is available from VM Planet. The Ubuntu 9.04 appliance is available from VM Planet. 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!