便宜VPS主机精选
提供服务器主机评测信息

linux如何安装netstat linux安装netstat教程

Linux如何安装netstat?Netstat 命令用于显示各种网络相关信息,如网络连接,路由表,接口状态 (Interface Statistics),masquerade 连接,多播成员 (Multicast Memberships) 等等,下面看下Linux安装netstat具体步骤。

1.首先配置好本机的yum源: yum repolist all

2.利用netstat命令,却提示:-bash: netstat: command not found

3.执行yum provides */netstat命令就可以看到提供命令的工具包net-tools-2.0-0.17.20131004git.el7.x86_64

4.安装工具包:yum install net-tools

5.利用本地服务测试:netstat

以上就是linux安装netstat教程。

未经允许不得转载:便宜VPS测评 » linux如何安装netstat linux安装netstat教程