设为首页 加入收藏

TOP

Linux系统下安装VMware虚拟机
2011-06-02 19:59:01 来源: 作者: 【 】 浏览:614次 评论:0

Linux系统

在Linux 下,VMware 提供了两种按装包:tar 包和RPM 包 其中,后者更容易安装,这里以Redhat Linux 9系统为例。

使用tar 包安装

登陆Linux 主机

[sanren@localhost sanren]$

登陆到管理员权限

[sanren@localhost sanren]$ su -Password:[root@localhost root]#

进入临时目录

[root@localhost root]# cd /tmp

解压缩tar 包

[root@localhost tmp]# tar –zxvf VMware-workstation-6.0.0-45731.i386.tar.gz

执行安装命令

[root@localhost tmp]# cd ./vmware-distrib/vmware-install.pl

开始安装

Installing the content of the package.

选择二进制文件安装路径

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

选择库文件安装路径

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

选择操作手册文件安装路径

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

选择文档文件安装路径

In which directory do you want to install the documentation files?[/usr/share/doc/vmware]The path "/usr/share/doc/vmware" does not exist currently. This program is goingto create it,including needed parent directories. Is this what you want?[yes]

选择初始化目录安装路径

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

选择初始化脚本文件安装路径

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

安装完成!

The installation of VMware workstation 6.0.0 build-45731 for Linux completedsuccessfully. You can decide to remove this software from your system at anytime by invoking the following command: "/usr/bin/vmware-uninstall.pl".

启动vmware 配置

Before running VMware Workstation for the first time, you need to configure itby invoking the following command: "/usr/bin/vmware-config.pl". Do you want this programto invoke the command for you now? [yes]

停止VMware Workstation 的服务

Making sure VMware Workstation's services are stopped.Stopping VMware services:Virtual machine monitor [ 确 定 ]

终端用户许可协议(很长,这里不详细列出)

You must read and accept the End User License Agreement to continue.Press enter to display it.

是否接受许可协议

Do you accept? (yes/no) yesThank you.

安装监视模块

Trying to find a suitable vmmon module for your running kernel.The module up-2.4.20-8.athlon-RH9.0 loads perfectly in the running kernel.

安装虚拟网络模块

Trying to find a suitable vmnet module for your running kernel.The module up-2.4.20-8.athlon-RH9.0 loads perfectly in the running kernel.

配置网络

Do you want networking for your virtual machines? (yes/no/help) [yes] yes

配置vmnet0

Configuring a bridged network for vmnet0.

配置vmnet8

Configuring a NAT network for vmnet8.

探测DHCP 子网1,自动探测,随机选择

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 172.16.151.0/255.255.255.0 appears to be unused.The version of DHCP used in this version of VMware Workstation is licensed asdescribed in the "/usr/share/doc/vmware/DHCP-COPYRIGHT" file.Hit enter to continue.

探测DHCP 子网2,以主机网卡所在的网段为DHCP 的地址域

Do you want this program to probe for an unused private subnet? (yes/no/help)[yes] nWhat will be the IP address of your host on the private network? 192.168.100.0What will be the netmask of your private network? 255.255.255.0The version of DHCP used in this version of VMware Workstation is licensed asdescribed in the "/usr/share/doc/vmware/DHCP-COPYRIGHT" file.Hit enter to continue.

配置host-only 网络环境,如不需要可以不必配置。

Do you want to be able to use host-only networking in your virtual machines?[no] n

配置Samba 文件系统访问

Do you want this program to automatically configure your system to allow yourvirtual machines to access the host's filesystem? (yes/no/help) [no] yThe version of Samba used in this version of VMware Workstation is licensed asdescribed in the "/usr/share/doc/vmware/SAMBA-LICENSE" file.Hit enter to continue.Starting VMware services:Virtual machine monitor                          [ 确 定 ]Virtual ethernet                                 [ 确 定 ]Bridged networking on /dev/vmnet0                [ 确 定 ]Host-only networking on /dev/vmnet1 (background) [ 确 定 ]Host-only networking on /dev/vmnet8 (background) [ 确 定 ]NAT networking on /dev/vmnet8                    [ 确 定 ]

配置Samba 客户端帐户

You have successfully configured VMware Workstation to allow your virtualmachines to access the host's filesystem. Would you like to add a username andpassword for accessing your host's filesystem via network interface vmnet1 atthis time? (yes/no/help) [yes] y

主机上存在的用户

Please specify a username that is known to your host: lupaworldNew SMB password:Retype new SMB password:Added user sanren.
You have successfully configured VMware Workstation to allow your virtualmachines to access the host's filesystem. Your system appears to already be setup withusernames and passwords for accessing the host's filesystem via networkinterface vmnet1. Would you like to add another username and password at thistime? (yes/no/help) [no] nYou can add more usernames at any time by invoking the following command asroot: "/usr/bin/vmware-smbpasswd vmnet1 -a <username>"

Samba 配置完成

The configuration of VMware workstation 6.0.0 build-45731 for Linux for thisrunning kernel completed successfully.

vmware 配置完成

You can now run VMware Workstation by invoking the following command:"/usr/bin/vmware".Enjoy,--the VMware team

使用RPM 包安装

执行安装命令

[root@localhost tmp]# rpm -ivh VMware-workstation-6.0.0-45731.i386.rpmPreparing... ########################################### [100%]1:VMwareWorkstation ###########################################[100%]

安装完成

您看到此篇文章时的感受是:
Tags: 责任编辑:administrator
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到QQ空间
分享到: 
上一篇如何在VMware上安装Linux系统 下一篇安装Ubuntu 7.10简明教程

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

相关栏目

最新文章

图片主题

热门文章

推荐文章

相关文章

广告位