centos下netconfig 的安装方法

2017-03-17 08:31:46 3521

centos下netconfig 的安装方法


如果出现找不到该命令的错误信息,说明该命令包还没有安装,redcat/centos默认情况下是没有安装的。


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


root@localhost ~]# netconfig 

如果出现找不到该命令的错误信息,说明该命令包还没有安装,redcat/centos默认情况下是没有安装的。 

首先要安装该命令包,到这里 

http://www.landui.com/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 


提交成功!非常感谢您的反馈,我们会继续努力做到更好!

这条文档是否有帮助解决问题?

非常抱歉未能帮助到您。为了给您提供更好的服务,我们很需要您进一步的反馈信息:

在文档使用中是否遇到以下问题: