首页 > 编程知识 正文

如何搭建yum源仓库,yum 阿里云源

时间:2023-05-04 23:51:33 阅读:186731 作者:1918

命令行CD/etc/yum.repos.dtouchaliyun.repovialiyun.repoi (输入状态,部分头部字符将丢失。 (粘贴esc:wqyum makecache后,将显示yum源仓库#centos-base.repo## 表示themirrorsystemusestheconnectingipaddressoftheclientandtheconnecting (的AlibabaCloud )成功的updad rorsthatareupdatedtoand # geographicallyclosetotheclient.youshouldusethisforcentosupdates # unlessyouaremanualypickingothere ifthemirrorlist=doesnotworkforyou, asafallbackyoucantrythe # remarkedoutbaseurl=line instead.# # [ a liyun-base ] name=centos-$ releasever-base-mirrors.a liyun.comfailovermethod=priority base URL=https://mirrors.a liyun.com/com $ releasever/base OS/$ basearch/OS/http://mirrors.cloud.aliyuncs.com/cen cs gpg check=1gpg key=3https://mirrors.a Lin additionalpackagesthatmaybeuunit name=centos-$ releasever-extras-mirrors.a liyun.comfailovermethod=priority base URL com 3358 mirrors.aliyuncs.com/centos/$ releasever/extras/$ basearch/OS/http://mirrors.cloud.aliyuncs.com/com/com centos/rpm-gpg-key-centos-official # additionalpackagesthatextendfunctionalityofexistingpackages [ a liyun-centos plon ]。 name=centos-$ releasever-plus-mirrors.a liyun.comfailovermethod=priority base URL=https://mirrors.a liyun.com/com $ releasever/centos plus/$ basearch/OS/http://mirrors.cloud.aliyuncs.com/gpg check=1enabled=0gpg key=333https://mirrors rpm-gpg-key-centos-official [ a liyun-power tool ] name=centos-$ releasever-power tools-mirrors.a liyun.comfailovermethod=priority base URL=https://mirrors.a liyun.cn http://mirrors.aliyuncs.com/centos/$ releasever/power tools/$ basearch/OS/3358 mirrors.cloud $ basearch/OS/gos centos/rpm-gpg-key-centos-official [ name=centos-$ releasever-a ppstream-mirrors.a liyun.comfailovermethod http://mirrors.aliyuncs.com/centos/$ releasever/a ppstream/$ basearch/OS/http://mirrors.cloud.aliyuncs.clou ncn

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。