服务器之家:专注于服务器技术及软件下载分享
分类导航

Linux|Centos|Ubuntu|系统进程|Fedora|注册表|Bios|Solaris|Windows7|Windows10|Windows11|windows server|

服务器之家 - 服务器系统 - Centos - centos下安装VMware Server 虚拟机的方法

centos下安装VMware Server 虚拟机的方法

2019-10-10 21:07centos教程网 Centos

系统为CentOS5.2,安装的VMware Server是1.07(VMware-server-1.0.7-108231.i386.rpm)

1、到VMware官网上下载安装包,注册免费Licensing

https://www.vmware.com/

http://register.vmware.com/content/download-107.html

VMware Server 2 for Linux AAM0N-FF00U-U9HC2-42194

VMware Server 2 for Windows A2084-F6J0Y-VAJF0-40NV4

VMware Server1.07的rpm包下载地址:http://download3.vmware.com/software/vmserver/VMware-server-1.0.7-108231.i386.rpm

貌似Server2.0不能下载……

2、安装必须的包:

gcc gcc-c++

kernel kernel-devel kernel-headers

libXtst-devel libXrender-devel xinetd

yum install -y kernel-headers libXtst-devel libXrender-devel xinetd

3、安装VMware Server:

rpm -ivh VMware-server-1.0.7-108231.i386.rpm

安装完成以后运行配置脚本进行配置:

/usr/bin/vmware-config.pl

一路顺下去

1)阅读协议yes

2)In which directory do you want to install the mime type icons?

[/usr/share/icons]

3)What directory contains your desktop menu entry files? These files have a

.desktop file extension. [/usr/share/applications]

4)In which directory do you want to install the application's icon?

[/usr/share/pixmaps]

5)Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Server is suitable for your running kernel. Do you want this program to try to build the vmmon module for your system (you need to have a C compiler installed on your system)? [yes]

6)Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running kernel? [/lib/modules/2.6.18-92.el5PAE/build/include]

7)The module loads perfectly in the running kernel.

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

8)Configuring a bridged network for vmnet0.

Your computer has multiple ethernet network interfaces available: eth0, eth1. Which one do you want to bridge to vmnet0? [eth0]

9)The following bridged networks have been defined:

. vmnet0 is bridged to eth0

Do you wish to configure another bridged network? (yes/no) [no]

10)Do you want to be able to use NAT networking in your virtual machines? (yes/no)[yes]

11)Configuring a NAT network for vmnet8.

Do you want this program to probe for an unused private subnet? (yes/no/help) [yes]

12)Probing for an unused private subnet (this can take some time)...

The subnet 172.16.134.0/255.255.255.0 appears to be unused.

The following NAT networks have been defined:

. vmnet8 is a NAT network on private subnet 172.16.134.0.

Do you wish to configure another NAT network? (yes/no) [no]

13)Do you want to be able to use host-only networking in your virtual machines? [yes]

14)Configuring a host-only network for vmnet1.

Do you want this program to probe for an unused private subnet? (yes/no/help) [yes]

15)Probing for an unused private subnet (this can take some time)...

The subnet 192.168.155.0/255.255.255.0 appears to be unused.

The following host-only networks have been defined:

. vmnet1 is a host-only network on private subnet 192.168.155.0.

Do you wish to configure another host-only network? (yes/no) [no]

16)The module loads perfectly in the running kernel.

The default port : 902 is not free. We have selected a suitable alternative port for VMware Server use. You may override this value now.Remember to use this port when connecting to this server.Please specify a port for remote console connections to use [904]

17)In which directory do you want to keep your virtual machine files?

[/var/lib/vmware/Virtual Machines]

18)The path "/var/lib/vmware/Virtual Machines" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes]

19)Please enter your 20-character serial number.

Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel: AAM0N-FF00U-U9HC2-42194

安装完成。

4、安装完成了以后(不知道用不用运行vmware命令)就可以直接用VMware Server Console去连了:

主意的是,此处需要在IP后加上端口904,如:

10.168.1.114:904

就可以正常操作了。

延伸 · 阅读

精彩推荐
  • Centos使用Xshell连接Centos 6.6服务器操作图文教程

    使用Xshell连接Centos 6.6服务器操作图文教程

    这篇文章主要介绍了使用Xshell连接Centos 6.6服务器操作图文教程,本文用详细的操作步骤讲解了如何使用Xshell连接Centos服务器,需要的朋友可以参考下 ...

    脚本之家4032019-09-18
  • Centos在CentOS系统上安装Docker的教程

    在CentOS系统上安装Docker的教程

    这篇文章主要介绍了在CentOS系统上安装Docker的教程,Docker是当下人气最为火热的容器类虚拟软件,需要的朋友可以参考下 ...

    开源中文社区3952019-09-17
  • CentosCentOS6.2网卡设置

    CentOS6.2网卡设置

    如果你想让服务器可以更新、让网友访问你的LINUX服务器,那一定要设置LINUX网上给网卡绑定一个IP,下面我们就介绍CentOS6.2网卡设置IP的方法。...

    CentOS教程网10092021-10-03
  • CentosCentOS系统下软件包的制作方法和过程详解

    CentOS系统下软件包的制作方法和过程详解

    今天小编将为大家带来的是CentOS系统下软件包的制作方法和过程详解;希望对大家会有帮助,有需要的朋友一起去看看吧...

    CentOS之家4802019-05-30
  • CentosCentOS上SVN服务器端程序的安装与使用教程

    CentOS上SVN服务器端程序的安装与使用教程

    SVN是一款高人气的软件项目版本控制系统,由于其在Windows的客户端的简易操作,在Git的浪潮中仍然保有很多的用户数量,这里我们就来看一下CentOS上SVN服务器端...

    cnblogs3902019-07-16
  • Centoscentos 7中添加一个新用户并授权的步骤详解

    centos 7中添加一个新用户并授权的步骤详解

    这篇文章主要给大家介绍了关于在centos 7中添加一个新用户并授权的步骤,文中将实现的步骤介绍的非常详细,通过文中介绍的步骤可以轻松的创建一个新...

    Ryan.Miao9832022-02-12
  • CentosCentOS 最新版本git的安装教程

    CentOS 最新版本git的安装教程

    本文主要给大家介绍了CentOS 最新版本git的安装教程,非常不错,具有参考借鉴价值,感兴趣的朋友一起看看吧...

    CentOS教程网9252021-11-29
  • CentosCentOS7 阿里云的yum源使用详解

    CentOS7 阿里云的yum源使用详解

    这篇文章主要介绍了CentOS7 阿里云的yum源使用详解的相关资料,这里对备份yum源,添加EPEL源,和缓存清理,进行了介绍,需要的朋友可以参考下...

    天王9312020-12-28