临时笔记11

1、阿里云yum源:curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
2、查看系统版本:[root@localhost etc]# cat system-release
3、根据源选择版本:20.03-LTS-SP1
4、清理yum源:yum clean all
5、安装wget:yum install wget
6、查看当前yum源:cat /etc/yum.repos.d/*.repo
7、更新yum makecache源

x2openEuler-core-3.0.0-20240125.x86_64.rpm

wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo

posted @ 2024-08-16 23:28  Redhskb  阅读(23)  评论(0编辑  收藏  举报