apt-get update apt-get install -y xymon xymon-client hobbit-plugins
sudo ufw allow 1984/tcp sudo ufw allow 1984/udp sudo ln -s /etc/apache2/conf-available/xymon.conf /etc/apache2/conf-enabled/ sudo ln -s /etc/apache2/mods-available/authz_groupfile.load /etc/apache2/mods-enabled/ sudo ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/ sudo ln -s /etc/apache2/mods-available/cgi.load /etc/apache2/mods-enabled/ sudo ln -s /var/lib/xymon /var/www/html/xymon sudo nano /etc/apache2/conf-available/xymon.conf
Outdated Fix: shouldn't be needed anymore!
Replace the below 2 lines with the bottom ONE line. (All instances)
#Order allow,deny #Allow from localhost ::1/128
Require all granted
This redirects domain.com to domain.com/xymon - Only use if you are using in a dedicated VM. Which you are right?
sudo sh -c 'echo "RedirectMatch ^/$ /xymon/" >> /etc/apache2/apache2.conf' && sudo service apache2 restart