Install Grafana and InfluxDB on Ubuntu server

Install Grafana

Installation

sudo apt-get install -y adduser libfontconfig1
wget https://dl.grafana.com/oss/release/grafana_6.7.3_amd64.deb
sudo dpkg -i grafana_6.7.3_amd64.deb

Start the server

sudo service grafana-server start
sudo service grafana-server status

Verification

Access to http://{ip address}:3000/, the default username and password is admin/admin.

Install InfluxDB

Installation

curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -
source /etc/lsb-release
echo "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
sudo apt-get update && sudo apt-get install influxdb

Start the server

sudo service influxdb start
sudo service influxdb status

Verification

root@yang-explorer-1:~# curl "http://10.1.1.1:8086/query?q=show+databases"
{"results":[{"statement_id":0,"series":[{"name":"databases","columns":["name"],"values":[["_internal"]]}]}]}

In the next article I will discuss how to use Grafana and InfluxDB.

References

Download Grafana

https://grafana.com/grafana/download

Install on Debian or Ubuntu

https://grafana.com/docs/grafana/latest/installation/debian/

Install InfluxDB OSS

https://docs.influxdata.com/influxdb/v1.8/introduction/install/

Leave a Reply

Your email address will not be published.