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

Linux服务器
在Linux环境中如何配置WU-FTP服务器
Linux系统上架设VSFTP服务器实例解析
Linux中使用有状态防火墙实现FTP功能
教你如何搭建简易的Linux局网服务器
使用 Nginx 提升网站访问速度
Linux 服务器日志文件查找技巧精粹
如何在 Ubuntu 8.04 上安装KDE 4.1
基于Linux系统的Nagios网络管理模块的实现
如何使Sendmail邮件服务器的邮件用户与系统用户分离
Apache重负荷服务器应如何优化
两台linux服务器之间用RSA键对的方法SSH/SCP不需密码
在局域网中设置Linux时间服务器
构建简单易用的FAX服务器
架设Squid代理服务器
Linux服务器的一些基本应用
建立Linux下的RADIUS服务器
RedHat8.0服务器配置方案(DNS)
如何编写Linux下的客户机/服务器软件
全球信息网服务器(WebServer)
匿名(垃圾)邮件的根源—网络上几乎所有服务器都不可避免的“漏洞”

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-30   浏览: 71 ::
收藏到网摘: 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%]

安装完成