Linux

How to install Grafana Enterprise Edition on Ubuntu Server 20.04

How to install Grafana Enterprise Edition on Ubuntu Server 20.04

Grafana Enterprise Edition might be the monitoring tool you need to track all servers and services on your corporate network. Find out how to install this powerful tool.

Your network is filled with servers that provide all types of services and applications to your company. Keep an eye on servers that are not supported to keep your business running. This can be a challenge when you are faced with monitoring many of their machines and services.

What are you doing?

You switch to monitoring tools like Grafana. However, if your company is large enough, the edition of the Grafana community might not be enough. For this, you can switch to the Corporate Edition, which adds features such as:

  • Enterprise Plugins: Unlimited access to the official Grafana Labs plugin that is connected to databases and popular commercial services.
  • Training: Specific training for your team
  • Unlimited support: Increased access to the Grafana core team
  • Grafana LTS: Long-term Support
  • Important SLA Responses: Provide a response team at any time
  • Company branding: Add your company logo
  • User role and permission management: By synchronizing group membership
  • Data source permission: Prevents data cross-contamination

Although you can certainly use the community edition Grafana, I want to guide you through the process of installing the Enterprise Edition. For this, you must purchase an Enterprise license. To find out the costs, you should contact Grafana.

What do you need

  • Example of running Ubuntu Server 20.04
  • A user with sudo privileges

You can install Grafana without an Enterprise license. In fact, you can even create dashboards, add data sources, and do almost everything you can with the community edition. However, to take advantage of Company features, you must have a license.

How to install Grafana Enterprise

Surprisingly enough, installing Grafana Enterprise is actually quite easy. To do this, log in to your Ubuntu Server and make sure it is updated and upgraded with the following command:

sudo apt-get update
sudo apt-get upgrade -y

If you run the above command and the kernel is upgraded, you need to restart the server for the changes to take effect.

After the upgrade is complete, you can install Grafana Enterprise. Before you install, you must take care of one dependency with the command:

sudo apt-get install -y libfontconfig1

After it’s resolved, download the Grafana Enterprise .deb file with the command:

wget https://dl.grafana.com/enterprise/release/grafana-enterprise_7.0.1_amd64.deb

Install Grafana with the command:

sudo dpkg -i grafana-enterprise_7.0.1_amd64.deb

When the installation is complete, start and activate Grafana with the command:

sudo systemctl start grafana
sudo systemctl enable grafana

How to enter Grafana

With the installation complete, point the web browser to http: // SERVER_IP: 3000 (where SERVER_IP is the IP address of the Grafana hosting server). You will be asked for default login credentials, namely: admin / admin (Figure A).

Figure A

1

Logging in to Grafana for the first time

After you have successfully authenticated, you will immediately be asked to create a new password for the admin user (Figure B).

Figure B

2

Changing the password for the Grafana admin user.

After changing your password, you will be greeted by the default Grafana Enterprise Dashboard where you can start adding data sources and adjust your Dashboard (Figure C).

Figure C

3

How to add your Grafana Enterprise license

To add your Grafana license, you must first log in to your Grafana cloud account and click License (under Company). There, you will see a download token that will download a file called license.jwt. After you download the file to the Grafana hosting server, move it to the required directory with the command:

sudo mv license.jwt /var/lib/grafana/data/

If the data directory does not exist, create it with the command:

sudo mkdir /var/lib/grafana/data/

You can also adjust the license location in the /etc/grafana/grafana.ini file, in this section:

[enterprise]
license_path = /company/secrets/license.jwt

And that’s all there is to installing Grafana Enterprise Edition on Ubuntu Server 20.04. Enjoy the power of this Enterprise class monitoring system to help you track all servers and services on your network.

Related posts

How to Install WordPress with Nginx on Ubuntu 20.04 LTS

Linux

How to Install MariaDB on Ubuntu 20.04

Linux

How to Install VirtualBox Guest Additions on Ubuntu 20.04

Linux

How to Install Nagios on Ubuntu 20.04

Linux

How to Destroy / Erase Data Safely on Hard Drive with Damaged on Linux

Linux

How to install the NetBox Network Management and Documentation Tool on Ubuntu 20.04 LTS

Linux

How to Change SFTP Port

Linux

How to properly secure sysctl on Linux

Linux

How to install Linux Kernel 5.7 on Ubuntu

Linux