• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Install Grafana on Oracle Linux 8.5

  • 00:37 cat /etc/os-release
  • 00:55 vim /etc/yum.repos.d/grafana.repo
  • 01:27 dnf -y install grafana
  • 01:40 rpm -qi grafana
  • 02:00 systemctl enable --now grafana-server.service
  • 02:33 vi /etc/grafana/grafana.ini
  • 03:12 systemctl status grafana-server.service
{{postValue.id}}

To Install Grafana on Oracle Linux 8.5

Introduction

Grafana is a multi-platform open source analytics and interactive visualization web application. It provides charts, graphs, and alerts for the web when connected to supported data sources. You can visualize results from multiple data sources simultaneously.

Installation Steps:

Step1: Check the Oracle Linux Version by using the below command

[root@linuxhelp linuxhelp]# cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="8.5"

Step 2: Add the Grafana Yum Repository by using the below command

[root@linuxhelp linuxhelp]# vim /etc/yum.repos.d/grafana.repo
[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

Step 3: When repository for Grafana has been configured, Grafana can be easily installed by running the command below

[root@linuxhelp linuxhelp]# dnf -y install grafana
grafana                                                 231  B/s | 454  B     00:01    
grafana                                                 1.8 kB/s | 1.7 kB     00:00    
Importing GPG key 0x24098CB6:
========================================================================================
 Package             Architecture       Version               Repository           Size
========================================================================================
Installing:
 grafana             x86_64             9.0.2-1               grafana              76 M

Transaction Summary
========================================================================================
Install  1 Package
Verifying        : grafana-9.0.2-1.x86_64                                         1/1 

Installed:
  grafana-9.0.2-1.x86_64                  

Step 4: To Know the Package Information use the below command.

[root@linuxhelp linuxhelp]# rpm -qi grafana
Name        : grafana
Version     : 9.0.2
Release     : 1
Architecture: x86_64
Install Date: Mon 11 Jul 2022 12:31:42 AM IST
Group       : default
Size        : 268113233
License     : AGPLv3
Signature   : RSA/SHA256, Tue 28 Jun 2022 05:09:57 PM IST, Key ID 8c8c34c524098cb6
Source RPM  : grafana-9.0.2-1.src.rpm
Build Date  : Tue 28 Jun 2022 05:09:22 PM IST
Build Host  : f0d71eb1a0de
Relocations : / 
Packager    : contact@grafana.com
Vendor      : Grafana
URL         : https://grafana.com
Summary     : Grafana
Description :
Grafana                      

Step 5: Grafana service is managed by systemd. Start the service and enable it to start on boot by using the below command.

[root@linuxhelp linuxhelp]# systemctl enable --now grafana-server.service
Synchronizing state of grafana-server.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable grafana-server

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

Step 6: The default port used is 3000. If you have another process using this port, you’ll need to set custom port in Grafana configuration file /etc/grafana/grafana.ini.

http_port = 3000

Step 7: To know the status of Grafana use the below command.

[root@linuxhelp linuxhelp]# systemctl status grafana-server.service
● grafana-server.service - Grafana instance
   Loaded: loaded (/usr/lib/systemd/system/grafana-server.service; enabled; vendor pres>
   Active: active (running) since Mon 2022-07-11 00:32:36 IST; 1min 16s ago

Step 8: If you have a running firewalld service, allow port 3000 for access the dashboard from the network

[root@linuxhelp linuxhelp ]#  firewall-cmd --add-port=3000/tcp --permanent
[root@linuxhelp linuxhelp ]#  firewall-cmd –reload

Step 9: Access Grafana as shown in the below images Grafana web dashboard is accessible on http://[Server IP|Hostname]:3000 snap 1 snap2

The default logins are:
username: admin
Password: admin

Change admin password in the next window as shown in the below image. snap 3

This is the Dashboard of Grafana snap 4

Conclusion

We have reached the end of this article. In this guide, we have walked you through the steps required to Install Grafana on Oracle Linux 8.5. Your feedback is much welcome.

Tags:
ethan
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is Grafana?

A

Grafana is an open-source data visualization and tracking suite. It supports databases such as Graphite, Elasticsearch, Included, Prometheus, etc. The application has metric analytics, with the capability to control and create your own dashboard for your own apps or infrastructure performance monitoring.

Q

What are the platforms it can support?

A

It can support Windows, Mac, and almost every Linux distribution.

Q

How do I delete a dashboard?

A

Click that dashboard page's jag, then the bottom will have an item "delete dashboard"

Q

How do I exit graph edit mode on Grafana?

A

Hit the escape key or click the graph title and select edit again.

Q

What Theme does Grafana use?

A

Grafana is an open-source data visualization and tracking suite. It supports databases such as Graphite, Elasticsearch, Included, Prometheus, etc.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help David Lopez Guillen ?
Ayuda urgente instale SSL para servidor Opensuse y ahora no funciona tengo servicio web

hola segui este tutorial para tener un certificado ssl y ahora no se ve mi app en la red, espero alguien pueda ayudarme, tengo M9oodle en3.5 en un servidor open suse y ahora no funciona por favor ayuda.

https://www.linuxhelp.com/how-to-create-ssl-certificate-in-opensuse

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.