超详细Centos7安装图文教程——基于VMwareWorkstation
- 一、创建虚拟机
- 1.安装前准备
- 2.虚拟机相关设置
- 二、 Centos7安装
- 1.导入Centos7镜像文件
- 2.Centos7安装
- 3.Centos7基础设置
- 4.Centos7账户设置
- 5.Centos7初始设置
- 6.登入用户账户
- 三、测试安装结果
- 1.网络测试
- 2.终端测试
一、创建虚拟机
1.安装前准备
①虚拟机软件: VMwareWorkstation / VMwareWorkstationPro
②镜像文件:centos-7-x86_64-dvd-2009.iso
2.虚拟机相关设置
(1) 选择创建新的虚拟机。
(2)选择自定义(推荐)。
(3)直接下一步。
(4)选择稍后安装操作系统(保护镜像文件)。
(5)选择客户机操作系统Linux(L),版本:Centos 7 64位。
(6)按照需要选取虚拟机内存。
(7)选择使用网络地址转换(NAT)。
(8)选择I/O控制器类型:LSI Logic(推荐)。
(9)选择虚拟磁盘类型:SCSI(S) (推荐)。
(10)选择创建新虚拟磁盘(V)。
(11)①指定磁盘大小(按自己需求进行更改)。
②将磁盘拆分成多个文件(M)。
(12)选择磁盘文件存储位置。
二、 Centos7安装
1.导入Centos7镜像文件
(1)选择自定义硬件。
(2)在此处找到Centos7镜像文件并导入。
(3)其他:
(4)完成。
2.Centos7安装
选择Install Centos7,回车。
3.Centos7基础设置
(1)语言设置:中文——简体中文(中国)。
(2)本地化:默认设置。
(3)①软件选择设置:
②选择GNOME桌面,再选择需要的环境附加选项。
(4)①网络和主机名设置:
②打开以太网,自定义主机名。
(5)设置完成。
4.Centos7账户设置
(1)①root密码设置:
②为方便记忆,此处root账户密码设置为:123456。
(2)创建用户,此处用户密码依然设置为:123456。
(3)完成设置。
5.Centos7初始设置
(1)①许可证设置:
②接受许可证,完成。
(2)完成配置。
6.登入用户账户
(1)此处登录为用户账户,输入用户账户密码:123456,点击登录/回车。
(2)选择图形化桌面语言:汉语。
(3)选择输入法:汉语,后续根据使用需要可在设置中再进行更改。
(4)隐私:建议关闭位置服务。
(5)连接在线账号:跳过,后续需要可自行登录、连接。
(6)完成设置。
三、测试安装结果
1.网络测试
(1)点击应用程序,打开Firefox浏览器。
(2)Firefox浏览器中可正常进行搜索,得到反馈,说明网络连通。
2.终端测试
(1)在桌面右击鼠标,打开终端。
(2)使用su命令,切换到root账户,root账户密码:123456。
如下显示为切换成功。