centos7下安装缺少的命令依赖包
2015-12-04 13:19
585 查看
猫头哥在使用centos7的时候,安装了最小化版本,结果不支持netstat命令,报错如下
netstat command not found on CentOS 7 and RHEL 7 (Red Hat Enterprise Linux 7)
解决办法
yum provides */netstat
输出如下
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.opencas.cn
* epel: mirrors.opencas.cn
* extras: mirrors.opencas.cn
* updates: mirrors.opencas.cn
ctdb-tests-2.5.1-1.el6.x86_64 : CTDB clustered database test suite
Repo : base
Matched from:
Filename : /usr/share/ctdb-tests/eventscripts/stubs/netstat
伦理片 http://www.dotdy.com/
net-tools-1.60-110.el6_2.x86_64 : Basic networking toolsRepo : base
Matched from:
Filename : /bin/netstat
check-mk-multisite-1.2.6p9-1.el6.noarch : The check-mk's Multisite
Repo : epel
Matched from:
Filename : /usr/share/check_mk/web/plugins/netstat
check-mk-agent-1.2.6p9-1.el6.x86_64 : The check-mk's Agent
Repo : epel
Matched from:
Filename : /usr/share/check-mk-agent/available-plugins/netstat
munin-node-2.0.25-2.el6.noarch : Network-wide graphing framework (node)
Repo : epel
Matched from:
Filename : /usr/share/munin/plugins/netstat
check-mk-docs-1.2.6p9-1.el6.noarch : The check-mk's documentation
Repo : epel
Matched from:
Filename : /usr/share/doc/check_mk/checks/netstat
check-mk-1.2.6p9-1.el6.x86_64 : A new general purpose Nagios-plugin for retrieving data
Repo : epel
Matched from:
Filename : /usr/share/check_mk/checks/netstat
net-tools-1.60-110.el6_2.x86_64 : Basic networking tools
Repo : installed
Matched from:
Filename : /bin/netstat
分析一下输出结果,我们常用的命令都放在bin目录下,同时根据安装包的名字,我们使用的肯定是网络工具,不可能包含check相关。所以选择安装如下:
yum install net-tools
影音先锋电影 http://www.iskdy.com/
供参考 分享大家
相关文章推荐
- linux centos svn 配置
- CentOS6.6下安装VMware Tools
- Linux_DHCP&DHCP Relay
- 【转载】linux环境下为firefox/chrome浏览器安装flash player
- Linux<十五>:程序管理之前台、后台
- Linux 系统内核空间与用户空间通信的实现与分析
- 【Linux驱动】字符设备驱动
- linux文件上传
- Linux vmstat命令详解
- CentOS 7安装mysql 5.7
- Linux系统下Tar文件安装方法
- Linux学习笔记(十四、压缩命令)
- Install FFmpeg and ffmpeg-php on CentOS Easily
- Linux 中国11月热点文章回顾
- install PDF2SWF (SWFTools) On Centos 6.5
- 在linux下的firefox中安装flashplayer
- linux常用命令语法
- Linux 下新增虚拟内存
- linux iptables端口映射设置
- Centos mysql 创建用户