个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/VMware}}
 
{{From|https://help.ubuntu.com/community/VMware}}
 
{{Languages|UbuntuHelp:VMware}}
 
{{Languages|UbuntuHelp:VMware}}
Consider using Qemu instead, which is free software, see [[UbuntuHelp:Installation/QemuEmulator|Installation/QemuEmulator]].
+
== Introduction ==
== Introduction简介 ==
+
[[UbuntuHelp:VMware|VMware]] is well known and has a reputation for ease of use. Many of its core products are free of charge (but not open source).  
 
+
Also note that with AMD x86_64 it is necessary to install ia32-libs.
'''VMware''' is well known and has a reputation for ease of use. Many of its core products are free of charge (but not open source). Also note that with AMD x86_64 it is necessary to install ia32-libs.
+
* [[UbuntuHelp:VMware/Player|[[UbuntuHelp:VMware|VMware]] Player]] is the most basic version of [[UbuntuHelp:VMware|VMware]] available. It's designed to play existing VM images. There are many existing, downloadable images for free Operating Systems. In addition, sites like [http://www.easyvmx.com EasyVMX] allow for free creation of new VMXs, allowing Windows to be installed and ran in [[UbuntuHelp:VMware|VMware]] player.
 
+
* [[UbuntuHelp:VMware/Workstation|[[UbuntuHelp:VMware|VMware]] Workstation]] is more advanced, including an inbuilt VM creator, and snapshots to capture an OS at a point in time. With VMWare workstation you can also [[UbuntuHelp:VMware/Workstation/NativeVirtualMachine|use an existing physical partition as a virtual machine]]. [[UbuntuHelp:VMware|VMware]] workstation requires a paid license to use.
VMware 以其易于使用而著名。该公司许多核心的产品都是免费提供(但不是开源的)。同时,需要注意的是如果cpu为AMD x86_64,则需要安装ia32-libs。<br>
+
* [[UbuntuHelp:VMware/Server|[[UbuntuHelp:VMware|VMware]] Server]] is aimed at hosting virtual servers (as the name suggests), including a configuration console and web based configuration access. This is also free from [[UbuntuHelp:VMware|VMware]]. AMD64 users should also see [[UbuntuHelp:VMware/Server/AMD64|VMware/Server/AMD64]]
 
+
* [[UbuntuHelp:VMware/Player|'''VMware''' Player]] is the most basic version of '''VMware''' available. It's designed to play existing VM images. There are many existing, downloadable images for free Operating Systems. In addition, sites like[http://www.easyvmx.com EasyVMX] allow for free creation of new VMXs, allowing Windows to be installed and ran in '''VMware''' player.
+
* [[UbuntuHelp:VMware/Player|VMware Player]] 是一个基础的VMware运行软件。用于运行已经存在的VM镜像文件。互联网中可以找到很多已经制作好的供下载的免费操作系统镜像文件。除此之外,类似 [http://www.easyvmx.com EasyVMX]的网站也提供免费制作VM镜像文件的服务,允许Windows系统被制作成镜像文件并在VMware中运行(也可以下载安装VMware免费提供的VMware Converter制作镜像,译者注)。
+
*
+
* [[UbuntuHelp:VMware/Workstation|'''VMware''' Workstation]] is more advanced, including an inbuilt VM creator, and snapshots to capture an OS at a point in time. With VMWare workstation you can also [[UbuntuHelp:VMware/Workstation/NativeVirtualMachine|use an existing physical partition as a virtual machine]]. '''VMware''' workstation requires a paid license to use.
+
* [[UbuntuHelp:VMware/Server|'''VMware''' Server]] is aimed at hosting virtual servers (as the name suggests), including a configuration console and web based configuration access. This is also free from '''VMware'''. AMD64 users should also see [[UbuntuHelp:VMware/Server/AMD64|VMware/Server/AMD64]]
+
 
+
 
=== Installing Ubuntu in a Virtual Machine ===
 
=== Installing Ubuntu in a Virtual Machine ===
 
 
* Download Ubuntu .iso
 
* Download Ubuntu .iso
 
* Create a new VM with vmware server or workstation
 
* Create a new VM with vmware server or workstation
 
* Directions to create image for vmware-player using qemu-img should be linked here
 
* Directions to create image for vmware-player using qemu-img should be linked here
 
+
==== Installing [[UbuntuHelp:VMware|VMware]] tools ====
==== Installing '''VMware''' tools ====
+
VMware tools allows you to sync your virtual machine, run scripts on stopping, and do a few other things. What's missing, seemingly, is the ability to use the mouse without capturing focus first.
 
+
As of now, there is no .deb available, so run the following commands:
VMware tools allows you to sync your virtual machine, run scripts on stopping, and do a few other things. What's missing, seemingly, is the ability to use the mouse without capturing focus first. As of now, there is no .deb available, so run the following commands:
+
<pre><nowiki> sudo apt-get install build-essential
<pre>sudo apt-get install build-essential
+
sudo apt-get install linux-headers-`uname -r` </nowiki></pre>
sudo apt-get install linux-headers-`uname -r`</pre>  
+
 
The vmtools rely on the <code><nowiki>config.h</nowiki></code> header file, which does not exist anymore with recent kernels. As a workaround, you'll have to create a dummy file:
 
The vmtools rely on the <code><nowiki>config.h</nowiki></code> header file, which does not exist anymore with recent kernels. As a workaround, you'll have to create a dummy file:
<pre>sudo touch /usr/src/linux-headers-`uname -r`/include/linux/config.h
+
<pre><nowiki>
</pre>  
+
sudo touch /usr/src/linux-headers-`uname -r`/include/linux/config.h
Now you’ll want to navigate to the VM \ Install VMware Tools menu within your virutal machine This will mount the vmware tools in Ubuntu so that you can begin the install. To install the tools, copy the .tar.gz to your desktop. Right-click it and "extract here". Now open a terminal and type
+
</nowiki></pre>
<pre>sudo ./Desktop/vmware&lt;tab&gt;/vmware-install.pl -d"  
+
Now you’ll want to navigate to the VM \ Install VMware Tools menu within your virutal machine
</pre>  
+
This will mount the vmware tools in Ubuntu so that you can begin the install. To install the tools, copy the .tar.gz to your desktop. Right-click it and "extract here". Now open a terminal and type
* (please note the &lt;tab&gt; means to actually hit the tab key to enable autocomplete to finish the foldername).
+
<pre><nowiki>
 
+
sudo ./Desktop/vmware<tab>/vmware-install.pl -d"  
Reboot your virtual machine when finished. After rebooting, you can run vmware tools config
+
</nowiki></pre>
<pre>vmware-toolbox
+
* (please note the <tab> means to actually hit the tab key to enable autocomplete to finish the foldername).
</pre>  
+
Reboot your virtual machine when finished. After rebooting, you can run vmware tools config
* Also note that vmware-toolbox has to be running for the mouse to be able to jump back and forth between the guest os and host os without hitting ctrl+alt. This is not ideal, but you could use 'alltray' to get the vmware-toolbox to the tray instead of the taskbar. It's also GTK1... bleh!
+
<pre><nowiki>
 
+
vmware-toolbox
 +
</nowiki></pre>
 +
* Also note that vmware-toolbox has to be running for the mouse to be able to jump back and forth between the guest os and host os without hitting ctrl+alt. This is not ideal, but you could use 'alltray' to get the vmware-toolbox to the tray instead of the taskbar. It's also GTK1... bleh!
 
== Support ==
 
== Support ==
 
* [[UbuntuHelp:VMware/Tools|VMware/Tools]] - Various tools to improve performance and usage of VMware products.
 
* [[UbuntuHelp:VMware/Tools|VMware/Tools]] - Various tools to improve performance and usage of VMware products.

2008年4月23日 (三) 12:02的版本


Introduction

VMware is well known and has a reputation for ease of use. Many of its core products are free of charge (but not open source). Also note that with AMD x86_64 it is necessary to install ia32-libs.

  • [[UbuntuHelp:VMware/Player|VMware Player]] is the most basic version of VMware available. It's designed to play existing VM images. There are many existing, downloadable images for free Operating Systems. In addition, sites like EasyVMX allow for free creation of new VMXs, allowing Windows to be installed and ran in VMware player.
  • [[UbuntuHelp:VMware/Workstation|VMware Workstation]] is more advanced, including an inbuilt VM creator, and snapshots to capture an OS at a point in time. With VMWare workstation you can also use an existing physical partition as a virtual machine. VMware workstation requires a paid license to use.
  • [[UbuntuHelp:VMware/Server|VMware Server]] is aimed at hosting virtual servers (as the name suggests), including a configuration console and web based configuration access. This is also free from VMware. AMD64 users should also see VMware/Server/AMD64

Installing Ubuntu in a Virtual Machine

  • Download Ubuntu .iso
  • Create a new VM with vmware server or workstation
  • Directions to create image for vmware-player using qemu-img should be linked here

Installing VMware tools

VMware tools allows you to sync your virtual machine, run scripts on stopping, and do a few other things. What's missing, seemingly, is the ability to use the mouse without capturing focus first. As of now, there is no .deb available, so run the following commands:

 sudo apt-get install build-essential
sudo apt-get install linux-headers-`uname -r` 

The vmtools rely on the config.h header file, which does not exist anymore with recent kernels. As a workaround, you'll have to create a dummy file:

sudo touch /usr/src/linux-headers-`uname -r`/include/linux/config.h

Now you’ll want to navigate to the VM \ Install VMware Tools menu within your virutal machine This will mount the vmware tools in Ubuntu so that you can begin the install. To install the tools, copy the .tar.gz to your desktop. Right-click it and "extract here". Now open a terminal and type

sudo ./Desktop/vmware<tab>/vmware-install.pl -d" 
  • (please note the <tab> means to actually hit the tab key to enable autocomplete to finish the foldername).

Reboot your virtual machine when finished. After rebooting, you can run vmware tools config

vmware-toolbox
  • Also note that vmware-toolbox has to be running for the mouse to be able to jump back and forth between the guest os and host os without hitting ctrl+alt. This is not ideal, but you could use 'alltray' to get the vmware-toolbox to the tray instead of the taskbar. It's also GTK1... bleh!

Support