-
Could not resolve host: githib.com정리 2023. 12. 5. 23:29
외부 통신 오류임
해결법은 인터넷 뒤지면 나옴
정리 ㄱ
외부 통신 되는지 확인: ping 날리셈
$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=54 time=41.0 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=54 time=42.0 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=54 time=40.0 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=54 time=41.5 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=54 time=41.3 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=54 time=41.1 ms
^C
--- 8.8.8.8 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5007ms
rtt min/avg/max/mdev = 39.953/41.127/41.966/0.618 ms아 외부통신은 되는구나
네트워크 준비 완료되었구나.
도메인 통신은?
$ ping http://www.google.com
ping: http://www.google.com: Temporary failure in name resolution안되는구나.
이유는... 구글링 해뵉
/etc/resolv.conf 파일을 열자.
sudo vi resolv.conf
하면 리드온리말고 편집할수있게 뜸.
i 쳐서 인설트하고
nameserver 8.8.8.8
nameserver 8.8.4.4
추가해주셈
그리고 Esc눌러
:wq 하든
ZZ 하든 해서
저장하고 나와.
그럼 됨ㅇㅇ
참고블로그 : [Linux] 외부 통신 오류 (velog.io)
[Linux] 외부 통신 오류
리눅스 서버를 재부팅 할 일이 생겼다.재부팅 후에 git repository를 clone해서 가져오려고 시도하였는데 다음과 같은 오류가 발생했다.khan@jsshim-desktop:~$ git clone https://github.com/ithemal/bhiv
velog.io
'정리' 카테고리의 다른 글
GITHUB issue/pullRequest Template 생성 및 적용 (2) 2024.09.10 GIT, GITHUB(egoing 강의 참고) (7) 2024.09.08 깃허브 블로그 만들기 - 윈도우 (0) 2024.08.09 우분투 설치 (VirtualBox) (1) 2024.02.27 [교양글쓰기 정리] 인용하는 법 (1) 2023.12.20