Installing Grafana on Ubuntu 24.04
To install Grafana on Ubuntu 24.04, you'll first update the package index, add Grafana's APT repository, install it, then enable it to start automatically after system startup. Finally, you'll secure your installation by disabling signups and anonymous access.Note
If you want to skip all the technical steps of setting up Grafana on your server and have it installed in minutes, then I have some great news for you! Our team of engineers has prepared a ready-to-use 1-click Grafana application for your convenience. Just choose a server, and while prompted to choose the operating system, choose Grafana from the dropdown menu. This will set up Grafana in minutes! However, if you want to get your hands dirty, then you can continue reading.Prerequisites
To follow this tutorial you need:- Basic knowledge of the Linux command line.
- An Ubuntu 24.04 server with a non-root user with
sudo
privileges. If you haven't noticed, we offer extremely powerful Ubuntu servers at the globe's absolute lowest price. Take a look at our offerings and prepare for your mind to be blown 🤯. - The LEMP stack (Nginx, MariaDB, and PHP) installed on your server. Use our Installing LEMP on Ubuntu 24.04 LTS guide to set it up, or you can simply use our LEMP 1-Click App to set up LEMP automatically when creating a server with SSD Nodes.
- A TLS/SSL certificate, because Grafana can access sensitive information about your infrastructure. Fun fact: All our 1-click applications (including LEMP and Grafana) come preinstalled with an SSL certificate :)
sudo
user.
Step 1: Updating the Ubuntu Package List
Start by updating the packages in the package manager cache to the latest available versions using the following command:sudo apt update
Continue reading this article
by subscribing to our newsletter.
Subscribe nowby subscribing to our newsletter.