一、Centos8的介绍
Centos官方发行说明:
https://lists.centos.org/pipermail/centos-announce/2019-September/023449.html
Centos8.0于2019年9月24日16:38:36发布。Centos完全遵守Red Hat的再次发行政策, 并且致力于上游产品在功能上完全兼容, Centos对组件的修改主要是去除Red Hat 的商标及美工图。
该版本还包含了全新的 CentOS Streams
, Centos Stream 是一个滚动发布的Linux发行版,它介于Fedora Linux的上游开发的RHEL的下游开发之间而存在。你可以把 Centos Streams 当成是用来体验最新红帽系Linux特性的一个版本, 而无需等太久。
二、Centos的下载
-
1.官方下载
https://centos.org/download/ -
2.清华开源软件镜像站
https://mirrors.tuna.tsinghua.edu.cn/
三、centos安装步骤
注: 第一次使用的是VMware10, 安装失败不能进入安装界面, 第二次使用的是VMware14,出现检查失败,后需要自己手动配置源地址, 最后改用VMware安装顺利.
-
1.新建虚拟机
新建虚拟机
选择典型安装, 这里根据自己的需求进行选择,也可以选择自定义安装
image.png
但是这里最好是选择使用稍后安装操作系统
image.png
-
2.安装配置Centos8

点击编辑虚拟机设置, 最后点击开启开启虚拟机, 进行安装。

注意:如果你使用的是VMware14在安装的过程中,出现如下的错误,那么就重启虚拟机,在进行检查的时候直接按
ESC
退出检测就好了。
如果能出现如下的界面, 说明就可以进行正常安装了, 这里可以根据自己的意愿可以选择中文的,但是推荐使用英文的.

如果你使用的是Vmware14的版本,跳过了检查哪一步,这里一般自动的安装源是错误的, 需要我们手动更换成阿里的源https://mirrors.aliyun.com/centos/8/BaseOS/x86_64/os/
, 但是如果你使用的是VMware15 就不需要我们手动配置源,

而在更换网络源的前提我们要先开启net-work
网络才行, 不然是不能勾选在网络上
进行更换的


进行磁盘的自定义分区分区操作,这里根据自己的需求进行分区就好了
/boot 分区用于引导系统的, 包含了操作系统的内核和在启动过程中用到的一些文件, 在Centos8以前建议为100M, 但是在centos8时系统要求在200M以上
/swap 分区是用于充当虚拟内存的, 他一般为物理内存的1.5到2倍之间
/ 根分区用于大部分的系统文件和用户文件,所以这个分区尽量大一些 5G以上就好了
/home 根据自己的需要

选择要安装的软件,比如是否要安装桌面等都可以在这里进行选择的 ,当然也是可以选择最小的安装,只需安装一个终端就好了

当都配置完成后就可以点击安装了, 然后设置root密码等一些列操作了。

四、登录测试
我这里安装的是最小版, 当我们登录成功后使用ifconfig
查看本地的ip地址发现没有这个命令, 使用yum install net-tools
进行基础网络模块的安装


使用ssh进行远程连接操作

换源
我们将yum源更换为国内的阿里云源
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
下载完毕后更新缓存
yum makecache
网友评论