centos7.5 업데이트

1008 단어 Linux 명령
linux 버전: CentOS Linux release 7.5.1804(Core)
Yum는 계속 느려서 국내Yum원으로 바꾸려고 아리운과 163을 찾아서 바꿨어요.줄곧 잘못을 보고하다
Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again

인터넷에서 자료를 찾아서 epel에 주석을 달았다고 했어요.repo 파일의 bashurl, 테스트를 통해 털이 사용되었는지 여부입니다.그래서 아리운의 epel을 찾았어요.리포가 바뀌었어.모든 것이 정상이다.
get 다운로드 epel.repo 파일, 경로가 선택되었습니다.필요하면 epel을 먼저 백업할 수 있습니다.repo 파일.
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo

yum가 잘못 보고하지 않으면 온라인으로 설치할 수 있습니다.내yum가 잘못 보고했기 때문에 wget 방식으로 합니다.
yum install epel-release

그리고 yum원, 163과 아리운 모두 다운로드 가능, 주소 제공
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/CentOS7-Base-163.repo

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

다운로드 완료 후 명령 실행 캐시 생성
#yum  clean  all
#yum  makecache

ok, 모든 것이 정상적이고 원만하게 문제를 해결합니다!

좋은 웹페이지 즐겨찾기