This tutorial walks you through installation and configuration of Grafana as a stand alone instance. This should not be installed on each or any node in the Couchbase cluster.
The following will walk you through how to install and configure Grafana. This should NOT be installed on each Couchbase node or any node in the cluster. This should be a stand alone instance.
Add a new file to your YUM repository using the method of your choice.
sudo vi /etc/yum.repos.d/grafana.repo
Add the following to the file and save it.
[grafana] name=grafana baseurl=https://packages.grafana.com/oss/rpm repo_gpgcheck=1 enabled=1 gpgcheck=1 gpgkey=https://packages.grafana.com/gpg.key sslverify=1 sslcacert=/etc/pki/tls/certs/ca-bundle.crt
If you would like to install using
rpm visit https://grafana.com/docs/grafana/latest/installation/rpm/
sudo yum install grafana -y
These steps will install binaries in
systemd service to register the grafana service and start the grafana service.
sudo systemctl daemon-reload sudo systemctl start grafana-server
Check the grafana service status using the following command.
sudo systemctl status grafana-server
Configure grafana to start at boot
sudo systemctl enable grafana-server.service
Now you will be able to access the Grafana UI on port
3000 of the server.
You should be able to see the following UI as shown below.
The default user and password is
admin, you will be prompted to change this but you are not required to.