type
status
date
slug
summary
tags
category
icon
password
1、下载镜像
https://www.centos.org/download
从官网下载x86_64镜像

2、安装系统
选择安装CentOS Stream 9系统

选择语言

配置必填选项

配置安装软件源-按需选择


配置硬盘分区

自动分区

手动分区




配置root用户密码(创建用户密码可选)


正在安装

安装完成


系统默认需创建一个普通或管理员用户

3、配置网卡
打开终端


编辑网卡配置文件
vim /etc/NetworkManager/system-connections/ens160.nmconnection

详细配置

wq保存并退出
重新加载网卡

注意!CentOs Stream9 默认是关闭远程连接root用户的
开启方法如下

4、更换系统yum源
备份系统自带的Yum源配置文件

新建清华大学Yum源配置
vim base.repo
填入如下内容

阿里源(也可选择)
重新清理和生成Yum源配置文件的缓存

测试

- 作者:Sangyxv
- 链接:https://sangyxv.top/article/5
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。