Назад | Перейти на главную страницу

Я изо всех сил пытаюсь установить darkstat на сервер Amazon EC2 под управлением Amazon Linux. Какие-нибудь советы?

Привет и заранее спасибо, что прочитали этот вопрос. Отказ от ответственности: я все еще новичок, когда дело доходит до управления сервером. Я использую сервер Amazon EC2 (на котором работает Amazon Linux) и пытаюсь установить darkstat (монитор трафика - https://unix4lyfe.org/darkstat) через SSH, но испытываю трудности.

К сожалению, sudo yum install darkstat не работает (очевидно, darkstat не является частью репозитория Amazon). Я попытался установить darkstat вручную, выполнив следующие действия (рекомендованные на веб-сайте darkstat):

Согласно руководству по darkset, я должен иметь возможность набрать "darkstat -i eth0" (конечно, без кавычек), и магия должна начаться. К сожалению, вместо этого я получаю ужасное сообщение «bash: darkstat: command not found», которое говорит о том, что darkstat не удалось установить.

Есть идеи, где я ошибаюсь во время попытки установки? Я не заметил никаких явных ошибок в процессе установки - вот журнал установки, если он окажется полезным. Еще раз спасибо за то, что взглянули на этот вопрос, и я буду очень признателен за любые ваши предложения:

[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]#