issues
search
yeomko26
/
redhat_certification
0
stars
0
forks
source link
가상머신 환경 설정
#3
Open
yeomko26
opened
3 years ago
yeomko26
commented
3 years ago
man 명령어를 사용하기 위해서는 /etc/yum.conf에 tsflag를 주석처리해주어야 한다.
/etc/resolv.conf 파일에 nameserver=9.9.9.9로 잡아주어 dns를 사용할 수 있도록 잡아주어야한다.
네트워크 유형은 호스트에 브릿지로 잡아준다.
route -n get default 명령어로 게이트웨이 ip를 찾아낸다.
nmtui 명령어로 네트워크 설정에 들어가서 직접 ip 주소와 게이트웨이 주소를 넣어준다. ex) 192.168.0.10/24
systemctl restart network 명령어를 입력해준다.
게이트웨이 ip에 ping을 찍어봐서 통신이 되는지 확인한다.