In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to install aarch64's centos yum source, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
No net
First, the network outage detection was carried out, and it was found that the DNS was not configured for the
Configure DNS
Modify / etc/resolv.conf
# Generated by NetworkManagernameserver 114.114.114.11 recommendation: check your own DNS server
Update yum
It is found that the error is always reported.
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
Can be accessed with the browser, the prompt URL http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock to check. Get to
Http://mirrors.huaweicloud.com/centos-altarch/7.8.2003/os/aarch74/http://mirrors.bfsu.edu.cn/centos-altarch/7.8.2003/os/aarch74/http://mirror.xtom.com.hk/centos-altarch/7.8.2003/os/aarch74/http://mirror.worria.com/centos-altarch/7.8.2003/os/aarch74/http://mirror-hk.koddos.net/centos-altarch/7.8. 2003/os/aarch74/ http://mirror.aktkn.sg/centos-altarch/7.8.2003/os/aarch74/http://ftp.yz.yamagata-u.ac.jp/pub/linux/centos-altarch/7.8.2003/os/aarch74/http://mirrors.powernet.com.ru/centos-altarch/7.8.2003/os/aarch74/http://mirror.hoster.kz/centos-altarch/7.8.2003/os/aarch74/http://centosx4. Centos.org/altarch/7.8.2003/os/aarch74/
Then the source of Huawei is set up. Tsinghua Yuan is also fine. Using altarch.
# CentOS-Base.repo## The mirror system uses the connecting IP address of the client and the# update status of each mirror to pick mirrors that are updated to and# geographically close to the client. You should use this for CentOS updates# unless you are manually picking other mirrors.## If the mirrorlist= does not work for you As a fall back you can try the# remarked out baseurl= line instead.## [base] name=CentOS-$releasever-Base-mirrors.huaweicloud.comfailovermethod=prioritybaseurl= http://mirrors.huaweicloud.com/centos-altarch/$releasever/os/$basearch/gpgcheck=1gpgkey=http://mirrors.huaweicloud.com/centos/RPM-GPG-KEY-CentOS-7#released updates [updates] name=CentOS-$releasever-Updates-mirrors.huaweicloud.comfailovermethod=prioritybaseurl= http://mirrors.huaweicloud.com/centos-altarch/$releasever/updates/$basearch/gpgcheck=1gpgkey=http://mirrors.huaweicloud.com/centos/RPM -GPG-KEY-CentOS-7#additional packages that may be usefull [extras] name=CentOS-$releasever-Extras-mirrors.huaweicloud.comfailovermethod=prioritybaseurl= http://mirrors.huaweicloud.com/centos-altarch/$releasever/extras/$basearch/gpgcheck=1gpgkey=http://mirrors.huaweicloud.com/centos/RPM-GPG-KEY-CentOS-7#additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever-Plus-mirrors.huaweicloud.comfailovermethod=prioritybaseurl= http://mirrors.huaweicloud.com/centos-altarch/$releasever/centosplus/$basearch/gpgcheck=1enabled=0gpgkey=http://mirrors.huaweicloud.com / centos/RPM-GPG-KEY-CentOS-7#contrib-packages by Centos users [contrib] name=CentOS-$releasever-Contrib-mirrors.huaweicloud.comfailovermethod=prioritybaseurl= http://mirrors.huaweicloud.com/centos-altarch/$releasever/contrib/$basearch/gpgcheck=1enabled=0gpgkey=http://mirrors.huaweicloud.com/centos/RPM-GPG-KEY-CentOS-7
Last
Clean up and update
Yum clean allyum makecacheyum update
Directive to modify sed-I-E-e's; ^ mirrorlist=;#mirrorlist=;'-e's; ^ * * baseurl= http://mirror.centos.org/altarch/;baseurl=http://mirrors.huaweicloud.com/centos-altarch/;' / etc/yum.repos.d/*.repo is all the contents of this article entitled "how to install the yum Source of centos for aarch64". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 215
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.