超详细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) 选择创建新的虚拟机

centos下安装jupyter centos下安装vmware虚拟机_用户账户


(2)选择自定义(推荐)。

centos下安装jupyter centos下安装vmware虚拟机_centos_02


(3)直接下一步。

centos下安装jupyter centos下安装vmware虚拟机_linux_03

(4)选择稍后安装操作系统(保护镜像文件)。

centos下安装jupyter centos下安装vmware虚拟机_centos下安装jupyter_04


(5)选择客户机操作系统Linux(L),版本:Centos 7 64位。

centos下安装jupyter centos下安装vmware虚拟机_centos下安装jupyter_05


(6)按照需要选取虚拟机内存。

centos下安装jupyter centos下安装vmware虚拟机_centos下安装jupyter_06


(7)选择使用网络地址转换(NAT)

centos下安装jupyter centos下安装vmware虚拟机_自定义_07


(8)选择I/O控制器类型:LSI Logic(推荐)

centos下安装jupyter centos下安装vmware虚拟机_centos_08


(9)选择虚拟磁盘类型:SCSI(S) (推荐)

centos下安装jupyter centos下安装vmware虚拟机_linux_09


(10)选择创建新虚拟磁盘(V)

centos下安装jupyter centos下安装vmware虚拟机_centos下安装jupyter_10


(11)①指定磁盘大小(按自己需求进行更改)。

将磁盘拆分成多个文件(M)

centos下安装jupyter centos下安装vmware虚拟机_centos下安装jupyter_11


(12)选择磁盘文件存储位置。

centos下安装jupyter centos下安装vmware虚拟机_centos下安装jupyter_12

二、 Centos7安装

1.导入Centos7镜像文件

(1)选择自定义硬件

centos下安装jupyter centos下安装vmware虚拟机_linux_13


(2)在此处找到Centos7镜像文件并导入。

centos下安装jupyter centos下安装vmware虚拟机_centos下安装jupyter_14


(3)其他:

centos下安装jupyter centos下安装vmware虚拟机_centos_15


(4)完成。

centos下安装jupyter centos下安装vmware虚拟机_linux_16

2.Centos7安装

选择Install Centos7,回车。

centos下安装jupyter centos下安装vmware虚拟机_centos_17

3.Centos7基础设置

(1)语言设置:中文——简体中文(中国)

centos下安装jupyter centos下安装vmware虚拟机_linux_18


(2)本地化:默认设置。

centos下安装jupyter centos下安装vmware虚拟机_centos_19


(3)①软件选择设置:

centos下安装jupyter centos下安装vmware虚拟机_自定义_20


②选择GNOME桌面,再选择需要的环境附加选项。

centos下安装jupyter centos下安装vmware虚拟机_linux_21


(4)①网络和主机名设置:

centos下安装jupyter centos下安装vmware虚拟机_自定义_22


打开以太网,自定义主机名。

centos下安装jupyter centos下安装vmware虚拟机_用户账户_23


(5)设置完成。

centos下安装jupyter centos下安装vmware虚拟机_centos下安装jupyter_24

4.Centos7账户设置

(1)①root密码设置:

centos下安装jupyter centos下安装vmware虚拟机_自定义_25


②为方便记忆,此处root账户密码设置为:123456

centos下安装jupyter centos下安装vmware虚拟机_用户账户_26

(2)创建用户,此处用户密码依然设置为:123456

centos下安装jupyter centos下安装vmware虚拟机_linux_27


(3)完成设置。

centos下安装jupyter centos下安装vmware虚拟机_用户账户_28

5.Centos7初始设置

(1)①许可证设置:

centos下安装jupyter centos下安装vmware虚拟机_用户账户_29


接受许可证,完成。

centos下安装jupyter centos下安装vmware虚拟机_用户账户_30


(2)完成配置。

centos下安装jupyter centos下安装vmware虚拟机_自定义_31

6.登入用户账户

(1)此处登录为用户账户,输入用户账户密码:123456,点击登录/回车。

centos下安装jupyter centos下安装vmware虚拟机_centos下安装jupyter_32


(2)选择图形化桌面语言:汉语

centos下安装jupyter centos下安装vmware虚拟机_自定义_33


(3)选择输入法:汉语,后续根据使用需要可在设置中再进行更改。

centos下安装jupyter centos下安装vmware虚拟机_用户账户_34


(4)隐私:建议关闭位置服务

centos下安装jupyter centos下安装vmware虚拟机_centos_35


(5)连接在线账号:跳过,后续需要可自行登录、连接。

centos下安装jupyter centos下安装vmware虚拟机_centos下安装jupyter_36


(6)完成设置。

centos下安装jupyter centos下安装vmware虚拟机_centos下安装jupyter_37

三、测试安装结果

1.网络测试

(1)点击应用程序,打开Firefox浏览器

centos下安装jupyter centos下安装vmware虚拟机_自定义_38


(2)Firefox浏览器中可正常进行搜索,得到反馈,说明网络连通

centos下安装jupyter centos下安装vmware虚拟机_自定义_39

2.终端测试

(1)在桌面右击鼠标,打开终端

centos下安装jupyter centos下安装vmware虚拟机_用户账户_40


(2)使用su命令,切换到root账户,root账户密码:123456

如下显示为切换成功。

centos下安装jupyter centos下安装vmware虚拟机_centos_41