{"id":961,"date":"2025-04-11T22:23:14","date_gmt":"2025-04-11T16:23:14","guid":{"rendered":"https:\/\/mellowhost.com\/blog\/?p=961"},"modified":"2025-04-11T22:23:14","modified_gmt":"2025-04-11T16:23:14","slug":"how-to-install-grafana-on-almalinux-9","status":"publish","type":"post","link":"https:\/\/mellowhost.com\/blog\/how-to-install-grafana-on-almalinux-9.html","title":{"rendered":"How to Install Grafana on AlmaLinux 9"},"content":{"rendered":"<h2>How to Install Grafana on AlmaLinux 9<\/h2>\n<p>Grafana is a popular open-source platform for monitoring and observability. It allows you to visualize and explore your metrics, logs, and traces. In this guide, we will walk you through the steps to install Grafana on AlmaLinux 9.<\/p>\n<h3>Step 1: Update the System<\/h3>\n<p>First, ensure your system is up to date:<\/p>\n<pre><code>sudo dnf update -y\n<\/code><\/pre>\n<h3>Step 2: Add the Grafana Repository<\/h3>\n<p>To install Grafana, you need to add the official Grafana repository. Run the following command:<\/p>\n<pre><code>sudo dnf install https:\/\/dl.grafana.com\/oss\/release\/rpm\/grafana-8.5.5-1.x86_64.rpm\n<\/code><\/pre>\n<p>Note: Replace `8.5.5-1` with the latest version available from the <a href=\"https:\/\/grafana.com\/grafana\/download\">Grafana download page<\/a>.<\/p>\n<h3>Step 3: Install Grafana<\/h3>\n<p>Once the repository is added, install Grafana using the following command:<\/p>\n<pre><code>sudo dnf install grafana -y\n<\/code><\/pre>\n<h3>Step 4: Start and Enable Grafana<\/h3>\n<p>After installation, start the Grafana service and enable it to start on boot:<\/p>\n<pre><code>sudo systemctl start grafana-server\nsudo systemctl enable grafana-server\n<\/code><\/pre>\n<h3>Step 5: Configure Firewall (Optional)<\/h3>\n<p>If you have a firewall enabled, you need to allow traffic on port 3000 (default Grafana port):<\/p>\n<pre><code>sudo firewall-cmd --zone=public --add-port=3000\/tcp --permanent\nsudo firewall-cmd --reload\n<\/code><\/pre>\n<h3>Step 6: Access Grafana<\/h3>\n<p>Once Grafana is installed and running, you can access it via a web browser. Open your browser and navigate to:<\/p>\n<pre><code>http:\/\/your_server_ip:3000\n<\/code><\/pre>\n<p>Replace `your_server_ip` with the actual IP address of your server.<\/p>\n<h3>Step 7: Initial Configuration<\/h3>\n<p>The first time you access Grafana, you will be prompted to set up an admin user and configure data sources. Follow the on-screen instructions to complete the setup.<\/p>\n<h3>Step 8: Verify Installation<\/h3>\n<p>To ensure that Grafana is running correctly, you can check the status of the service:<\/p>\n<pre><code>sudo systemctl status grafana-server\n<\/code><\/pre>\n<p>You should see that the service is active and running.<\/p>\n<h3>Conclusion<\/h3>\n<p>By following these steps, you should now have Grafana installed and running on your AlmaLinux 9 server. You can start adding data sources, creating dashboards, and monitoring your systems effectively.<\/p>\n<p>If you encounter any issues or need further assistance, refer to the <a href=\"https:\/\/grafana.com\/docs\/grafana\/latest\/installation\/\">official Grafana documentation<\/a>.<\/p>\n<p>Happy monitoring!<\/p>\n<p>&#8212;<\/p>\n<p>### Tags for the Post<\/p>\n<p>&#8220;`<br \/>\n#Grafana #AlmaLinux #Linux #SystemMonitoring #DataVisualization #InstallationGuide #OpenSource #MonitoringTools #AlmaLinux9 #GrafanaInstallation<br \/>\n&#8220;`<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Install Grafana on AlmaLinux 9 Grafana is a popular open-source platform for monitoring and observability. It allows you to visualize and explore your metrics, logs, and traces. In this guide, we will walk you through the steps to install Grafana on AlmaLinux 9. Step 1: Update the System First, ensure your system is &hellip; <a href=\"https:\/\/mellowhost.com\/blog\/how-to-install-grafana-on-almalinux-9.html\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to Install Grafana on AlmaLinux 9&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[731],"tags":[],"_links":{"self":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/961"}],"collection":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/comments?post=961"}],"version-history":[{"count":1,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/961\/revisions"}],"predecessor-version":[{"id":962,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/961\/revisions\/962"}],"wp:attachment":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/media?parent=961"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/categories?post=961"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/tags?post=961"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}