标签: 1、遇到的问题如下: [[emailprotected] ~]# netstat -anptu | grep
标签:
1、遇到的问题如下: [[email protected] ~]# netstat -anptu | grep mysql -bash: netstat: 未找到命令2、解决要领如下:
[[email protected] ~]# yum -y install net-tools <!--安置依赖措施--> 已加载插件:fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: mirrors.aliyun.com * updates: mirrors.aliyun.com 正在解决依赖关系 --> 正在查抄事务 ---> 软件包 net-tools.x86_64.0.2.0-0.25.20131004git.el7 将被 安置 --> 解决依赖关系完成 依赖关系解决 ========================================================================================= Package 架构 版本 源 巨细 ========================================================================================= 正在安置: net-tools x86_64 2.0-0.25.20131004git.el7 base 306 k 事务提要 ========================================================================================= 安置 1 软件包 总下载量:306 k 安置巨细:917 k Downloading packages: net-tools-2.0-0.25.20131004git.el7.x86_64.rpm | 306 kB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction 正在安置 : net-tools-2.0-0.25.20131004git.el7.x86_64 1/1 验证中 : net-tools-2.0-0.25.20131004git.el7.x86_64 1/1 已安置: net-tools.x86_64 0:2.0-0.25.20131004git.el7 完毕!3、依赖措施安置完成之后再次测验考试掉败的命令:
[[email protected] ~]# netstat -anptu | grep mysql tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 1716/mysqld日常事情中遇到“-bash: netstat: 未找到命令”的解决要领
,温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/file/web/30897.html
