Centos7 ip 변경

vi /etc/sysconfig/network-script/ifcfg-eth0

※ eth0은 인터페이스명으로

ONBOOT=yes
BOOTPROTO="static"
IPADDR="10.0.0.44"
GATEWAY="10.0.0.1"
DNS1="8.8.8.8"

댓글

이 블로그의 인기 게시물

LSF (GPU 스케쥴링) 명령어 사용법

CentOS 7 리부팅 없이 새 디스크 인식 (find a new disk without reboot)

python에서 hive 사용