安装ESXi并部署vCenter
此文章所用的全部设备均使用虚拟机进行安装部署调试
虚拟机安装ESXi
候补于2020.9.10
创建虚拟机
![](https://zyxweb.cn/wp-content/uploads/2020/09/image.png)
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-3.png)
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-4.png)
处理器和内存看自己电脑配置进行选择,运行内存尽量大于10GB,安装vCenter需要
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-5.png)
连接虚拟机nat网络
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-6.png)
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-7.png)
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-8.png)
运行虚拟机
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-9.png)
点击运行虚拟机
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-10.png)
等待完成
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-11.png)
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-12.png)
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-13.png)
按F11同意
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-14.png)
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-15.png)
按Enter继续使用US键盘布局
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-16.png)
创建root passwork输入两遍
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-17.png)
按F11进行安装
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-18.png)
等待.......
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-19.png)
按Enter重启
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-20.png)
安装完成
ESXi设置
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-21.png)
按F2进行设置,需要进行登录
帐号:root
密码是刚才创建的
![](https://zyxweb.cn/wp-content/uploads/2020/09/uTools_1599707336096.jpg)
选择 Configure Management Network
选择 IPv4 Configuration
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-24.png)
使用空格选择
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-23.png)
按y更改设置
ESXI 进入Web
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-25.png)
点击继续访问
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-27.png)
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-26.png)
![](https://zyxweb.cn/wp-content/uploads/2020/09/image-28.png)
JU6MH-DF39M-H81C8-UC3Z4-A2R4D
补充:
关闭防火墙:
esxcli network firewall set --enabled false
ESXi 7.0 硬盘占用过大解决方法:
第一次启动时猛按shift+字母o
会出现cdromboot runweasel 输入autoPartitionOSDataSize=8192
cdromboot runweasel autoPartitionOSDataSize=8192 回车
解决
在虚拟机ESXi中部署vCenter
有种套娃的感觉QAQ
下载VMware-VCSA-all-6.5.0 解压后:
![](https://zyxweb.cn/wp-content/uploads/2020/06/image.png)
安装->下一步->我接受->嵌入式
需要填你的ESXi的信息
![](https://zyxweb.cn/wp-content/uploads/2020/06/image-1-1024x574.png)
若弹出证书警告点 '是'
设置虚拟机root密码,需要设置的比较复杂
![](https://zyxweb.cn/wp-content/uploads/2020/06/image-2.png)
设置部署大小,根据自己需要设置,因为本次是实验,所以使用微型
![](https://zyxweb.cn/wp-content/uploads/2020/06/image-3-1024x537.png)
选择数据存储(若不点精简模式 需要保证EXSi中有300g以上空间)
![](https://zyxweb.cn/wp-content/uploads/2020/06/image-4-1024x460.png)
配置你的vCenter(系统名称正常是要填域名的,本次填ip,填ip的话只填ip地址就可以,不需要填系统名称)
![](https://zyxweb.cn/wp-content/uploads/2020/06/image-5-1024x721.png)
下一步->完成
![](https://zyxweb.cn/wp-content/uploads/2020/06/image-7-1024x646.png)
这时候ESXi中就会出现vCenter了
![](https://zyxweb.cn/wp-content/uploads/2020/06/image-6-1024x469.png)
等到执行到80%的时候打开控制台
![](https://zyxweb.cn/wp-content/uploads/2020/06/image-10.png)
![](https://zyxweb.cn/wp-content/uploads/2020/06/image-8.png)
默认账号密码是root,vmware 先使用这个进入,进入后按f2修改密码
![](https://zyxweb.cn/wp-content/uploads/2020/06/image-9.png)
这时候就等着到100% (时间可能会比较长,耐心等待)
![](https://zyxweb.cn/wp-content/uploads/2020/06/image-11-1024x648.png)
进入网址: https://[你设置的ip]:5480
![](https://zyxweb.cn/wp-content/uploads/2020/06/image-12.png)
设置 vCenter Server Appliance
![](https://zyxweb.cn/wp-content/uploads/2020/06/image-13.png)
输入密码后进入
![](https://zyxweb.cn/wp-content/uploads/2020/06/image-14-1024x653.png)
![](https://zyxweb.cn/wp-content/uploads/2020/06/image-15-1024x653.png)
oss很迷, 不确定(域名默认,站点名称自定义)
![](https://zyxweb.cn/wp-content/uploads/2020/06/image-16.png)
然后192.168.10.21:5480这个是进入 vCenter Server Appliance
直接192.168.10.21这个是进入vSphare WEB Client
账号填aministrator@[oss设置的域名] 密码之前设置的oss密码
![](https://zyxweb.cn/wp-content/uploads/2020/06/image-17-1024x621.png)
至此,vCenter安装完成