#!/bin/bash set -e DEBIAN_FRONTEND=noninteractive # some mirrors have issues, i skipped httpredir in favor of an eu mirror echo "deb http://ftp.nl.debian.org/debian/ jessie main" > /etc/apt/sources.list echo "deb http://security.debian.org/debian-security jessie/updates main" >> /etc/apt/sources.list # install dependencies for build apt-get -qq update apt-get -y install zlib1g-dev uuid-dev libmnl-dev gcc make curl git autoconf autogen automake pkg-config netcat-openbsd jq apt-get -y install autoconf-archive lm-sensors nodejs python python-mysqldb python-yaml apt-get -y install ssmtp mailutils apcupsd # fetch netdata git clone https://github.com/netdata/netdata.git /netdata.git cd /netdata.git TAG=$(