EN | DE

Quick installation guide on CentOS 7 with MariaDB

Install the Bloonix repository

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

Install the Elasticsearch repository

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

Package installation

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.

Init MariaDB

systemctl start mysql
mysql_secure_installation

Nginx

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

Start Elasticsearch and Nginx

systemctl start elasticsearch
systemctl restart nginx

Init Bloonix template for Elasticsearch

/srv/bloonix/webgui/schema/init-elasticsearch localhost:9200

Init Bloonix schema for MariaDB

/srv/bloonix/webgui/schema/init-database --mysql

Plugin meta data

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

Configure the agent

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

Start all Bloonix services

systemctl start bloonix-webgui
systemctl start bloonix-server
systemctl start bloonix-srvchk
systemctl start bloonix-agent

Start all services automatically at system boot

systemctl enable bloonix-webgui
systemctl enable bloonix-server
systemctl enable bloonix-srvchk
systemctl enable bloonix-agent
systemctl enable mariadb
systemctl enable nginx

Ready to rumble

Done! :-) Now you can login into the WebGUI. The initial username and password is admin/admin

About Bloonix - About Bloonix | About Bloonix - License | About Bloonix - How does Bloonix work | About Bloonix - Plugins | About Bloonix - Feature Liste | Installation - Important information in advance | Installation - Repositories | Installation - Elasticsearch | Installation - PostgreSQL | Installation - MySQL/MariaDB | Installation - Nginx | Installation - Bloonix-WebGUI | Installation - Bloonix-Server | Installation - Bloonix-Plugins | Installation - Bloonix-Agent | Installation - Manual installation | Installation - Quick Guide for CentOS 7 and PostgreSQL | Installation - Quick Guide for CentOS 7 and MariaDB | Installation - Quick Guide for Debian 8 and MariaDB | Configuration - In progress | HowTos - In progress | WebGUI - In progress