Linux

[Linux] 잘 안될 때 해결

noddu 2022. 11. 9. 23:10
728x90
반응형

Yum이 작동하지 않을 때

yum clean all

clean도 한번 해주고

 

gedit /etc/yum.repos.d/fedora.repo

해당 파일을 열어서 모두 지운다음

 

[fedora]
name=Fedora
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/19/Everything/x86_64/os/
enabled=1
gpgcheck=0

대소문자를 포함해 다음과 같이 바꿔준다


네임서버가 작동하지 않을 경우

vi /etc/named.conf

파일을 열어서 32행 yes -> no로 변경하기
dnssec-validation no;


curl#6 - "Could not resolve host" 대처

ping 8.8.8.8

ping www.google.com

이더넷 설정도 되어있고, 통신에 이상도 없으면

sudo dhclient

다음 명령어를 입력하면 잘된다

 

반응형