欢迎光临
专业Linux运维二十年

centos下netconfig 的安装方法

默认5.1以上所没有netconfig命令的,需要安装 

root@localhost ~]# netconfig 
如果出现找不到该命令的错误信息,说明该命令包还没有安装,redcat/centos默认情况下是没有安装的。 
首先要安装该命令包,到这里 
http://rpm.pbone.net/index.php3/stat/4/idpl/7974654/com/netconfig-0.8.24-1.2.2.1.i386.rpm.html 
下载: 
netconfig-0.8.24-1.2.2.1.i386.rpm 

rpm -ivh netconfig-0.8.24-1.2.2.1.i386.rpm 

netconfig 

[root@localhost]# netconfig -d eth0 –ip=192.168.1.33 –netmask=255.255.255.0 –gateway=192.168.1.1 

脚本之家
赞(0) 打赏
未经允许不得转载:Linux老运维 » centos下netconfig 的安装方法

觉得文章有用就打赏一下文章作者

非常感谢你的打赏,我们将继续提供更多优质内容,让我们一起创建更加美好的网络世界!

支付宝扫一扫

微信扫一扫