HostOnNet Blog

CentOS 7 missing ifconfig

Looking for Linux Server Admin or WordPress Expert? We can help.

On CentOS 7 minimal installation on a OpenVZ VPS, ifconfig was missing. You can install ifconfig with yum

yum -y install net-tools

To see which package provide “ifconfig” command, run

[root@cloud1 ~]# yum whatprovides "*bin/ifconfig"
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.anl.gov
 * epel: epel.mirror.constant.com
 * extras: mirror.cogentco.com
base/7/x86_64/filelists_db     
net-tools-2.0-0.17.20131004git.el7.x86_64 : Basic networking tools
Repo        : base
Matched from:
Filename    : /sbin/ifconfig



net-tools-2.0-0.17.20131004git.el7.x86_64 : Basic networking tools
Repo        : @base
Matched from:
Filename    : /sbin/ifconfig



[root@cloud1 ~]# 

Posted in CentOS

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.