프로그래밍/미분류
[CentOS7] OS 설치 후 yum 을 실행했으나, 네트워크이슈로 실패했다.
daewonyoon
2019. 7. 2. 20:53
반응형
CentOS 7 을 설치하고, yum update
를 실행해 보았으나, Could not resolve host
에러가 발생하며 실패했다.
[me@localhost ~]$ sudo yum update
[sudo] password for me:
Loaded plugins: fastestmirror, langpacks
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; Unknown error"
[me@localhost ~]$ nmcli d
DEVICE TYPE STATE CONNECTION
virbr0 bridge connected virbr0
enp0s3 ethernet disconnected --
lo loopback unmanaged --
virbr0-nic tun unmanaged --
enp0s3
가 disconnected
상태.
# nmtui
nmtui
를 이용해 enp0s3
를 자동연결로 세팅한다.
- seel also : https://onedaystudy.tistory.com/109 : name server 세팅이 안 되어있을 때.
728x90