个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
(翻译标题)
支持
 
(未显示1个用户的5个中间版本)
第1行: 第1行:
{{Translation}}{{From|https://help.ubuntu.com/community/VMware}}{{Translator|Saser}}{{Languages|UbuntuHelp:VMware}}
+
{{Copyedit translation}}{{From|https://help.ubuntu.com/community/VMware}}{{Translator|Saser}}{{Languages|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'''是一款广为人知并且易于使用的软件。它的许多核心产品都是免费的(但不开放源代码)。另外,在AMD x86_64架构的机器上使用VMware需要安装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 [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'''系列软件最基本的版本。他只能运行已有的虚拟机镜像。网络上有很多为免费操作系统建立的虚拟机镜像可以下载。此外,像[http://www.easyvmx.com EasyVMX]这样的网站还允许用户免费创建能够安装和运行Windows的虚拟机镜像文件(VMX)。
* [[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/Workstation|'''VMware''' Workstation]] 是一款更高级版本,它能够创建虚拟机文件,还能捕捉操作系统在一个时间点上的快照。VMWare workstation还允许你[[UbuntuHelp:VMware/Workstation/NativeVirtualMachine|使用一个现有的硬盘分区建立虚拟机]]. 使用'''VMware''' workstation需要付费购买授权。
* [[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]]
+
* [[UbuntuHelp:VMware/Server|'''VMware''' Server]] 是用来假设虚拟服务器的软件(顾名思义),它包含一个配置控制台,支持基于Web的配置访问。它也是'''VMware'''系列中免费的软件。AMD64架构的用户请参阅[[UbuntuHelp:VMware/Server/AMD64|VMware/Server/AMD64]]
  
 
=== 在虚拟机中安装Ubuntu ===
 
=== 在虚拟机中安装Ubuntu ===
第13行: 第13行:
 
* 下载Ubuntu光盘镜像文件 Ubuntu .iso
 
* 下载Ubuntu光盘镜像文件 Ubuntu .iso
 
* 用vmware server或者vmware workstation建立一个新的虚拟机
 
* 用vmware server或者vmware workstation建立一个新的虚拟机
* Directions to create image for vmware-player using qemu-img should be linked here
+
* 应当在这里添加用qemu-img创建能在vmware-player上运行的虚拟机镜像的操作指导。
  
 
==== 安装 '''VMware''' tools ====
 
==== 安装 '''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能够同步虚拟机和宿主机的时间,在关机时运行脚本和其他一些功能。一个似乎消失的功能是它能够不捕捉焦点而直接控制鼠标。到目前为止,它还没有可用的.deb安装包,因此安装它请运行下面的命令:
 +
 
 
<pre>sudo apt-get install build-essential
 
<pre>sudo apt-get install build-essential
 
sudo apt-get install linux-headers-`uname -r`</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:
+
 
 +
VMware tools依赖于头文件<code><nowiki>config.h</nowiki></code>,但在最近几个版本的内核中,已经没有这个文件。您必须创建一个空文件以保证VM Tools正常安装。
 +
 
 
<pre>sudo touch /usr/src/linux-headers-`uname -r`/include/linux/config.h</pre>
 
<pre>sudo touch /usr/src/linux-headers-`uname -r`/include/linux/config.h</pre>
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
+
 
 +
点击VMware的菜单VM \ Install VMware Tools将vmware tools安装文件挂在到Ubuntu系统中,这样就可以开始安装了。要安装vmware tools,把.tar.gz文件复制到你的桌面,右键单击它,选择“解压到这里”("extract here")。然后打开终端输入下面的命令:
 +
 
 
<pre>sudo ./Desktop/vmware&lt;tab&gt;/vmware-install.pl -d"</pre>
 
<pre>sudo ./Desktop/vmware&lt;tab&gt;/vmware-install.pl -d"</pre>
* (please note the &lt;tab&gt; 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
+
* (请注意<tab>表示按下tab键来自动完成目录名).
 +
 
 +
安装完成后请重启虚拟机,然后再运行vmware tools config来配置vm tools。
 +
 
 
<pre>vmware-toolbox</pre>
 
<pre>vmware-toolbox</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!
 
  
==
+
* 同时注意,要想不按cltrl+alt键就让鼠标在虚拟机和宿主机之间切换,就必须开着vmware-toolbox,这很不理想,但你可以使用'alltray'命令把vmware-toolbox从任务栏移到系统托盘里。It's also GTK1... bleh!(译者注:这里似乎不对,不用开着toolbox也能实现鼠标平滑切换)
== 支持 ==
+
  
== ==
+
== 支持 ==
==
+
  
* [[UbuntuHelp:VMware/Tools|VMware/Tools]] - Various tools to improve performance and usage of VMware products.
+
* [[UbuntuHelp:VMware/Tools|VMware/Tools]] - 各种改善VMware产品性能和易用性的工具。
 
* [[UbuntuHelp:VMware/Troubleshooting/Xorg7|VMware/Troubleshooting/Xorg7]]
 
* [[UbuntuHelp:VMware/Troubleshooting/Xorg7|VMware/Troubleshooting/Xorg7]]
  
 
----
 
----
  
[[Category:CategoryCleanup]] [[Category:CategoryDocumentation]] [[Category:UbuntuHelp]]
+
[[Category:模拟器及虚拟机]]

2010年4月21日 (三) 22:00的最新版本


简介

VMware是一款广为人知并且易于使用的软件。它的许多核心产品都是免费的(但不开放源代码)。另外,在AMD x86_64架构的机器上使用VMware需要安装ia32-libs库。

  • VMware PlayerVMware系列软件最基本的版本。他只能运行已有的虚拟机镜像。网络上有很多为免费操作系统建立的虚拟机镜像可以下载。此外,像EasyVMX这样的网站还允许用户免费创建能够安装和运行Windows的虚拟机镜像文件(VMX)。
  • VMware Workstation 是一款更高级版本,它能够创建虚拟机文件,还能捕捉操作系统在一个时间点上的快照。VMWare workstation还允许你使用一个现有的硬盘分区建立虚拟机. 使用VMware workstation需要付费购买授权。
  • VMware Server 是用来假设虚拟服务器的软件(顾名思义),它包含一个配置控制台,支持基于Web的配置访问。它也是VMware系列中免费的软件。AMD64架构的用户请参阅VMware/Server/AMD64

在虚拟机中安装Ubuntu

  • 下载Ubuntu光盘镜像文件 Ubuntu .iso
  • 用vmware server或者vmware workstation建立一个新的虚拟机
  • 应当在这里添加用qemu-img创建能在vmware-player上运行的虚拟机镜像的操作指导。

安装 VMware tools

VMware tools能够同步虚拟机和宿主机的时间,在关机时运行脚本和其他一些功能。一个似乎消失的功能是它能够不捕捉焦点而直接控制鼠标。到目前为止,它还没有可用的.deb安装包,因此安装它请运行下面的命令:

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

VMware tools依赖于头文件config.h,但在最近几个版本的内核中,已经没有这个文件。您必须创建一个空文件以保证VM Tools正常安装。

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

点击VMware的菜单VM \ Install VMware Tools将vmware tools安装文件挂在到Ubuntu系统中,这样就可以开始安装了。要安装vmware tools,把.tar.gz文件复制到你的桌面,右键单击它,选择“解压到这里”("extract here")。然后打开终端输入下面的命令:

sudo ./Desktop/vmware<tab>/vmware-install.pl -d"
  • (请注意<tab>表示按下tab键来自动完成目录名).

安装完成后请重启虚拟机,然后再运行vmware tools config来配置vm tools。

vmware-toolbox
  • 同时注意,要想不按cltrl+alt键就让鼠标在虚拟机和宿主机之间切换,就必须开着vmware-toolbox,这很不理想,但你可以使用'alltray'命令把vmware-toolbox从任务栏移到系统托盘里。It's also GTK1... bleh!(译者注:这里似乎不对,不用开着toolbox也能实现鼠标平滑切换)

支持