Install on Debian 9
Update system.
apt-get update -y
apt-get upgrade -y
Install JRE (Java SE Runtime Environment).
apt-get install -y openjdk-8-jre-headless
Install mariadb.
apt-get install -y mariadb-server
Start mariadb.
systemctl start mariadb.service
Set mariadb root password.
mysql_secure_installation

Start mariadb on boot.
systemctl enable mariadb.service
Connect to mariadb and create a database and user macmonitor with the password macmonitorpass (replace the password with the one created by you) with all permissions on this database.
mysql -u root -p
CREATE DATABASE macmonitor CHARACTER SET = "latin1" COLLATE ="latin1_swedish_ci";
GRANT ALL ON macmonitor.* TO macmonitor@127.0.0.1 IDENTIFIED BY 'macmonitorpass';
exit
Install dependencies of Network MACMonitor.
apt-get install -y libcap2-bin
Download Network MACMonitor package.
wget https://macmonitor.by/files/deb/network-macmonitor-latest.deb
Install Network MACMonitor package.
dpkg -i --refuse-downgrade network-macmonitor-latest.deb
In the settings file /opt/macmonitor/config/custom.properties change the value of the spring.datasource.password parameter (see 7).

Start program on boot.
systemctl enable macmonitor
Start program.
systemctl start macmonitor
Wait a few minutes. Log in to the program using link http://<ip address>:8080

Note
If for any reason the program has not started, you can view logs in the directory /opt /macmonitor/logs .