Requirements: PHP,MySQL,Git,Screen,grpcurl
- Setup an Ubuntu Server (If you use other flavors/OSs, you are on your own)
- Ensure there is a LAMP stack on your server and you can access it
Let's assume your server ip is 192.168.0.1;
http://192.168.0.1
3a. Install git (sudo apt-get install git)
3b. Install screen (sudo apt-get install screen)
-
cd to your apache web root folder. (ex: cd /var/www/html)
-
Run the following command: git clone https://github.com/ChuckTSI/BetterThanNothingWebInterface.git
Let's assume your install path is /var/www/html/BetterThanNothingWebInterface -
Modify the config.inc.php file and update the path to where the repo was installed.
$_CONFIG["path"] = '/var/www/html/BetterThanNothingWebInterface'; -
Run the following command: sudo chmod 777 /var/www/html/BetterThanNothingWebInterface/data
** if you want to reduce writes to your drive, set up a ramdrive.
7a (Optional) Create a ramdisk folder in the install folder. mount -t tmpfs -o size=64m tmpfs /var/www/html/BetterThanNothingWebInterface/ramdisk
7b Run: mount -t tmpfs -o size=64m tmpfs /var/www/html/BetterThanNothingWebInterface/ramdisk -
run: sudo crontab -e
insert the following line:*/5 * * * * php /var/www/html/BetterThanNothingWebInterface/scripts/cron/php/speedtest.cron.php
You should then be able to access this tool via your browser: http://192.168.0.1/BetterThanNothingWebInterface
Good luck!
If you don't want to figure that stuff out and are comfortable with docker, you can just run the following:
docker-compose build && docker-compose up -d
Once built and running, you can view the status page at http://localhost/