CENTOS7 Minimized installation without Ifconfig,netstat
Centos7 after minimizing the installation, the default is no Ifconfig,netstat command;
We can use yum-y install net-tools directly;
1. First look at the information of Net-tools
Yum Info net-tools
Installable Package name : Net-tools architecture : x86_64 version : 2.0 release : 0.17.20131004git.el7 size : 304 K source : base/7/x86_ 64 Introduction : Basic Networking Tools Web site : http://sourceforge.net/projects/net-tools/protocol : gplv2+ description : the Net-tools package contains basic networking tools, : including Ifconfig, Netstat, route, and others. : most of T Hem is obsolete. For replacement check Iproute the package.
In the description, you can clearly see including ifconfig,netstat,route and so on, yes, it is, installation can
2. Install Net-tools and require Administrator privileges
Yum-y Install Net-tools
Installs 1 packages total Downloads: 304 k installation Size: 917 kdownloading packages:net-tools-2.0-0.17.20131004git.el7.x86_64.rpm | 304 KB 00:00:00 Running Transaction checkrunning transaction testtransaction Test succeededrunning transaction installing : net-tools-2.0-0.17.20131004git.el7.x86_64 1/1 verification : net-tools-2.0-0.17.20131004git.el7.x86_64 1/1 installed: net-tools.x86_64 0:2.0-0.17.20131004git.el7 finished!
3: Verify Command
After the installation is complete, the Ifconfg,netstat can be used for verification;
CENTOS7 Minimized installation without Ifconfig,netstat