我正努力在运行Amazon Linux的Amazon EC2服务器上安装darkstat。 有小费吗?

您好,感谢您提前阅读这个问题。 免责声明:在pipe理服务器方面,我还是一个新手。 我运行的是Amazon EC2服务器(运行Amazon Linux),我试图通过SSH安装darkstat(一个stream量监控器 – https://unix4lyfe.org/darkstat ),但遇到了困难。

不幸的是, sudo yum install darkstat不起作用(显然darkstat不是Amazon的存储库的一部分)。 我尝试通过以下步骤(在darkstat网站上推荐)手动安装darkstat:

根据黑暗指南,我应该能够input“darkstat -i eth0”(当然没有引号),魔法应该开始。 不幸的是,我收到了一个可怕的“bash:darkstat:command not found”消息,暗示darkstat未能安装。

任何想法,我想在尝试安装过程中出错? 在安装过程中我没有注意到任何明显的错误 – 这里是安装日志,以防事后certificate是有帮助的。 再次感谢您看看这个问题,我非常感谢您可能提供的任何build议:

 [root@ip-xx-xx-xx-xx darkstat-3.0.719]# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for C/C++ restrict keyword... __restrict checking if we want debug code... sure checking if your C compiler wants a hit off the pipe... sure does checking if your C compiler has a link-time optimizer... sure does checking for deflate in -lz... yes checking for library containing gethostbyname... none required checking for library containing socket... none required checking for library containing hstrerror... none required checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking for library containing getifaddrs... none required checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking for pcap_loop in -lpcap... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for library containing setproctitle... no checking for library containing strlcpy... no checking for library containing strlcat... no checking bsd/string.h usability... no checking bsd/string.h presence... no checking for bsd/string.h... no checking bsd/unistd.h usability... no checking bsd/unistd.h presence... no checking for bsd/unistd.h... no checking for library containing clock_gettime... none required configure: creating ./config.status config.status: creating Makefile config.status: creating darkstat.8 config.status: creating config.h config.status: config.h is unchanged [root@ip-xx-xx-xx-xx darkstat-3.0.719]#