This repo contains custom node monitor styles for the banano batman representative.
This node monitor is set up using the manual Nano Node Monitor integration guide, found here.
Setup nginx following this tutorial.
Not all the steps are required, so I've compressed the required steps into the commands below.
sudo apt-get update
sudo apt-get install nginx
sudo apt-get install php-fpm php-mysql
sudo apt-get install php-curl
sudo ufw allow 'Nginx HTTP'
Replace the default sites-available
file with the file found in this repo, and add your public IP where specified.
cd etc/nginx/sites-available
sudo chmod -R 777 *
[Update IP in etc/nginx/sites-available]
sudo systemctl reload nginx
Once Nginx is installed and serving a temporary web site, we can add the nano node monitor tool.
cd /var/www
sudo chmod +rwx html
cd html
sudo rm index.nginx-debian.html
sudo git clone https://github.com/NanoTools/nanoNodeMonitor .
cd ..
sudo chmod -R 777 *
In summary these commands:
- Go to where the static html site is served.
- Add edit permission to the folder
- Remove the default static site
- Git clone the nano monitor repo
- Up one level
- Make all these files editable
Replace the content found within the default nano monitor tool with the content found in this repo.
Add customizations as needed.
cp var/www/html/modules/config.php /var/www/html/modules
cp -r var/www/html/static/gothem/ /var/www/html/static/themes
cp -r var/www/html/static/img/ /var/www/html/static
cp var/www/html/index.php /var/www/html