安装tcpping命令

(原文:http://xmodulo.com/how-to-install-tcpping-on-linux.html

今天测试微软Azure的时候发现ping命令不能使用,查了一些是微软禁止了IMCP协议。

搜了一下找到了tcpping这个软件可以代替ping命令。

首先安装tcptraceroute:

yum install tcptraceroute

然后下载:

wget http://www.vdberg.org/~richard/tcpping

赋予权限后移动到/usr/bin目录下即可使用:

chmod 755 tcpping
mv tcpping /usr/bin/

经过测试,发现tcpping的IP必须要有80服务才行

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注