个人工具

UbuntuHelp:VMware/zh

来自Ubuntu中文

Saser讨论 | 贡献2008年5月6日 (二) 02:53的版本 (trans titles and some key paragraphs.)

跳转至: 导航, 搜索


简介

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

  • VMware PlayerVMware系列软件最基本的版本。他只能运行已有的虚拟机镜像。网络上有很多为免费操作系统建立的虚拟机镜像可以下载。此外,像EasyVMX这样的网站还允许用户免费创建能够安装和运行Windows的虚拟机镜像文件(VMX)。
  • 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.
  • 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

在虚拟机中安装Ubuntu

  • 下载Ubuntu光盘镜像文件 Ubuntu .iso
  • 用vmware server或者vmware workstation建立一个新的虚拟机
  • Directions to create image for vmware-player using qemu-img should be linked here

安装 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`

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

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).

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

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!

支持