apt-get update
apt-get -y install apt-transport-https ca-certificates curl
wget -q -O- https://download.bloonix.de/repos/debian/bloonix.gpg | apt-key add -
echo "deb https://download.bloonix.de/repos/debian/ jessie main" \
>>/etc/apt/sources.list.d/bloonix.list
wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | apt-key add -
echo "deb http://packages.elastic.co/elasticsearch/2.x/debian stable main" \
>>/etc/apt/sources.list.d/elasticsearch-2.x.list
For security reasons the parameter network.bind_host should be changed in /etc/elasticsearch/elasticsearch.yml, so that Elasticsearch doesn't listen on all IP addresses. Example:
network.bind_host: 127.0.0.1
apt-get update
apt-get -y install \
nginx \
mariadb-server \
elasticsearch \
openjdk-7-jre \
bloonix-webgui \
bloonix-server \
bloonix-agent \
bloonix-plugins-basic \
bloonix-plugins-linux
In addition please install a MTA like Postfix, Exim or Sendmail please.
systemctl start mysql
mysql_secure_installation
Create the configuration file /etc/nginx/conf.d/001_bloonix.conf with the following content:
include /etc/bloonix/webgui/nginx.conf;
or just execute the following command:
echo "include /etc/bloonix/webgui/nginx.conf;" >/etc/nginx/conf.d/001_bloonix.conf
systemctl start elasticsearch
systemctl restart nginx
/srv/bloonix/webgui/schema/init-elasticsearch localhost:9200
/srv/bloonix/webgui/schema/init-database --mysql
After the database were successfully initiated and is running, you can install the package bloonix__plugin_config that imports the plugin meta data into the database:
apt-get -y install bloonix-plugin-config
Edit the configuration of the Bloonix Agent and configure the section server:
vim /etc/bloonix/agent/main.conf
Set in section server{}:
# Bloonix-Server hostname (demo.bloonix.org is just an example)
host demo.bloonix.org
# If you use a self signed certificate, then you have
# to turn off certificate validation
ssl_verify_mode none
systemctl start bloonix-webgui
systemctl start bloonix-server
systemctl start bloonix-srvchk
systemctl start bloonix-agent
systemctl enable bloonix-webgui
systemctl enable bloonix-server
systemctl enable bloonix-srvchk
systemctl enable bloonix-agent
systemctl enable mariadb
systemctl enable nginx
Done! :-) Now you can login into the WebGUI. The initial username and password is admin/admin