| 一. 下载和安装 目前,VMware Workstation,这个虚拟机软件,最新的版本是6.5.2,但是它只有 30 天的试用期。因此很多人都觉得麻烦。好在网上现在有对于 6.0 版本的注册机(适用于Win和Lin的)。因此,如果我们想在Linux下使用注册版的 VMware Workstation,就要找它的 6.0 版本以及注册机。 1. VMware 6.0版本的下载,还是在官网上下载,地址是:,看图,我们找到网页的末尾: 点击:Download,即可。下面,出现的是注册登录界面。我提供一个注册好的帐号,大家直接登录就是了 E-mail Address: nkevin@tom.com Password: centos 登录进去,是英文的下载许可协议,不用看,直接到网页最下面,点击 YES,即可。 这里就是最终下载地址了。分为32位和64位 两种。每种又分为: RPM 软件包 和 tar.gz包。前者适合于Redhat Linux, Fedora Linux和CentOS Linux;后者(tar.gz)则适合包括前面的那些的绝大部分Linux发行版本。 我这次的的教程,是讲在CentOS Linux下安装,因此选择了“VMware-workstation-6.0.0-45731.i386.rpm“,来点击下载。 2. 安装 RPM包的安装,应该不用多说了,既可以 双击安装,也可以在终端下面,输入: rpm -ivh VMware-workstation-6.0.0-45731.i386.rpm,来完成安装。 二.使用前的配置 安装后,打开终端,输入: vmware-config.pl,开始基本的软件配置。配置过程全部是文本形式的,中途会提到很多问题,都全部可以直接按下“回车”来进行。(少数的输入yes)具体的过程,看我下面吧。 [root@CentOS ~]# vmware-config.pl Making sure services for VMware Workstation are stopped. Stopping VMware services: Virtual machine monitor [确定] Configuring fallback GTK+ 2.4 libraries. In which directory do you want to install the theme icons? [/usr/share/icons] 直接按回车 What directory contains your desktop menu entry files? These files have a .desktop file extension. [/usr/share/applications] 直接按回车 In which directory do you want to install the application"s icon? [/usr/share/pixmaps] 直接按回车 Trying to find a suitable vmmon module for your running kernel. The module bld-2.6.18-8.el5-i686smp-RHEL5 loads perfectly in the running kernel. Trying to find a suitable vmblock module for your running kernel. The module bld-2.6.18-8.el5-i686smp-RHEL5 loads perfectly in the running kernel. Do you want networking for your virtual machines? (yes/no/help) [yes] 直接按回车 Configuring a bridged network for vmnet0. The following bridged networks have been defined: . vmnet0 is bridged to eth0 All your ethernet interfaces are already bridged. Do you want to be able to use NAT networking in your virtual machines? (yes/no) [yes] 直接按回车 Configuring a NAT network for vmnet8. Do you want this program to probe for an unused private subnet? (yes/no/help) [yes] 直接按回车 Probing for an unused private subnet (this can take some time)... The subnet 192.168.247.0/255.255.255.0 appears to be unused. The following NAT networks have been defined: . vmnet8 is a NAT network on private subnet 192.168.247.0. Do you wish to configure another NAT network? (yes/no) [no] 直接按回车 Do you want to be able to use host-on [yes] 直接按回车 Trying to find a suitable vmnet module for your running kernel. The module bld-2.6.18-8.el5-i686smp-RHEL5 loads perfectly in the running kernel. Do you want to install the Eclipse Integrated Virtual Debugger? You must have the Eclipse IDE installed. [no] 直接按回车 Creating a new VMware VIX API installer database using the tar4 format. Installing VMware VIX API. This may take from several minutes to over an hour depending upon its size. You must read and accept the VMware VIX API End User License Agreement to continue. Press enter to display it. 直接按回车 VMware(R) Software Developer Kit (SDK) Agreement VMware, Inc. ("VMware") provides this Software Developer Kit ("SDK") for VIX Application Programming Interface ("VIX API") to you subject to the following terms and conditions. If you disagree with any of the following terms, then do not use this SDK. 1. This SDK contains a variety of materials, including but not limited to, interface definitions, documentation, Redistributable Co regarding programming interfaces to on referenced in such materials ("VMware Software"). This SDK is intended to serve as a guide for writing programs to interact with the VMware Software. For the purpose of this Agreement, "Sample Co source co "Redistributable Co "Redistributable Co …………………我是华丽的省略号,协议不用看,一直按回车就能到最后 ………………… 10. These terms are governed by the laws of the State of California and the United States of America without regard to conflict of laws principles. You may not assign any part of this Agreement without the prior written consent of VMware. Any attempted assignment without consent shall be void. These terms constitute the entire agreement between you and VMware with respect to the SDK, and supersede all prior written or oral communications, understandings and agreements. Any waiver of these terms must be in writing to be effective. If any provision of these terms is found to be invalid or unenforceable, the remaining terms will continue to be valid and enforceable to the fullest extent permitted by law. SDK 4.05.07 Do you accept? (yes/no) yes (手动输入yes回车) Thank you. In which directory do you want to install the VMware VIX API binary files? [/usr/bin] 直接按回车 In which directory do you want to install the VMware VIX API library files? [/usr/lib/vmware-vix/lib] 直接按回车 The path "/usr/lib/vmware-vix/lib" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes] 直接按回车 In which directory do you want to install the VMware VIX API document pages? [/usr/share/doc/vmware-vix] 直接按回车 The path "/usr/share/doc/vmware-vix" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes] 直接按回车 The installation of VMware VIX API 1.1.0 build-45731 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following command: "/usr/bin/vmware-uninstall-vix.pl". Starting VMware services: Virtual machine monitor [确定] Blocking file system: [确定] Virtual ethernet [确定] Bridged networking on /dev/vmnet0 [确定] Host network detection [确定] Host-on DHCP server on /dev/vmnet8 [确定] NAT service on /dev/vmnet8 [确定] The configuration of VMware Workstation 6.0.0 build-45731 for Linux for this running kernel completed successfully. You can now run VMware Workstation by invoking the following command: "/usr/bin/vmware". Enjoy, --the VMware team 到此为止,配置完了,返回终端提示符,输入:vmware,运行它吧 [root@CentOS ~]# vmware 首先出现的是一个许可协议。直接 yes(或者Accept) 吧~然后就能进主界面了。现在,我们来注册。点击菜单:Help ———— Enter Serial Number。 看图,我这里提供一个序列号,大家对照着输入就行了。下面的 name 和 company,随便填写。 (责任编辑:admin) |