Rocky Linux镜像

简介

Rocky Linux是CentOS的一个分支,它位于Red Hat Enterprise Linux(RHEL)的下游。与CentOS一样,它提供了非常适合服务器的稳定版Linux。它旨在作为CentOS的完全兼容替代品。

下载地址:https://mirrors.aliyun.com/rockylinux/

配置方法

执行以下命令替换默认源

sed -e 's|^mirrorlist=|#mirrorlist=|g' \
    -e 's|^#baseurl=http://dl.rockylinux.org/$contentdir|baseurl=https://mirrors.aliyun.com/rockylinux|g' \
    -i.bak \
    /etc/yum.repos.d/Rocky-*.repo

dnf makecache

相关链接

特别声明:本镜像站内容来自第三方网站,阿里云会尽力审核镜像内容安全,但无法保证其完全合规,请您在下载前慎重考虑。具体请查看《阿里云开发者社区用户服务协议》、《阿里云镜像站特别条款》等。 如您发现镜像站有任何问题,可以填写镜像站投诉表单举报,我们将按照法律规定尽快进行处理。

推荐关注:
· 手慢无!云服务器免费领取,实时计算净省3258元 · 每周二看直播,学最新阿里开源技术

评论

登录后可评论
头像
游客6ft3otpc3yy5y
2024-09-06发布于 四川
新建的8.6的虚拟机/etc/yum.repos.d/里面没有文件 大佬能把yum.repos.d 这个文件夹分享出来吗
Shape Created with Sketch. Combined Shape Created with Sketch.
头像
vihan
2024-08-20发布于 湖北
sed -e 's|^mirrorlist=|#mirrorlist=|g' \ -e 's|^#baseurl=http://dl.rockylinux.org/$contentdir|baseurl=https://mirrors.aliyun.com/rockylinux|g' \ -i.bak \ /etc/yum.repos.d/rocky*.repo && dnf makecache (注:修改:Rocky-*.repo改为小写,并且杠也要去掉,不然漏改文件
陈玖海、silymer、1006139856440302觉得很赞
Shape Created with Sketch. 3 Combined Shape Created with Sketch.
头像
bdzbg
2024-08-18发布于 广东
R要改下小写r
陈玖海、vihan觉得很赞
Shape Created with Sketch. 2 Combined Shape Created with Sketch.
头像
游客7sy5nda44worw
2024-06-24发布于 上海
Rocky Linux 9.4 亲测可用! sed -e 's|^mirrorlist=|#mirrorlist=|g' -e 's|^#baseurl=http://dl.rockylinux.org/$contentdir|baseurl=https://mirrors.aliyun.com/rockylinux|g' -i.bak /etc/yum.repos.d/rocky*.repo
游客77csetpgitckm、游客gpgmexynd6cou觉得很赞
Shape Created with Sketch. 2 Combined Shape Created with Sketch. 1
2024-07-10
发布于 四川
在加一个 && dnf makecache
Shape Created with Sketch. Combined Shape Created with Sketch.
头像
游客jliekpbj4kere
2024-06-04发布于 浙江
sed -e 's|^mirrorlist=|#mirrorlist=|g' \ -e 's|^#baseurl=http://dl.rockylinux.org/$contentdir|baseurl=https://mirrors.aliyun.com/rockylinux|g' \ -i.bak \ /etc/yum.repos.d/[Rr]ocky*.repo dnf makecache 更正成这样应该能用了。 1、yum源里rocky的R是小写的,按阿里写法会报错,找不到对应的repo 2、按阿里写法会漏更新rocky.repo这个源
Shape Created with Sketch. Combined Shape Created with Sketch.
头像
t62qiw65r2xgu
2024-01-30发布于 北京
更正错误 1./etc/yum.repos.d/rocky*.repo 2.sed语句中阿里云的https,改成http 正确语句如下: sed -e 's|^mirrorlist=|#mirrorlist=|g' -e 's|^#baseurl=http://dl.rockylinux.org/$contentdir|baseurl=http://mirrors.aliyun.com/rockylinux|g' -i.bak /etc/yum.repos.d/rocky*.repo
Shape Created with Sketch. Combined Shape Created with Sketch.
头像
游客sxs5xjg3pfwpo
2023-08-17发布于 浙江
菜鸡一个,想问下懂的朋友们,rocky9.2iso x86_64下有三个8.8G的镜像,它们三个有什么区别? rocky-9.2-x86_64是官网提供的镜像,那么其他两个是做什么用的
Shape Created with Sketch. Combined Shape Created with Sketch. 2
2025-02-06
发布于 上海
@1434820306245313 对于菜鸡来说,安装minimal就是个灾难,安装完啥也用不了; 菜鸡推荐安装桌面版或者带桌面的工作站
Shape Created with Sketch. Combined Shape Created with Sketch.
2024-07-10
发布于 四川
dvd 包含软件包 boot 网络安装,需要在线下载 minimal 最小精简版 一般我们都安装minimal
Shape Created with Sketch. Combined Shape Created with Sketch.
头像
陈玖海
2023-06-05发布于 上海
### For Rocky 9.2 the filename should be ### /etc/yum.repos.d/rocky*.repo sed -e 's|^mirrorlist=|#mirrorlist=|g' \ -e 's|^#baseurl=http://dl.rockylinux.org/$contentdir|baseurl=https://mirrors.aliyun.com/rockylinux|g' \ -i.bak \ /etc/yum.repos.d/rocky*.repo dnf makecache
油炸的馍馍、游客3wwnfzofcikwu、陈玖海觉得很赞
Shape Created with Sketch. 3 Combined Shape Created with Sketch.
头像
活活撑死
2023-03-26发布于 江苏
人过留名,雁过拔毛,希望能稳定
Shape Created with Sketch. Combined Shape Created with Sketch.
头像
游客ggqkwzvchdxwu
2023-03-08发布于 江苏
怎么下载os文件呀
Shape Created with Sketch. Combined Shape Created with Sketch.
镜像站 + 订阅

阿里巴巴镜像站技术社区

域名使用规则
  • 公网访问地址:

    https://mirrors.aliyun.com/

  • ECS VPC网络访问地址:

    http://mirrors.cloud.aliyuncs.com/

  • ECS 经典网络访问地址:

    http://mirrors.aliyuncs.com/

对于镜像有任何问题,欢迎给我们提问题!
立即提问
热门体验场景