Install Grafana on Linux Debian Ubuntu Tutorial Guide

First we need a few extra packages:

apt update

apt install -y adduser libfontconfig1 musl sudo
wget https://dl.grafana.com/enterprise/release/grafana-enterprise_10.3.1_amd64.deb

Install / Enable Grafana

dpkg -i grafana-enterprise_10.3.1_amd64.deb

dpkg -i grafana-enterprise_10.3.1_amd64.deb
(Reading database ... 44309 files and directories currently installed.)
Preparing to unpack grafana-enterprise_10.3.1_amd64.deb ...
Unpacking grafana-enterprise (10.3.1) over (10.3.1) ...
Setting up grafana-enterprise (10.3.1) ...
Restarting grafana-server service... OK
root@Grafana-realtechtalk:~# apt purge grafana-enterprise
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  grafana-enterprise*
0 upgraded, 0 newly installed, 1 to remove and 94 not upgraded.
After this operation, 408 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 44309 files and directories currently installed.)
Removing grafana-enterprise (10.3.1) ...
Stopping and disabling grafana-server service...
Synchronizing state of grafana-server.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable grafana-server
Removed /etc/systemd/system/multi-user.target.wants/grafana-server.service.
(Reading database ... 34213 files and directories currently installed.)
Purging configuration files for grafana-enterprise (10.3.1) ...
dpkg: warning: while removing grafana-enterprise, directory '/etc/grafana' not empty so not removed
dpkg: warning: while removing grafana-enterprise, directory '/usr/lib/systemd/system' not empty so not removed
root@Grafana-realtechtalk:~# dpkg -i grafana-enterprise_10.3.1_amd64.deb
Selecting previously unselected package grafana-enterprise.
(Reading database ... 34208 files and directories currently installed.)
Preparing to unpack grafana-enterprise_10.3.1_amd64.deb ...
Unpacking grafana-enterprise (10.3.1) ...
Setting up grafana-enterprise (10.3.1) ...
### NOT starting on installation, please execute the following statements to configure grafana to start automatically using systemd
 sudo /bin/systemctl daemon-reload
 sudo /bin/systemctl enable grafana-server
### You can start grafana-server by executing
 sudo /bin/systemctl start grafana-server

Enable Grafana

systemctl daemon-reload
systemctl enable grafana-server


### You can start grafana-server by executing
 sudo /bin/systemctl start grafana-server
Synchronizing state of grafana-server.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable grafana-server

Created symlink /etc/systemd/system/multi-user.target.wants/grafana-server.service → /lib/systemd/system/grafana-server.service.

 

Start Grafana

systemctl start grafana-server

Access Grafana

Browse to https://YourIP:3000 and login as admin/admin

Update Your Password

Welcome to the Grafana Dashboard!

References

https://grafana.com/grafana/download?pg=oss-graf&plcmt=hero-btn-1

 


Tags:

install, grafana, linux, debian, ubuntu, tutorial, guidefirst, packages, apt, adduser, libfontconfig, musl, wget, https, dl, enterprise, enterprise_, _amd, deb, dpkg, download, lists, dependency, additional, installed, fontconfig, config, fonts, dejavu, libbrotli, libexpat, libfreetype, libpng, sensible, utils, ucf, liblocale, gettext, perl, upgraded, newly, kb, archives, disk, http, org, bullseye, amd, dfsg, fetched, debconf, delaying, configuration, database, directories, currently, preparing, unpack, adduser_, _all, unpacking, unable, initialize, frontend, dialog, usable, usr, pm, readline, locate, inc, module, contains, etc, lib, _, gnu, site_perl, teletype, selecting, previously, unselected, utils_, ucf_, core_, config_, musl_, processing, triggers, libc, bin, resolving, connecting, awaiting, ok, length, octet, stream, mb, adding, user, uid, creating, directory, server, default, bootup, execute, sudo, update, rc, defaults, references, pg, oss, graf, plcmt, btn,

Latest Articles

  • How To Stop DNSMasq from listening on all IPs/Interfaces and allow only localhost
  • du - VAS Billing Subscriptions Hack/Scam MLPremiumSub Invascom Astromart Issues Complaint
  • Docker Swarm vs Kubernetes Comparison Guide
  • When is it time to leave your VPS/VDS Cloud Hosting Provider?
  • 2024 Buyer's Guide: How to Choose and Buy the Best VPS/VDS for Your Needs - Tips and Strategies
  • Postfix / sendmail config for DKIM, SPF and DMARC Tutorial Guide E-mail Delivery for Hotmail.com Gmail.com and More HowTo
  • Install Grafana on Linux Debian Ubuntu Tutorial Guide
  • How To Completely Disable ufw in Linux Ubuntu Mint Debian
  • System has not been booted with systemd as init system (PID 1). Can't operate. Failed to talk to init daemon. Ubuntu Debian Linux Solution Cannot reboot
  • Mint Ubuntu Linux Gnome Showing Home Directory on Desktop instead of Desktop Directory
  • vi vim not doing code highlighting E319: Sorry, the command is not available in this version solution
  • Proxmox How To Rename Node Hostname Fix Solution
  • Linux how to get list of all timezones on system Ubuntu
  • Proxmox install issue cannot see the buttons or install wrong / bad resolution cannot see the entire screen problem solution
  • configure.ac:75: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. solution
  • Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326. autoreconf: failed to run aclocal: No such file or directory solution
  • /bin/sh: autoreconf: command not found solution
  • glib-2.0 required to compile QEMU solution
  • How To Upgrade Debian 8,9,10 to Debian 12 Bookworm
  • Linux dhcp dhclient Mint Redhat Ubuntu Debian How To Use Local Domain DNS Server Instead of ISPs