Win10中VMware14安装CentOS7详细步骤
Win10中VMware14安装CentOS7详细步骤
- 下载VMware14并安装,激活序列表自行搜索
- 下载CentOS7的镜像
centOS7下载地址:
![](https://upload-images.jianshu.io/upload_images/6095154-9c226261d8a0510d.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
centOS官网.jpg
http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-DVD-1804.iso
(进入任意挑选一个就好,文件大小约4.16G,linux基础学习者可以找mini版,mini版的只有900M左右,很多工具不自带,所以这里用CentOS-7-x86_64-DVD-1804.iso作示例)
2.打开VMware新建虚拟机
![](https://upload-images.jianshu.io/upload_images/6095154-60824fcfe429e545.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
新建虚拟机.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-d637248b3766876d.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
自定义.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-b100b87b51d54b97.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
默认下一步.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-23bd86fabc24a185.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
稍后安装操作系统.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-35a561d98e38f1f9.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
选择Linux-CentOS7 64位.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-4d9d2575e1eb6b04.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
自定义名称和位置.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-ed1792102c8350fd.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
根据电脑配置选择处理器数量.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-da3719d1664eab64.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
设置内存.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-a771b20134b7ae20.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
默认下一步.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-8c407cd24d64aae3.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
使用推荐下一步.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-f2dc7afe7e33dc80.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
使用推荐下一步.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-ce742400aebdfb2a.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
创建新虚拟磁盘.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-6e25a8fec75cc629.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
自行设置磁盘大小.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-d96f85ff5bd9f899.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
指定磁盘文件,这里用的D盘.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-cd610a1c74298b92.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
查看信息,配置完成.jpg
虚拟机的新建成功好比有了一台虚拟的电脑,现在需要给这台电脑安装系统。这里虚拟的电脑(虚拟机)的配置是如上图所示。
3.启动虚拟机安装CentOS
![](https://upload-images.jianshu.io/upload_images/6095154-0d9f4a65e82e3aa6.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
选择系统镜像.jpg
编辑虚拟机设置,添加系统镜像文件
![](https://upload-images.jianshu.io/upload_images/6095154-849c4ec851b5d3e0.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/860/format/webp)
选择镜像.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-c3842d9e49b4b763.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
开启虚拟机.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-c3b86d9d0e189de9.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
选择Install CentOS 7.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-b0e7fe98bd990bbe.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
正在安装.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-267ddd71163fe711.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
选择语言.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-9b5b8f612d0adc45.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
设置.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-47d1e1ec032b410f.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
选择磁盘位置.jpg
打开网络连接,让虚拟机可以和电脑一样,访问外网
![](https://upload-images.jianshu.io/upload_images/6095154-eaa7823d67a06ed2.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
打开网络连接.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-595526fa22f6e666.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
设置后开始安装.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-6136e54acee944eb.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
安装中.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-771a24d316907ed9.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
设置root的密码.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-2f5841eb25cdaf6e.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
创建用户.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-1ae058ba86caea24.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
安装完成,重启虚拟机.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-6a4533946b4d958a.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
启动后等待出现输入登录名的界面.jpg
![](https://upload-images.jianshu.io/upload_images/6095154-d747c22df9f45fa5.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
登录root进入系统.jpg
到这里,CentOS 7 的系统已经安装完毕,可以使用命令:
ping baidu.com
测试是否已经可以正常联网
![](https://upload-images.jianshu.io/upload_images/6095154-99dd647be0774a0b.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
联网正常.jpg
4.常见问题
4.1 无法新建虚拟机
可能原因:电脑未启用虚拟化技术
解决方案:进入bios,修改Virtuallization Technology 的属性值为Enabled,有的电脑/系统是默认开启的。其它方案根据新建失败提示或告警提示进行处理。
4.2 虚拟机无法联网
可能原因:安装系统时未开启网络连接、选择了桥接模式但是设置有误等等
解决方案:重装系统,或者设置网络模式,桥接/NAT可上网查询资料,不过不如重装更快处理问题
4.3 想复制粘贴东西到虚拟机但总是失败
安装VMware Tools
无桌面版的centOs 7 参考这个安装VMware Tools说明带桌面版的安装说明网上资料更多。