Banano Node Monitor is a server-side PHP-based monitor for a Banano node. It connects to a running node via RPC and displays it's status on a simple webpage. Being server-side, it does not expose the RPC interface of the Banano node to the public.
-
Running Banano Node using Docker with RPC enabled (Tutorial)
-
Webserver with PHP (Tutorial)
-
PHP-Curl Module
sudo apt-get install php-curl
In your empty webserver directory, e.g. /var/www/html
, execute:
git clone https://github.com/BananoTools/bananoNodeMonitor .
If you want it to run a subdirectory remove the .
at the end.
In the modules
folder, create your own config file by executing:
cp config.sample.php config.php
If you run a standalone node you might need to modify the IP-address and the port for the RPC in the file config.php
. It should match the corresponding entries in ~/Banano/config.json
, e.g.
// ip address for RPC (default: [::1])
$nanoNodeRPCIP = '127.0.0.1';
// ip address for RPC (default: 7076)
$nanoNodeRPCPort = '7072';
Switch to your installation directory and execute git pull
.
Feel free to change your representative to my Banano node ban_1kxnxi5zurj6h7dfb87ik6hhu9yo63miyg6q1fjaxgnd1kknr5y5md4xwxoj
to support further decentralization within the Banano network. In case of problems, please send an issue.
Donations are welcome to: ban_1kxnxi5zurj6h7dfb87ik6hhu9yo63miyg6q1fjaxgnd1kknr5y5md4xwxoj and xrb_1f56swb9qtpy3yoxiscq9799nerek153w43yjc9atoaeg3e91cc9zfr89ehj
Have fun! :)