abstract:配置网卡vi /etc/sysconfig/network-scripts/ifcfg-xxxxbootproto=staticIPADDR=192.168.1.251NATMASK=255.255.255.0GATEWAY=192.168.1.1onboot=yes配置DNSvi /etc/resolv.confnameserver 8.8.8.8然后重启service network rest
配置网卡
vi /etc/sysconfig/network-scripts/ifcfg-xxxx
bootproto=static
IPADDR=192.168.1.251
NATMASK=255.255.255.0
GATEWAY=192.168.1.1
onboot=yes
配置DNS
vi /etc/resolv.conf
nameserver 8.8.8.8
然后重启
service network restart
Correcting teacher:天蓬老师Correction time:2018-12-28 15:27:56
Teacher's summary:课程中,是对linux入门知识做了探讨,希望大家能关注这个操作系统,有空,还是要多看看这方面和资料