'2020/03/03'에 해당되는 글 1건

  1. 2020/03/03 용비 CentOS 7 Minimal 설치 시 네트워크 설정
VirtualBox에 CentOS 7을 Minimal로 설치했을 경우,
curl www.naver.com과 같이 외부 URL을 호출하거나,
yum update를 실행했을 경우 다음과 같은 오류가 발생한다.
Could not resolve host ...
Network 카드 설정이 제대로 되어 있지 않을 때 발생하는 오류이다.
다음 command로 Ethernet 설정을 확인할 수 있다.
[root@localhost user]# ip addr

다음과 같이 설정을 변경할 수 있다.
[root@localhost user]# vi /etc/systemconfig/network-scripts/ifcfg-<ethernet card name>
ONBOOT=yes # 맨 아래 항목 no -> yes로 수정 후 저장
다음 command로 DHCP IP를 재할당받으면 된다.
[root@localhost user]# dhclient

TAG
받은 트랙백이 없고, 댓글이 없습니다.

댓글+트랙백 RSS :: http://www.yongbi.net/rss/response/867