CentOS7 详细安装教程 — 图文介绍超详细
- 一、安装前的准备
- 二、下载镜像文件
- 三、开始安装
- 第 1 步:文件 → 新建虚拟机 或 直接点击 创建新的虚拟机 图标
- 第 2 步:选择 典型(推荐)→ 下一步
- 第 3 步:稍后安装操作系统
- 第 4 步:选择操作系统和版本
- 第 5 步:输入虚拟机名称和安装路径
- 第 6 步:设置磁盘大小,本文选择默认配置 20G
- 第 7 步:自定义硬件
- 第 8 步:选择 CentOS 安装镜像文件
- 第 9 步:点击完成
- 四、进行初始化配置
- 第 1 步:启动虚拟机
- 第 2 步:选择第一项,Install CentOS 7,等待一会儿
- 第 3 步:选择语言,这里选择的是中文简体
- 第 4 步:进行安装信息的配置,选择安装位置
- 第 5 步:进行设置目标位置,配置分区
- 第 6 步:选择自动创建它们,然后进行分区设置,这里选择默认配置,也可以安装自己的需求自定义设置。
- 第 7 步: 设置好之后完成,保存接收更改
- 第 8 步: 选择网络和主机名
- 第 9 步:安装位置与网络都已配置好,开始安装
- 第 10 步:系统安装的同时,设置 root 账户的密码,**密码很重要,要记住!!**
- 第 11 步:等待一会儿,安装完成,重启设备
- 第 12 步:选择第一项,输入账户名密码登录,账户名 root,密码是上一步自定义的
VMware
VMware 是一款[虚拟机]软件就是通过软件模拟的具有完整硬件系统功能的、运行在一个完全隔离环境中的完整计算机系统。
与物理机一样,虚拟机是运行操作系统和应用程序的软件计算机。虚拟机包含一组规范和配置文件,并由主机的物理资源提供支持。每个虚拟机都具有一些虚拟设备,这些设备可提供与物理硬件相同的功能,但是可移植性更强、更安全且更易于管理。
官网:https://www.vmware.com/cn/products/workstation-pro/workstation-pro-evaluation.html
CentOS
CentOS 是免费的、开源的、可以重新分发的开源操作系统。全名为 “社区企业操作系统(Community Enterprise Operating System)”,提供长期免费升级和更新服务,自由使用。国内最大的服务器操作系统,现在基本所有的互联网公司后台服务器都采用 CentOS
官网:https://www.centos.org/download/
安装步骤
一、安装前的准备
1.VMware 的安装本文不再介绍,正常安装即可
-
下载 CentOS 7 的镜像文件
二、下载镜像文件
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-c777cae793053c440d81f35b3a65544e.png)
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-d8edd13a4cdc08041fd770f6acd1fa7f.png)
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-429771944ef830246ce1e4b6943d8287.png)
三、开始安装
第 1 步:文件 → 新建虚拟机 或 直接点击 创建新的虚拟机 图标
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-fe314beed2c0de31171cb16db6239117.png)
第 2 步:选择 典型(推荐)→ 下一步
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-4b2268acd95e44a8bb2a2e15463d6b74.png)
第 3 步:稍后安装操作系统
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-e2248b09f0ce67beb7913f8b4d6929a1.png)
第 4 步:选择操作系统和版本
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-b67a84fa986b7c6e346dac776d64893a.png)
第 5 步:输入虚拟机名称和安装路径
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-387dd2b636798380b5c9c22eeefc7b9f.png)
第 6 步:设置磁盘大小,本文选择默认配置 20G
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-5f970838385cf2805452a17c739ec88e.png)
第 7 步:自定义硬件
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-3ee2a7d3d14280d57f34629b507a2a8d.png)
第 8 步:选择 CentOS 安装镜像文件
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-6d80cb35c7bb9cb63dcbd0a6306a3a0c.png)
第 9 步:点击完成
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-493e92ad2c3cf600472a08752a0ce733.png)
四、进行初始化配置
第 1 步:启动虚拟机
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-641df1c3dbe81ccee5d76ced450471e8.png)
第 2 步:选择第一项,Install CentOS 7,等待一会儿
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-72e10831e0f06aa89777d8a75be69bab.png)
第 3 步:选择语言,这里选择的是中文简体
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-af7fd53add600919e7ad97daa1edac40.png)
第 4 步:进行安装信息的配置,选择安装位置
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-0d2558bd37831039a7cea7a69dc64b02.png)
第 5 步:进行设置目标位置,配置分区
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-16a85311591d37121d9f57845bdd106e.png)
第 6 步:选择自动创建它们,然后进行分区设置,这里选择默认配置,也可以安装自己的需求自定义设置。
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-f7819e68dd4f487f4d047d4a0318aabc.png)
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-cf21313f9358671a75d3daeadb275cfb.png)
第 7 步: 设置好之后完成,保存接收更改
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-085c8733abedbc5d8ff5f3c3c49e3b72.png)
第 8 步: 选择网络和主机名
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-ea1300d08009fffbb149b010736c1ac6.png)
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-784c763b018a03fb77d4be10a52ac90c.png)
第 9 步:安装位置与网络都已配置好,开始安装
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-ea1300d08009fffbb149b010736c1ac6.png)
第 10 步:系统安装的同时,设置 root 账户的密码,密码很重要,要记住!!
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-3a4f26125081cdf4e86845b6eea978e6.png)
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-0fc85fec630131300021b123b3d23ed7.png)
第 11 步:等待一会儿,安装完成,重启设备
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-f1ef1b2bc0fa97188612c574f055b8a8.png)
第 12 步:选择第一项,输入账户名密码登录,账户名 root,密码是上一步自定义的
输入命令 ip addr 查看自己的虚拟机的 ip
![](https://www.linuxstudy.tech/wp-content/uploads/2022/05/wxsync-2022-05-4b071525543f8dd07328aaf8ee9fa4a5.png)
本篇文章来源于微信公众号: 入门小站