Skip to content

pereval-team/pereval-dash

 
 

Repository files navigation


pereval-dash

Dashboard and main page for the Pereval server
Forked from afaqurk/linux-dash

Original README here.

Description

  • A beautiful, simple web-based dashboard for monitoring a linux server
  • Only ~1MB on disk! (.git removed)
  • Live graphs, refresh-able widgets, and a growing # of supported modules
  • Drop-in installation for PHP, Node.js, Python, and Go

Installation

Download Linux Dash

Clone the git repo

git clone https://github.com/afaqurk/linux-dash.git

Or download it here.

Start Linux Dash

Linux Dash can be run in: Node.js, PHP, Go, or Python.
* Node.js is the recommended platform since it has native support for websockets and fast I/O.

First, navigate to the linux-dash folder you downloaded or cloned.

Then, refer to the section for your preferred platform:

Node.js

Install NPM dependencies

npm install

Start Linux Dash

node server/

Default port for Linux Dash is 80. You may change this in server/index.js on line 9


##### PHP 1. Make sure you have the `exec`, `shell_exec`, and `escapeshellarg` functions enabled 2. Restart your web server (Apache, nginx, etc.) - For PHP + Apache setup follow the [Digital Ocean tutorial](https://www.digitalocean.com/community/tutorials/how-to-install-linux-dash-on-ubuntu-14-04). - For help with nginx setup, see [this gist](https://gist.github.com/sergeifilippov/8909839) by [@sergeifilippov](https://github.com/sergeifilippov).
##### Go Go to the `linux-dash/server` folder and run ``` go run index.go ```

To build a binary, run go build && ./server -h. See @tehbilly's notes here for binary usage options

Python

Run ./python-server.py will run a server on port 80 which is the default. You can change this in python-server.py on line 43

Support

For help with general setup and configuration issues please use the Linux Dash Gitter chat room.

The following distributions are supported:

  • Arch
  • Debian 6,7
  • Ubuntu 11.04+
  • Linux Mint 16+
  • CentOS 5, 6
  • openSUSE

Packages

No packages published

Languages

  • JavaScript 32.1%
  • Python 22.2%
  • Shell 15.4%
  • CSS 13.9%
  • HTML 11.6%
  • Perl 3.3%
  • Other 1.5%