Install grafana on Linux Ubuntu – grafana linux dashboard prometheus. Grafana visualise and unifies the data and helps to query, visualize, alert on, and understand the data no matter where it’s stored. With Grafana users can create, explore and share all of the data through flexible dashboards.
Grafana can take read and analyse of the existing data- be it from your Kubernetes cluster, raspberry pi, different cloud services, or even Google Sheets- and visualize it however users want, all from a single dashboard.
Download and Install Grafana from APT repository
You can also download and install Grafana using the official APT repository, by downloading a .deb package, or by downloading a binary .tar.gz file.
Grafana Enterprise: https://packages.grafana.com/enterprise/deb stable main
Grafana Enterprise (Beta): https://packages.grafana.com/enterprise/deb beta main
Grafana OSS: https://packages.grafana.com/oss/deb stable main
Grafana OSS (Beta): https://packages.grafana.com/oss/deb beta main
Install the latest Grafana OSS (Beta)
sudo apt-get install -y apt-transport-https sudo apt-get install -y software-properties-common wget wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add – echo "deb https://packages.grafana.com/oss/deb stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list echo "deb https://packages.grafana.com/oss/deb beta main" | sudo tee -a /etc/apt/sources.list.d/grafana.list sudo apt-get update sudo apt-get install grafana
Install .deb package
Note that wen you insyall the .deb
package, you will have to manually update Grafana for each new version.
- On the Grafana download page, select the Grafana version you want to install.
- The most recent Grafana version is selected by default.
- The Version field displays only finished releases. If you want to install a beta version, click Nightly Builds and then select a version.
- Select an Edition.
- Enterprise – Recommended download. Functionally identical to the open source version, but includes features you can unlock with a license if you so choose.
- Open Source – Functionally identical to the Enterprise version, but you will need to download the Enterprise version if you want Enterprise features.
- Depending on which system you are running, click Linux or ARM.
- Copy and paste the code from the installation page into your command line and run. It follows the pattern shown below.
sudo apt-get install -y adduser
wget <.deb package url>
sudo dpkg -i grafana<edition>_<version>_amd64.deb
This starts the grafana-server
process as the grafana
user, which was created during the package installation.
If you installed with the APT repository or .deb
package, then you can start the server using systemd
or init.d
. If you installed a binary .tar.gz
file, then you need to execute the binary.