CENTOS7 Minimized installation without Ifconfig,netstat

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.