个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示同一用户的9个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/VMware/Player}}
 
{{From|https://help.ubuntu.com/community/VMware/Player}}
 
{{Languages|UbuntuHelp:VMware/Player}}
 
{{Languages|UbuntuHelp:VMware/Player}}
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 (the one running VMWare Player) runs the VMWare software, which provides the guest with things like network access.  VMWare Player is available from Ubuntu's Multiverse repository or can be downloaded for free from [http://www.vmware.com/products/player/ VMware].
+
[[UbuntuHelp:VMware|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 [[UbuntuHelp:VMware|VMware]] Player, which provides the ''guest'' with things like network access.  [[UbuntuHelp:VMware|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 [http://www.vmware.com/products/player/ VMware].
The virtual machines which can run under VMWare Player are called '''appliances''' and can either be created with several of VMWare's products or else one may download appliances from the Internet or from VMWare directly.  A wide variety of appliances (both certified and not) are available from VMWare's Appliance Marketplace: [http://www.vmware.com/vmtn/appliances/]
+
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 [[UbuntuHelp:VMware|VMware]] products, or you can download ready-made appliances.  A wide variety of appliances (both certified and not) are available from [[UbuntuHelp:VMware|VMware]]'s Appliance Marketplace: [http://www.vmware.com/vmtn/appliances/]
If you are a Windows (or other operating system) user looking for an official Ubuntu ''appliance'' to run, you will want to read the first section.
+
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'', you will want to read the rest of this page.
+
If you are an Ubuntu user who wishes to install or use the [[UbuntuHelp:VMware|VMware]] Player ''software'', keep on reading.
=== Downloading an Official Ubuntu "Appliance" ===
+
=== Installing VMware Player on Ubuntu 8.04 LTS and Ubuntu 8.10 ===
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''
+
<ol><li>Install required packages ''build-essential, linux-kernel-headers'' and ''linux-kernel-devel'' <pre><nowiki>
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 [http://www.vmware.com/support/pubs/player_pubs.html].
+
sudo aptitude install build-essential linux-kernel-headers linux-kernel-devel
Official Ubuntu VMWare Player appliances are available for downloadThey are not very well documented in the download page, but are available on Ubuntu's ISV-Image server: [http://isv-image.ubuntu.com/vmware/]. 
+
</nowiki></pre>
Most likely, you will want the latest desktop image for 32-bit Intel or AMD computers [http://isv-image.ubuntu.com/vmware/Ubuntu-7.04-desktop-i386.zip] or else 64-bit Intel or AMD computers [http://isv-image.ubuntu.com/vmware/Ubuntu-7.04-desktop-amd64.zip]
+
</li><li>[http://www.vmware.com/download/player/ Download the latest VMware player] e.g. `[[UbuntuHelp:VMware|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 [[UbuntuHelp:VMware|VMware]] player for you.<pre><nowiki>
You will, of course, need to have VMWare Player installed already.
+
gksudo bash ./VMware-Player-2.5.1-126130.i386.bundle
Once you've downloaded the (compressed) Ubuntu appliances, unzip them using the unzip software of your choice, and then double-click the output file and enjoy!
+
</nowiki></pre></li></ol>
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!''
+
 
=== Installing VMware Player ===
+
If nothing appears, you may need to make the file executable. You can do so with this command:
* Install the '''vmware-player''' and '''kernel modules''' packages. See [[UbuntuHelp:InstallingSoftware|Installing Software]].
+
<code><nowiki>chmod +x ./VMware-Player-2.5.1-126130.i386.bundle</nowiki></code>
* Get a VM. For Windows XP, download and unzip [https://help.ubuntu.com/community/VMware/Player?action=AttachFile&do=get&target=WindowsXPVirtualMachine.zip%5D. 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.  
+
After completion, [[UbuntuHelp:VMware|VMware]] player is installed and should show up in the menu under '''Applications''' → '''System Tools''' → '''[[UbuntuHelp:VMware|VMware]] Player'''.
 +
=== Uninstalling VMware Player on Ubuntu 8.04 LTS and Ubuntu 8.10 ===
 +
<ol><li>Run the following command to get to the graphical installer<pre><nowiki>
 +
gksudo bash ./VMware-Player-2.5.1-126130.i386.bundle
 +
</nowiki></pre></li></ol>
 +
 
 +
The graphical installer will automatically uninstall [[UbuntuHelp:VMware|VMware]] Player.
 +
NOTE: It doesn't look like this approach works on the newest version of [[UbuntuHelp:VMware|VMware]] Player i.e. 3.0 I    personally am not able to uninstall this latest version using this method but it does work on earlier versions.  Great, I just found this working solution: <pre><nowiki>
 +
sudo bash vmware-installer -u vmware-player
 +
</nowiki></pre>
 +
<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 A Windows XP Virtual Machine ====
 +
<ol><li>Get a virtual machine image.
 +
</li><li>For Windows XP, download and unzip [[UbuntuHelp:attachment:WindowsXPVirtualMachine.zip|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.
 +
</li><li>Run [[UbuntuHelp:VMware|VMware]] Player. Click '''Applications''' → '''System Tools''' → '''[[UbuntuHelp:VMware|VMware]] Player'''. Choose '''Open an Existing Virtual Machine''' and select the .vmx file you extracted from the zip.</li></ol>
 +
 
 +
[[UbuntuHelp:VMware|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.
 
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 [http://www.vmware.com/vmtn/appliances/].
 
You may also be interested a selection of images at [http://www.vmware.com/vmtn/appliances/].
* Run VMware Player. Click '''Applications''' → '''System Tools''' → '''VMware 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.
 
 
=== Improving Performance ===
 
=== Improving Performance ===
You can improve performance by using the [[UbuntuHelp:VMware/Tools]].
+
You can improve performance by using the [[UbuntuHelp:VMware/Tools|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.
+
* Download the latest [[UbuntuHelp:VMware|VMware]] Workstation for Linux from http://www.vmware.com/download/ws/ and extract the ''windows.iso'' file containing the [[UbuntuHelp:VMware|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.
 
* 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.
=== Troubleshooting ===
+
=== Downloading an Official Ubuntu "Appliance" to try Ubuntu as a virtual machine on a non-Ubuntu OS ===
If you happen to run into a message saying "A previous installation of VMware software has been detected. Failure. Execution aborted" and you are certain that VMWare is not installed, try deleting the file /etc/vmware/locations and running the vmware-install.pl file again.  
+
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 [[UbuntuHelp:VMware|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 [[UbuntuHelp:VMware|VMware]] appliance, please consult [[UbuntuHelp:VMware|VMware]]'s documentation at [http://www.vmware.com/support/pubs/player_pubs.html].
 +
Official Ubuntu [[UbuntuHelp:VMware|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: [http://isv-image.ubuntu.com/vmware/]. There you'll find appliances for Ubuntu from version 5.10 up till version 7.10.
 +
The Ubuntu 8.04 appliance is available from [http://www.vmware.com/appliances/directory/1223 VMware's appliance site].
 +
The Ubuntu 8.10 appliance is available from [http://vmplanet.net/node/79 VM Planet].
 +
The Ubuntu 9.04 appliance is available from [http://vmplanet.net/node/95 VM Planet].
 +
You will, of course, need to have [[UbuntuHelp:VMware|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!''
 +
----
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2010年5月20日 (四) 00:46的最新版本


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.

NOTE: It doesn't look like this approach works on the newest version of VMware Player i.e. 3.0 I personally am not able to uninstall this latest version using this method but it does work on earlier versions. Great, I just found this working solution:
sudo bash vmware-installer -u 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!