一、安装 VMware
附官方下载链接(VM 17 pro):https://download3.vmware.com/software/WKST-1701-WIN/VMware-workstation-full-17.0.1-21139696.exe
打开下载好的VMware Workstation 17 Pro安装包;
![](https://img-blog.csdnimg.cn/img_convert/d7ac0ff0bd3a8d5b566d1e7179c0d9cb.png)
点击下一步;
![](https://img-blog.csdnimg.cn/img_convert/4a27b49f057576bedd09ddf9c6d8362b.png)
勾选我接受许可协议中的条款,下一步;
![](https://img-blog.csdnimg.cn/img_convert/72c006d6546c827886209f1b1d4de46a.png)
修改VM安装路径,勾选将VMware Workstation控制台工具添加到系统PATH,下一步;
![](https://img-blog.csdnimg.cn/img_convert/1e3e1306e06eb010e7998a50a06f733d.png)
启动时检查产品更新与加入VMware客户体验计划可不选择,下一步;
![](https://img-blog.csdnimg.cn/img_convert/3c8e56ba2414fb7ce0ca4ee46dca5a78.png)
桌面快捷方式与开始菜单程序文件夹可选,下一步;
![](https://img-blog.csdnimg.cn/img_convert/28f0c4ebc904d6b8c2a6e0ea7306cb08.png)
点击安装;
![](https://img-blog.csdnimg.cn/img_convert/0ec1a194b4a31f1b9c811686bc6a1823.png)
![](https://img-blog.csdnimg.cn/img_convert/ee3b75c134bdcf1336e3e031b33ae40f.png)
有许可点击许可证,无许可点击完成;
![](https://img-blog.csdnimg.cn/img_convert/b7e990e26ad0627755a3abbfd9b99f54.png)
点击许可证后在下图框中输入许可证,然后点击输入;
![](https://img-blog.csdnimg.cn/img_convert/b25e8bc25036aa854b3c4a33c9537f43.png)
点击完成,VMware Workstation 17 pro安装完成。
![](https://img-blog.csdnimg.cn/img_convert/99c7ca6832d82ee44a7dfa6b0ff4c0cc.png)
二、配置虚拟机
附CentOS-7.6下载地址:https://pan.baidu.com/s/1WkLv5z1EIzmoQm7W_-OKrQ提取码: 05wa
选择创建新的虚拟机;
![](https://img-blog.csdnimg.cn/img_convert/e91c6f7265844ebe6eb4c9532109428f.png)
想要简单点就选择典型,典型只要配置镜像源和硬盘大小就可以直接安装了;这边我写一下自定义选项;
![](https://img-blog.csdnimg.cn/img_convert/fe21401ed0cabb8d498bf93c8ffde33e.png)
硬件兼容性选择的话可以默认,如果你需要从低版本workstation中将虚拟机拷贝到17中使用的话需要选择旧版本的版本号,例如你原本用的是workstation14,然后想将虚拟机拷贝到workstation17中使用,那你这里就要选workstation 14.x;
![](https://img-blog.csdnimg.cn/img_convert/3b898096b5b26aefc74bf949c00e110f.png)
这里我选择创建一个空白盘,然后后台路径选择镜像文件本地路径地址;这里你也可以直接选择安装程序光盘镜像文件然后准备开始安装;
![](https://img-blog.csdnimg.cn/img_convert/f1db455a455fbae667dccb0f69fa4945.png)
客户机操作系统选择linux,版本选择你们自己镜像的对应版本,我这边是centos 7.6,所以选择centos 7;
![](https://img-blog.csdnimg.cn/img_convert/868b6b1f57cfa088c85f1de869d598e6.png)
虚拟机的名称你可以随便自定义,位置选择的是你虚拟机将要存放的路径,别无脑选C盘,会爆的(什么,你说你有几个T的C盘那当我没说,手动狗头);
![](https://img-blog.csdnimg.cn/img_convert/0e93750457ec173ab88776d5fe7fab41.png)
处理器数量和内核数量这些看着填,不要超过自己本机的数量;
![](https://img-blog.csdnimg.cn/img_convert/a4b7a47c37326cc85ac25bdaebbffbcc.png)
虚拟机内存数量如上,也是不要超自己本机内存,一般跑个4-8G是够用了,主要看你用来跑什么;
![](https://img-blog.csdnimg.cn/img_convert/035079a5cfb422966a07534537ea73f9.png)
这里我重点讲一下,网络中本身存在DHCP服务器的(比如家用路由器的)可以选择使用桥接网络,选择桥接网络就相当于虚拟机和本机同处一个网络当中,相当于你另外又插了一台电脑在家用路由器上;而使用网络地址转换NAT的话,相当于把你的本机电脑当做路由器,虚拟机获取的是内部地址,通过把地址转换成你的本机IP去访问外部资源;我画个图,差不多应该是下面这样,emmmmmm,图可能有点low;
![](https://img-blog.csdnimg.cn/img_convert/037fd0469fd2ea5191225c0f86f746f3.png)
![](https://img-blog.csdnimg.cn/img_convert/cbe9644e9deb97bd5a20ff6cf8497971.png)
没有特殊需求的话,这里默认就行;
![](https://img-blog.csdnimg.cn/img_convert/0b90dbf14ef33b04629175f629efe0de.png)
没有特殊需求,同样默认就行;
![](https://img-blog.csdnimg.cn/img_convert/790356d6111baecf8ab4659b9e3f099a.png)
新装的系统就直接选择创建新虚拟磁盘;
![](https://img-blog.csdnimg.cn/img_convert/db4502d1135cac213d07dc5bbf831eb1.png)
磁盘空间看着给,别超过你要放的那个盘容量就行;存储为单个文件还是多个文件,虚拟机不会存储太多数据的话存储单个就行;至于立即分配所有磁盘空间的话就不要勾了,不然就直接先吃了你分配的磁盘大小,随使用量增长而增长就行了;
![](https://img-blog.csdnimg.cn/img_convert/9a523c99fe152a1e675d44b7359a2b7f.png)
磁盘文件名,默认就行;
![](https://img-blog.csdnimg.cn/img_convert/cf574e8dab048f440ab841ba5c92237d.png)
点击完成,虚拟机空间和配置基本就配置完了;
![](https://img-blog.csdnimg.cn/img_convert/eba91b1e389e7df54b90ff134d8defc8.png)
三、安装linux操作系统
选择编辑虚拟机设置
![](https://img-blog.csdnimg.cn/img_convert/2a6581195e2942fb7db0c3814044b682.png)
选择CD/DVD,然后在右侧选择启动时连接,然后在使用ISO镜像文件中选择你下载的linux镜像文件;
![](https://img-blog.csdnimg.cn/img_convert/20079da9525746b1a1c9115bc4cdd78e.png)
选择完毕以后开启虚拟机;
![](https://img-blog.csdnimg.cn/img_convert/4f08c22a4583b07f07866837c655f891.png)
如果你确定你的镜像没有问题直接选第一个Install CentOS 7,不确定选第二个,选第二个会在测试完镜像后进入安装程序,第一个则是直接进入安装程序;
![](https://img-blog.csdnimg.cn/img_convert/f6fa828e67eb42132bbc8e5653ac8da2.png)
可选中文、英文等,看你喜欢在哪种语言环境进行安装系统;
![](https://img-blog.csdnimg.cn/img_convert/7c0e6e11e3daf0e626e62a0cb319f00f.png)
键盘、语言、时区可选,一般我们选亚洲上海,简体中文;这里讲一下软件选择,一般习惯windows的用户选择GNOME桌面,安装完就是图形界面,选择最小化安装的话就是全字符界面,不推荐新手使用;
![](https://img-blog.csdnimg.cn/img_convert/53b93c096922a2403248258cdace9257.png)
![](https://img-blog.csdnimg.cn/img_convert/ea6396e6e851a20c9a9cb5369b0be117.png)
带感叹号的是需要确认的,如果你暂时不需要添加另外磁盘,进入安装位置,然后点击完成即可;网络和主机名可以安装完再配置,也可以现在配置,如果你不需要使用固定IP的话,打开网卡开关,点击完成即可;
![](https://img-blog.csdnimg.cn/img_convert/644d8b649566fc5a03148243870d5918.png)
![](https://img-blog.csdnimg.cn/img_convert/8602a98e155a818622e07ade08f9316a.png)
该确认的项都确认以后,点击开始安装;
![](https://img-blog.csdnimg.cn/img_convert/b45f27095280eb3779783edbaf8f6ffd.png)
点击ROOT密码,设置你的root用户密码,点击完成;然后点击创建用户,创建一个普通用户或者管理员用户,用户ID与用户组ID均可选,你可以选择默认;这些都完成后,你只需要等待安装完成
![](https://img-blog.csdnimg.cn/img_convert/a9ac4870a94c4e9740f4a3616da51110.png)
![](https://img-blog.csdnimg.cn/img_convert/ed5be46e8ea2a58f17a1d5857106302d.png)
![](https://img-blog.csdnimg.cn/img_convert/b6d5a568e6d944172b1b28a2abb9b66c.png)
安装完成后点击重启;
![](https://img-blog.csdnimg.cn/img_convert/0a7cfa2a6922aae45df34da100e41def.png)
点击LICENSE INFORMATION,勾选我同意许可协议,点击完成,然后点击完成配置;
![](https://img-blog.csdnimg.cn/img_convert/d2fca14e9522136ebf6b7839e1cd7256.png)
![](https://img-blog.csdnimg.cn/img_convert/cd6fdfd78bdeb9b7a2609c0675833226.png)
点击你创建的用户输入密码登陆系统,或者点击未列出,输入root和密码登陆系统界面;
![](https://img-blog.csdnimg.cn/img_convert/063085dc5aa930b9c1c5d2f5110eb4ff.png)
选择你需要的语言,然后点击前进;
![](https://img-blog.csdnimg.cn/img_convert/b468c3d8c7fd1d2a88251a95b38715eb.png)
选择你的键盘布局,点击前进;
![](https://img-blog.csdnimg.cn/img_convert/e2f6436acde25e72d27692b4bc07af26.png)
位置服务可选,点击前进;
![](https://img-blog.csdnimg.cn/img_convert/7d18a9f95d9713e40fedf0337b2feb77.png)
在线账号可不选,点击跳过;
![](https://img-blog.csdnimg.cn/img_convert/3f90d17111362991b222ce7b9c36ae1e.png)
点击开始使用CentOS Linux,至此安装全部完毕。
![](https://img-blog.csdnimg.cn/img_convert/037e85c1c47ff13dffc36f168a75f51e.png)
流程全过了一遍,祝大家玩的开心,手动狗头。8年的笔记本遭不住了啊,我连个虚拟机CPU内核都选不起,大写的惨,溜了溜了。