创建新的虚拟机
1.自定义创建
2.下一步
3.选择稍后安装操作系统,点击下一步
4.选择Linux 选择CentOs 7 64位,点击下一步
5.虚拟机命名,选择存放位置,点击下一步
6.处理器的配置
7.内存配置,点击下一步
8.这里我们选择桥接网络,方便后面虚拟机与windows互通
9.默认下一步
10.默认下一步
11.创建新的虚拟磁盘,点击下一步
12.指定磁盘容量
我们指定存储为单个文件,减小性能损耗
13.指定磁盘存放路径
14.点击完成
15.设置centos的iso路劲
设置后
安装CentOs 7
1.启动
2.选择中文-----简体中文,点击继续
3.1 分区
点击我要配置分区,点击完成
如果后期磁盘容量不够用,想要扩展磁盘容量,可以选择LVM分区方式
创建/boot、/swap、/、/home 分区,点击完成
点击接受更改
3.2 设置静态网络
4.修改网络编辑器,这里我们要将Vmware虚拟机的IP段与windows的保持一致才能通网
5.手动添加IP地址,开始创建虚拟机时,我选择的桥接网络,桥接网络要和windows联网的IP地址范围内子网掩码和网关与windows都得保持一致。
6.开始安装
7.设置root密码
8.这里我们就默认root超级管理员登陆就行了,不用创建普通用户
9.等待安装完成