0
点赞
收藏
分享

微信扫一扫

CentOS8入门

才德的女子 2022-02-17 阅读 193

Centos8使用问题

安装步骤

镜像地址

https://mirrors.aliyun.com/centos/8-stream/isos/x86_64/
在这里插入图片描述
版本8已下线,可用8-stream

虚拟机导入镜像

https://blog.csdn.net/sq4521/article/details/105869704

yum安装源

错误:为 repo ‘base’ 下载元数据失败
解决方法:
大家可以按照如下流程修改源
1.备份现有源

mv /etc/yum.repos.d /etc/yum.repos.d.backup

2.设置新的yum目录

mkdir /etc/yum.repos.d

3.安装wget(我没安装,也没事,可能是我以前安装过)

yum install -y wget

4.下载配置(
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo

5.清除文件并重建元数据缓存

yum clean all
yum makecache

6.最后更新软件包,这一步要下载安扎ung或升级一百多个软件包,比较费时间,大概三五分钟吧!

yum update -y

创建本地web服务

https://zhuanlan.zhihu.com/p/100535200

举报

相关推荐

centos8换源

centos8安装Containerd

centos8安装rabbitMQ

centos8安装redis

centos8安装RabbitMq

centos8安装ollama

0 条评论