After successful setup, you are able to monitor your server or anything what is running Debian based Linux by Android App, which is compatible with all Android 6+ devices including Chromebooks and Android TV. Or use WEB GUi that comes with this repository.
Full Install
curl -sSL https://raw.githubusercontent.com/marek-guran/linux-server-info/main/Installation/Full%20Install.sh | bash
Dependencies + Service
curl -sSL https://raw.githubusercontent.com/marek-guran/linux-server-info/main/Installation/Dependencies%20%2B%20Service.sh | bash
Dependencies Only
curl -sSL https://raw.githubusercontent.com/marek-guran/linux-server-info/main/Installation/Dependencies%20Only.sh | bash
Full Uninstall
curl -sSL https://raw.githubusercontent.com/marek-guran/linux-server-info/main/Installation/Full%20Uninstall.sh | bash
Uninstall Service
curl -sSL https://raw.githubusercontent.com/marek-guran/linux-server-info/main/Installation/Uninstall%20Service.sh | bash
Option | Docker + WEB Gui | Dependencies | Service | Requirements.txt |
---|---|---|---|---|
Full Install | ✅ | ✅ | ✅ | ✅ |
Dependencies + Service | ❌ | ✅ | ✅ | ✅ |
Dependencies only | ❌ | ✅ | ❌ | ✅ |
Web server will use /home/user/server-info/
directory to publish json file for app and will be on port 9002
. Will be used WEB GUi container and docker.io package
. You will be able to access it at: http://device-ip:9002/
and api for Android App at: http://device-ip:9002/api
Option | Docker | Service | WEB GUi | Linux Server Info Folder |
---|---|---|---|---|
Full Uninstall | ❌ | ✅ | ✅ | ✅ |
Uninstall Service | ❌ | ✅ | ❌ | ❌ |
You can uninstall docker.io
by sudo apt remove docker.io -y
. It is not removed automatically, since docker is used by many people.
Updating is simple manual process. Just download and replace the python file and requirements.txt (By default these files are saved in your home directory in linux-server-info folder).
And run commands: sudo pip3 install -r requirements.txt && sudo systemctl restart server-info
Download the requirements.txt
, then execute commands:
sudo apt-get update && sudo apt-get install -y python3 python3-pip lsb-release util-linux ifstat && sudo pip3 install -r requirements.txt
Edit it for your paths (file output should be location of your web server www file location. You can use for example httpd as a web server.
There just change your file locations and start it with:
sudo systemctl start server-info
and if you want it to start on each boot, use command:
sudo systemctl enable server-info
You can download it from releases section or by Google Play Store. Once installed, head to settings and put there your web server address with full path to file. For example: http://10.0.1.1:9002/api