https://www.gravatar.com/avatar/5f48da38e786436afece6f2e46196202?s=240&d=mp

Linux Shell

CentOS网卡配置

这真没有啥好说的,直接发配置文件吧,主要是备忘 配置CentOS网卡及IP信息: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 [root@TEST-Server ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE="eth0" HWADDR="00:0C:29:14:FB:90" NM_CONTROLLED="yes" ONBOOT="yes" BOOTPROTO="static"