> ## Content Index
> Fetch the complete content index at: https://yinguobing.com/blog/llms.txt
> Use this file to discover other available public pages before exploring further.

# 服务器虚拟化
- URL: https://yinguobing.com/blog/install-esxi-step1/
- Published: 2010-03-03T21:22:00.000Z
- Updated: 2022-05-29T07:14:16.000Z
- Description: 本文完成于 2010-03-04，原文发表在我的人人网日志。
- Author: 尹国冰
- Tags: 燕山大学, 新手入门

本文完成于 2010-03-04，原文发表在我的人人网[日志](http://blog.renren.com/blog/220901320/450151284?frommyblog&ref=yinguobing.com)。背景是院里新买了一台服务器来做计算。可是需要使用的人太多而使用者运行软件的平台不统一，有 Linux 下的有 Windows 下的，导致计算资源的浪费。为了提高机器的利用率，向院里的领导提交了一份《理学院服务器虚拟化可行性报告》，没想到居然获得了同意。其实现在想想，服务器虚拟化是在服务器空载或者非满负载的情况经常出现才有意义。现在是用不着了，不过当时的确是没办法的选择。具体的过程比较繁杂，因此采用了图片为主的记录方式。供以后参考。

---

将服务器虚拟化之后，可以实现在单个服务器上同时运行多个操作系统。

## 安装 ESXi

将下载的ESXi光盘镜像刻录到光盘，放入光驱，将服务器从光驱引导，按提示操作如下：

![](https://yinguobing.com/blog/content/images/2011/09/b_large_5bW6_608600005ddf2d12.jpg "b_large_5bW6_608600005ddf2d12")

![](https://yinguobing.com/blog/content/images/2011/09/b_large_7jhF_608600005dc82d12.jpg "b_large_7jhF_608600005dc82d12")

![](https://yinguobing.com/blog/content/images/2011/09/b_large_ALJd_608600005e492d12.jpg "b_large_ALJd_608600005e492d12")

![](https://yinguobing.com/blog/content/images/2011/09/b_large_Hj2d_608600005e2c2d12.jpg "b_large_Hj2d_608600005e2c2d12")

![](https://yinguobing.com/blog/content/images/2011/09/b_large_jrDh_608600005df22d12.jpg "b_large_jrDh_608600005df22d12")

![](https://yinguobing.com/blog/content/images/2011/09/b_large_juJy_608600005e062d12.jpg "b_large_juJy_608600005e062d12")

![](https://yinguobing.com/blog/content/images/2011/09/b_large_l3wV_608600005daf2d12.jpg "b_large_l3wV_608600005daf2d12")

![](https://yinguobing.com/blog/content/images/2011/09/b_large_ub3O_608600005e1d2d12.jpg "b_large_ub3O_608600005e1d2d12")

![](https://yinguobing.com/blog/content/images/2011/09/b_large_wsBd_608600005e382d12.jpg "b_large_wsBd_608600005e382d12")

该过程结束后，ESXi安装完毕。

## 网络配置

好吧，我承认我们条件确实比较简陋。这里应该都算不上是一个正式的机房。

![](https://yinguobing.com/blog/content/images/2011/09/b_large_pQZj_1daf00014c542d0c.jpg "b_large_pQZj_1daf00014c542d0c")

![](https://yinguobing.com/blog/content/images/2011/09/b_large_9nI2_1daf00014c9f2d0c.jpg "b_large_9nI2_1daf00014c9f2d0c")

![](https://yinguobing.com/blog/content/images/2011/09/b_large_IBVF_1daf00014d1b2d0c.jpg "b_large_IBVF_1daf00014d1b2d0c")

![](https://yinguobing.com/blog/content/images/2011/09/b_large_5Vwy_1daf00014d342d0c.jpg "b_large_5Vwy_1daf00014d342d0c")

![](https://yinguobing.com/blog/content/images/2011/09/b_large_Uiz1_1da9000016ef2d0c.jpg "b_large_Uiz1_1da9000016ef2d0c")

![](https://yinguobing.com/blog/content/images/2011/09/b_large_8i7N_1daf00014d712d0c.jpg "b_large_8i7N_1daf00014d712d0c")

![](https://yinguobing.com/blog/content/images/2011/09/b_large_ECrp_1dab000040f92d0c.jpg "b_large_ECrp_1dab000040f92d0c")

配置好了以后，从远程使用 VMware vspher client登录上边的IP地址。

## 新建虚拟机、安装系统

同样以图为主

![](https://yinguobing.com/blog/content/images/2011/09/vt_os_01.jpg "vt_os_01")

自定义

![](https://yinguobing.com/blog/content/images/2011/09/vt_os_02.jpg "vt_os_02")

起个名字

![](https://yinguobing.com/blog/content/images/2011/09/vt_os_03.jpg "vt_os_03")

选择磁盘

![](https://yinguobing.com/blog/content/images/2011/09/vt_os_04.jpg "vt_os_04")

这里版本尽量选择7

![](https://yinguobing.com/blog/content/images/2011/09/vt_os_05.jpg "vt_os_05")

选择将来要安装的系统

![](https://yinguobing.com/blog/content/images/2011/09/vt_os_06.jpg "vt_os_06")

分配虚拟核心

![](https://yinguobing.com/blog/content/images/2011/09/vt_os_07.jpg "vt_os_07")

配置内存大小

![](https://yinguobing.com/blog/content/images/2011/09/vt_os_08.jpg "vt_os_08")

配置网卡

![](https://yinguobing.com/blog/content/images/2011/09/vt_os_09.jpg "vt_os_09")

SCSI控制器，这个我也不懂，一般默认就没有问题。初步估计可能是由操作系统决定的

![](https://yinguobing.com/blog/content/images/2011/09/vt_os_10.jpg "vt_os_10")

新机器一般都选择创建新的虚拟磁盘

![](https://yinguobing.com/blog/content/images/2011/09/vt_os_11.jpg "vt_os_11")

分配磁盘大小

![](https://yinguobing.com/blog/content/images/2011/09/vt_os_12.jpg "vt_os_12")

默认就可以

![](https://yinguobing.com/blog/content/images/2011/09/vt_os_13.jpg "vt_os_13")

最后一步，点完成就可以了。

![](https://yinguobing.com/blog/content/images/2011/09/vt_os_14.jpg "vt_os_14")

创建了虚拟机后，点击 启动虚拟机

![](https://yinguobing.com/blog/content/images/2011/09/vt_os_15.jpg "vt_os_15")

没有安装操作系统

![](https://yinguobing.com/blog/content/images/2011/09/vt_os_16.jpg "vt_os_16")

连接Ubuntu的光盘镜像之后

![](https://yinguobing.com/blog/content/images/2011/09/vt_os_17.jpg "vt_os_17")

其他的系统类似，下图是安装了windows 2003 server、windows 2008 server R2、windows XP与Ubuntu server 9.10之后，四个系统同时运行的截图。

![](https://yinguobing.com/blog/content/images/2011/09/vt_os_18.jpg "vt_os_18")