centos7.5 업데이트
1008 단어 Linux 명령
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, 모든 것이 정상적이고 원만하게 문제를 해결합니다!
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
【터미널】일본어가 깨져 버릴 때의 해결 방법(환경 변수의 설정까지)어느 날 데스크톱에서 ls 실행했을 때… 터미널 아래 3행의 파일명이 깨져서 「😶!?」 그러고 보면 Ruby나 무언가의 환경 구축할 때 일본어를 치면 문자가 깨졌지만 해결되지 않고 그대로 있었구나… 라고! 그래서 이...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.