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

Linux服务器
Apache+PHP和Tomcat网页乱码问题
httpd.conf设置二级域名
SSH登录工具常用命令
对Linux系统进程进行监控和保护
如何清除代理服务器cache记录?
清除Linux代理服务器上cache记录
ssh远程登录的安全设置
Linux系统下最强大的磁盘管理技术LVM
教你搭建一个安全的Linux服务器
如何在Linux系统下实现Apache与Tomcat整合
虚拟机嵌入式Linux开发前要做什么?
修改Linux系统手动分区后的挂载
Linux系统中邮件用户绰号的超能力
Linux操作系统下使用变量为文件重新命名备份
Linux磁盘设备文件混乱源于Linux内核自身
Linux系统防黑客从辨认黑客做起
修改.htaccess文件提升网站访问速度方法
Linux认证:UbuntuNativePOSIX线程库
Linux服务器:邮件系统的原理
linux入侵常用命令汇编

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


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

安装完成