当前位置: 首页 > 图文教程 > 服务器 > Linux服务器 > Linux系统下安装VMware虚拟机

Linux服务器
linux下用cron定时执行任务的方法
.htaccess绑定域名到子目录的方法
linux apache下虚拟主机配置方法
apache 局域网访问配置方案
linux Apache服务器系统安全设置与优化
linux中mac地址绑定方法
linux托盘不断闪烁之解决方法
Apache配置 虚拟转向实例
Apache No space left on device的解决办法
Apache rewrite的重写相关的参数说明
LINUX入门级常用命令20条整理
Ubuntu设置开机自动挂载所有格式硬盘分区
5个可能被你忽略的Linux安全设置方法
学习Apache的mod rewrite、access写法
改版时保留原链接,创建新的URL的方法
rsync中文手册之使用rsync实现网站镜像和备份linux
rsync 数据同步使用详解
linux URL的301重定向代码分析
eclipse3.2.2 + MyEclipse5.5 + Tomcat5.5.27 配置数据库连接池
Apache服务器二级域名的完美实现

Linux服务器 中的 Linux系统下安装VMware虚拟机


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-30   浏览: 47 ::
收藏到网摘: n/a

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

启动vmware 配置

Before running VMware Workstation for the first time, you need to configure it
by invoking the following command: "/usr/bin/vmware-config.pl". Do you want this program
to 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) yes
Thank 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 as
described 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] n
What will be the IP address of your host on the private network? 192.168.100.0
What will be the netmask of your private network? 255.255.255.0
The version of DHCP used in this version of VMware Workstation is licensed as
described 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 your
virtual machines to access the host's filesystem? (yes/no/help) [no] y
The version of Samba used in this version of VMware Workstation is licensed as
described 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 virtual
machines to access the host's filesystem. Would you like to add a username and
password for accessing your host's filesystem via network interface vmnet1 at
this time? (yes/no/help) [yes] y

主机上存在的用户

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

Samba 配置完成

The configuration of VMware workstation 6.0.0 build-45731 for Linux for this
running 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.rpm
Preparing... ########################################### [100%]
1:VMwareWorkstation ###########################################
[100%]

安装完成