abstract:配置網(wǎng)卡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
配置網(wǎng)卡
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:課程中,是對(duì)linux入門知識(shí)做了探討,希望大家能關(guān)注這個(gè)操作系統(tǒng),有空,還是要多看看這方面和資料