ninic

导航

2017年11月21日 #

centos7 新增ip

摘要: 1.进入network-scripts目录:cd /etc/sysconfig/network-scripts/ 2.复制ifcfg-eth0: cp ifcfg-eth0 ifcfg-eth0:0 3.编辑ifcfg-eth0:0: vi ifcfg-eth0:0 NAME=eth0:0 #保持和 阅读全文

posted @ 2017-11-21 17:38 ninic 阅读(388) 评论(0) 推荐(0) 编辑

centos7 配置ip

摘要: 1. 切换到root用户下: su root 2.进入network-scripts目录: cd /etc/sysconfig/network-scripts/ 3.该目录下一般第一个文件是主文件,我的是ifcfg-eth0。通过ls查看。 4.编辑ifcfg-eth0文件:vi ifcfg-eth 阅读全文

posted @ 2017-11-21 17:30 ninic 阅读(211) 评论(0) 推荐(0) 编辑