본문 바로가기
Infra & DevOps/Linux

[출처] yum install wget 시 오류가 발생하는 경우

by Jordy-torvalds 2020. 6. 16.
반응형

출처 : http://egloos.zum.com/guagua/v/7415761

 

yum install wget 시 오류가 발생하는 경우

명령어 : yum install wget 오류메시지 Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=o

egloos.zum.com

 

명령어 : yum install wget

 

 

오류메시지

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was

14: curl#6 - "Could not resolve host: mirrorlist.centos.org; 알 수 없는 오류"

 

 

처리방법

- 네임서버가 세팅되지 않은 경우 발생할 수 있음.

- vi /etc/resolv.conf 후

  nameserver 8.8.8.8

  nameserver 164.124.101.2

 

입력 후 저장

 

반응형