Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata
sudo apt-get update && sudo apt-get install -y apache2 php5 libapache2-mod-php5 php5-mcrypt xymon
sudo ufw allow 1984/tcp && sudo ufw allow 1984/udp
sudo cp /etc/apache2/conf.d/xymon /etc/apache2/conf-available/xymon.conf
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

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 to - 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
  • No labels