Giter VIP home page Giter VIP logo

aqua's Introduction

aqua

Installation for Debian:

Install dependencies -
    "su"
    "apt install python3-flask zlib1g-dev uuid-dev gcc make git autoconf autogen automake pkg-config ipython3 apache2 libapache2-mod-wsgi-py3" 
    "exit"

Install netdata -
    "su"
    "git clone https://github.com/firehol/netdata"
    "cd netdata"
    "./netdata-installer.sh"
    Enter
    "exit"

Then run it (if it is not already running)-
    "su"
    "/usr/sbin/netdata"
    "exit"

Also make it run at every boot - 
    "su"
    "nano /etc/rc.local"
    Append "/usr/sbin/netdata" before the exit
    Ctrl-X, Y, Enter
    "exit"

The python plugins must be moved into netdata's plugin folder - 
	"su"
    "cp scripts/*.plugin /usr/libexec/netdata/plugins.d/"
    "exit"

Now lets set up apache - 
    "su"
    "cp /apache/run.conf /etc/apache2/sites-available/"
    "a2dissite 000-default"
    "a2ensite run"
    "service apache2 reload"
    "exit"

Final Touches -
    You should now be able to access the server via its local IP
    The getIP() function has only been tested if the the host is connected to the network over "wlan0"
    If you are having issues, goto line 7 of server.py and set the ip yourself

THINGS TO DO - 
    Look into new netdata python plugin system and reimplement ours
    Look if local dns server is worth doing
    Python script to read from usb, write to database, and pipe to netdata (started with .wsgi, server, or rc.local)
    Add matplotlib image generator to server
    Look into making the host a wifi connectable switch
    Flesh out .ino
    Make installer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.