# Preferable test -d /local/dmon/dev || mkdir -p /local/dmon/dev rsync -n -avz dmon.science.uu.nl::dmon-dev /local/dmon/dev/ ------ RedHat alike ------- NOTE: for some perl-modules, the EPEL repository needs to be installed. {run} on SL7 yum install --enablerepo=repos yum-conf-epel {run} (*tested on SL7*) yum install perl-JSON-PP perl-JSON perl-libwww-perl perl-Net-DNS perl-Proc-Daemon perl-DBI perl-DBD-SQLite {add} (*tested AlmaLinux 8 *) yum install perl-Net-Ping {run} (* tested on AlmaLinux 9 *) yum install perl-libwww-perl perl-DBI perl-DBD-SQLite perl-JSON-PP perl-Net-DNS perl-Net-Ping perl-Proc-Daemon perl-Net {add} (* if ntp is preferred over chronyd *) yum install ntp ------ Debian alike -------- {run} (* tested on Ubuntu16,18,20 *) apt-get install perl-doc libjson-perl libwww-perl libdbi-perl libdbd-sqlite3-perl libnet-dns-perl libproc-daemon-perl {add} (* if ntp is preferred over chronyd *) apt-get install ntp ---------------------------------------------------------------------- # the commands below are only HINTS for older OS. test -d /local/bin || mkdir -p /local/bin curl -L --insecure http://cpanmin.us/ -o /tmp/cpanm perl -w /tmp/cpanm && mv /tmp/cpanm /local/bin/cpanm chmod +x /local/bin/cpanm cpanm Proc/Daemon.pm cpanm DBD/SQLite.pm test -f /usr/bin/lsb_release || yum install redhat-lsb-core test -f /usr/bin/lsb_release || yum install redhat-lsb ######################################### # on Ubuntu : update-rc.d dmon defaults 80 20