博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
make install fping
阅读量:4467 次
发布时间:2019-06-08

本文共 1166 字,大约阅读时间需要 3 分钟。

make install fping

stup

  1. download the source code in website :

    wget

  2. unzip the source code zip : fping-3.13.tar.gz

    tar -xvf fping-3.13.tar.gz

  3. change to fping-3.13 install directory

    cd fping-3.13

  4. Run ./configure with the correct arguments (see: ./configure --help)

    ./configure

  5. Run make; make install

    make

    make install

    if display that error message like this at last line :

    Makefile:357: recipe for target 'install-recursive' failed
    and you should use super user right install

    sudo make install

    if you try to run like below and not run the next point will trouble in this situation.

    fping -v (null):

    can't create socket (must run as root?) :
    Permission denied

    and then you try like this

    sudo fping -v

    fping: command not found

  6. Make fping either setuid, or, if under Linux: sudo setcap cap_net_raw+ep fping

    chown root:root /usr/local/sbin/fping

    chmod u+s /usr/local/sbin/fping

  7. Have a look at the fping(8) manual for usage help

    (fping -h will also give a minimal help output)

    fping -h

    fping -v

sumary

this is a good try, but I still don't kown how to complete the step:

if under Linux: sudo setcap cap_net_raw+ep fping

转载于:https://www.cnblogs.com/Ilovezilian/p/5849188.html

你可能感兴趣的文章
CS 1037 A - Assessment
查看>>
夜神安卓模拟器怎么清除数据
查看>>
解决IE6不支持position:fixed;的问题
查看>>
理解jquery的$.extend()、$.fn和$.fn.extend()的区别及用法
查看>>
make install fping
查看>>
面试笔试题
查看>>
#loj3051 [十二省联考2019] 皮配
查看>>
MySql可视化工具MySQL Workbench使用教程
查看>>
个人站立会议第二阶段07
查看>>
云时代架构阅读笔记五——Web应用安全
查看>>
IOS 单击手势和cell点击冲突
查看>>
学习_HTML5_day3
查看>>
计算机网络与应用第二次笔记
查看>>
Django之ORM查询
查看>>
学习python第七天
查看>>
Flask基础(07)-->正则自定义转换器
查看>>
网站架构模式(二)
查看>>
【数据结构】算法 LinkList (Add Two Numbers)
查看>>
Bugtags:移动时代首选 Bug 管理系统
查看>>
hibernate学习笔记之一 hibernate简介
查看>>