WEB开发网
开发学院服务器虚拟化 在Fedora Core里启动VMware Workstation (2) 阅读

在Fedora Core里启动VMware Workstation (2)

 2007-11-09 13:25:30 来源:WEB开发网   
核心提示:解压缩tar安装包首先要以根用户(root)的身份登录Fedora Core 1.0,如图1所示,在Fedora Core里启动VMware Workstation (2),当然也可以在其它用户环境下运行“su-”切换到root用户环境,0) this.style.zoom=zoom+'%';retur
解压缩tar安装包

首先要以根用户(root)的身份登录Fedora Core 1.0,如图1所示。当然也可以在其它用户环境下运行“su-”切换到root用户环境。
0) this.style.zoom=zoom+'%';return false;" title="按此在新窗口浏览图片" src=/tech/UploadPic/2010108/201010815435562.jpg>
进入桌面以后,先要解压缩tar.gz安装包,可以用图形化方式进行解压缩。方法很简单,进入tar.gz安装包所在的目录,然后用鼠标右键单击该tar.gz压缩包的图标,在弹出选单上单击“解压到这里”选单项,如图2所示。

0) this.style.zoom=zoom+'%';return false;" title="按此在新窗口浏览图片" src=/tech/UploadPic/2010108/201010815435962.jpg>
即可弹出一个“解压缩”对话框,在其上的“解压缩到”框里定位到/tmp目录,然后单击“确定”按钮,即可开始解压缩进程。

安装VMware

解压缩的结果是在/tmp目录增加一个vmware-distrib文件夹,现在就可以开始正式安装了。单击“主选单”→“系统工具”→“终端”选单项,打开终端命令窗口(它类似于Windows XP下的DOS命令提示符窗口)。然后,依次输入以下命令,并回车:
0) this.style.zoom=zoom+'%';return false;" title="按此在新窗口浏览图片" src=/tech/UploadPic/2010108/201010815435719.jpg>
[root@peter root] # cd /tmp
[root@peter tmp] # cd vmware-distrib
[root@peter vmware-distrib] # ./ vmware-install.pl
上面命令表示切换到/tmp目录和解压缩后的vmware-distrib目录,运行该目录下的vmware-install.pl脚本。

接下来开始安装,安装程序会提问一些问题,并同时给出缺省的答案,直接回车即可接受这些缺省的答案,如图3所示。


0) this.style.zoom=zoom+'%';return false;" title="按此在新窗口浏览图片" src=/tech/UploadPic/2010108/201010815435570.jpg>
我们可以修改一些安装问题的缺省答案,下面介绍一些安装时所必须回答的问题:

1.In which directory do you want to install the binary files?[/usr/bin]

询问二进制可执行文件的安装路径,缺省是/usr/bin目录,此参数无需自定义。

2.In which directory do you want to install the library files? [/usr/lib/vmware]

询问库文件的安装路径,缺省是/usr/lib/vmware目录,此参数无需自定义。

3.In which directory do you want to install the manual files? [/usr/share/man]

询问VMware帮助手册的安装路径,缺省是/usr/share/man目录,可以指定其它目录。

4.In which directory do you want to install the documentation files? [/usr/share/doc/vmware]

询问VMware文档的安装路径,缺省是/usr/share/doc/vmware目录,可以指定其它目录。

5.What is the directory that contains the init directories (rc0.d/ to rc6.d/)? [/etc/rc.d]

询问系统里哪个目录包含初始化目录,缺省是rc0.d/~rc6.d/,除非Linux系统是别的目录,否则无需修改。

6.What is the directory that contains the init scripts? [/etc/rc.d/init.d]

询问系统里哪个目录包含初始化脚本文件,缺省是/etc/rc.d/init.d,除非Linux系统是别的目录,否则无需修改。

回答完上面这些问题,将会出现以下信息,提示VMware Workstation已经成功安装,可以用“/usr/bin/vmware-uninstall.pl”命令卸载VMware Workstation。
The installation of VMware Workstation 4.0.5 build-6030
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.pl".
请注意,如果采用RPM格式封装的安装发布包,则安装过程十分简单,只需要在命令提示符下运行以下命令即可:
[root@peter root] # rpm -Uhv VMware-<xxx>.rpm

其中,VMware-.rpm用实际的软件包名称代替。

尽管RPM格式安装起来更加方便,但是还是推荐使用tar.gz封装的源代码安装包,因为这样有更多可自定义的安装选项。

为了能够正确地安装VMware Workstation,强烈推荐完全安装Fedora Core 1.0,以免安装程序提示缺少什么组件,同时不要升级Linux内核。

Tags:Fedora Core 启动

编辑录入:coldstar [复制链接] [打 印]
赞助商链接