Linux安装fping和hping
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash
免费下载资源
·
安装fping
去官网http://fping.org/下载源码包
> wget http://fping.org/dist/fping-3.15.tar.gz
> tar -zxvf fping-3.15.tar.gz
> cd fping-3.15
> ./configure --prefix=/usr/local/fping #指定安装路径
> make
> make install
> /usr/local/fping/sbin/fping -v
安装完成
配置一下环境变量
> vim /etc/profile
#在最后面添加
export PATH=$PATH:/usr/local/fping/sbin
> source /etc/profile
> fping -v
安装hping
去官网http://hping.org/下载源码包,跳转Github
> wget https://github.com/antirez/hping/archive/master.zip
# 解压
> unzip master.zip
# 安装依赖
> yum install -y libpcap-devel
> yum install -y tcl tcl-devel
>./configure
> make
# hping3 在linux上的安装问题:
# libpcap_stuff.c:20:21: error: net/bpf.h: No such file or directory
# 解决办法:
# ln -sf /usr/include/pcap-bpf.h /usr/include/net/bpf.h 重新编译问题解决
> make strip
> make install
> hping -v
搞定,安装结束
GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:2 个月前 )
186a802e
added ecosystem file for PM2 4 年前
5def40a3
Add host customization support for the NodeJS version 4 年前
更多推荐
已为社区贡献2条内容
所有评论(0)