有的云服务器是禁止ICMP的ping的,这个时候需要用tcpping~
下面指令教你怎么在Red Hat 6.5 安装 tcpping。

cd /opt/
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/Packages/l/libnet-1.1.6-7.el6.x86_64.rpm
rpm -ivh libnet-1.1.6-7.el6.x86_64.rpm
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/Packages/t/tcptraceroute-1.5-0.8.beta7.el6.x86_64.rpm
rpm -ivh tcptraceroute-1.5-0.8.beta7.el6.x86_64.rpm
wget http://www.vdberg.org/~richard/tcpping
mv tcpping /usr/bin/
chmod 755 /usr/bin/tcpping
tcpping www.baidu.com

相关参考:https://blog.csdn.net/shaunfang/article/details/18412521

Related Posts: Red Hat 6.5 tcpping安装 :

留言

avatar