Server dashboard

This is a simple and awesome dashboard for your own server. The dashboard require the functionality of shell_exec - they are mostly disabled on shared hosting systems. There is also a simple cache functionality included to prevent high loads on the system, configurable in the simple configuration.

JSON will be used to transfer data between the dashboard and the PHP script. Optionally you can allow external access from other domains with AJAX to the simple json-API - simply change the config variable AllowExternalAccess to true.

For easier use there is a simple configuration file, which is located at assets/config.php and edit it to your needs, before you're going to use this dashboard. Please give me feedback, wishes and report bugs - if you find one :)

Thanks for using!

Requirements


  1. a (own?) linux machine (Debian recommended).
  2. PHP 5.3+ with shell_exec() enabled.
  3. a browser with JavaScript and CSS3 support.
  4. some basic knowledge.

Installation


  1. Clone this git: git clone git://github.com/patschi/serverdashboard.git
  2. Add www-data ALL=NOPASSWD: /sbin/ifconfig eth0 to your sudo configuration, which can be open by default with the command visudo. This is needed that the user www-data can execute the ifconfig command to read out the current sent and received bytes for getting the network speed.
  3. Install lsb-release package (sudo apt-get install lsb-release on debian systems).
  4. If don't use eth0 as your default network interface, you need to set the correct one in the configuration file, which is located at assets/config.php.
  5. Change the configuration of assets/config.php to your needs.

Screenshots


Screenshot 1Screenshot 2

Live Demo


Live demonstration can be viewed on serverdashboard.pkern.at

License


Creative Commons License
Server Dashboard by Patrik Kernstock (Patschi) is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Permissions beyond the scope of this license may be available at https://github.com/patschi/serverdashboard.

Credits


Awesome design by code-project.de
Code and idea by pkern.at