{"id":11001,"date":"2021-10-15T10:50:47","date_gmt":"2021-10-15T10:50:47","guid":{"rendered":"https:\/\/linuxways.net\/?p=11001"},"modified":"2021-10-15T10:50:47","modified_gmt":"2021-10-15T10:50:47","slug":"install-grafana-on-linux-mint-20","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/mint\/install-grafana-on-linux-mint-20\/","title":{"rendered":"Install Grafana on Linux Mint 20"},"content":{"rendered":"<h2>Introduction:<\/h2>\n<p>Grafana is a cross-platform visual analytics tool that can be installed very conveniently on an operating system of your choice. This tool is capable of producing extremely fascinating charts and graphs for data analysis. This article will explain to you the process of installing Grafana on a Linux Mint 20 system.<\/p>\n<h2>Procedure of Installing Grafana on Linux Mint 20:<\/h2>\n<p>For installing Grafana on a Linux Mint 20 machine, you will have to perform the following steps:<\/p>\n<h3>Step # 1: Getting the System Updated:<\/h3>\n<p>First, you need to get your system updated with the command shown below:<\/p>\n<pre><strong>$ sudo apt update<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"370\" height=\"25\" class=\"wp-image-11002\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-160.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-160.png 370w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-160-300x20.png 300w\" sizes=\"auto, (max-width: 370px) 100vw, 370px\" \/><\/strong><\/p>\n<h3>Step # 2: Installing Some Required Packages:<\/h3>\n<p>Now, you have to install some required packages with the following command:<\/p>\n<pre><strong>$ sudo apt install apt-transport-https software-properties-common wget<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"645\" height=\"46\" class=\"wp-image-11003\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-161.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-161.png 645w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-161-300x21.png 300w\" sizes=\"auto, (max-width: 645px) 100vw, 645px\" \/><\/strong><\/p>\n<h3>Step # 3: Importing the GPG Key for Grafana:<\/h3>\n<p>After that, you need to import the GPG key for Grafana by running the command shown below:<\/p>\n<pre><strong>$ wget \u2013qO- https:\/\/packages.grafana.com\/gpg.key | sudo apt-key add \u2013<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"645\" height=\"41\" class=\"wp-image-11004\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-162.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-162.png 645w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-162-300x19.png 300w\" sizes=\"auto, (max-width: 645px) 100vw, 645px\" \/><\/strong><\/p>\n<p>The \u201cOK\u201d response in the output will represent a successful execution of this command.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"645\" height=\"78\" class=\"wp-image-11005\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-163.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-163.png 645w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-163-300x36.png 300w\" sizes=\"auto, (max-width: 645px) 100vw, 645px\" \/><\/p>\n<h3>Step # 4: Checking if the GPG Key for Grafana has been imported successfully or not:<\/h3>\n<p>You can also confirm whether the GPG key for Grafana has been imported successfully or not by executing the following command:<\/p>\n<pre><strong>$ echo \u201cdeb https:\/\/packages.grafana.com\/oss\/deb stable main\u201d | sudo tee \u2013a \/etc\/apt\/sources.list.d\/grafana.list<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"646\" height=\"46\" class=\"wp-image-11006\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-164.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-164.png 646w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-164-300x21.png 300w\" sizes=\"auto, (max-width: 646px) 100vw, 646px\" \/><\/strong><\/p>\n<p>The output shown in the image below will indicate a successful import of the Grafana GPG key.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"646\" height=\"71\" class=\"wp-image-11007\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-165.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-165.png 646w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-165-300x33.png 300w\" sizes=\"auto, (max-width: 646px) 100vw, 646px\" \/><\/p>\n<h3>Step # 5: Getting the System Updated Again:<\/h3>\n<p>Now, you need to update the system again with the following command:<\/p>\n<pre><strong>$ sudo apt update<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"372\" height=\"24\" class=\"wp-image-11008\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-166.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-166.png 372w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-166-300x19.png 300w\" sizes=\"auto, (max-width: 372px) 100vw, 372px\" \/><\/strong><\/p>\n<h3>Step # 6: Installing Grafana on Linux Mint 20:<\/h3>\n<p>After that, you need to install Grafana on your system with the command shown below:<\/p>\n<pre><strong>$ sudo apt install grafana<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"439\" height=\"24\" class=\"wp-image-11009\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-167.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-167.png 439w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-167-300x16.png 300w\" sizes=\"auto, (max-width: 439px) 100vw, 439px\" \/><\/strong><\/p>\n<h3>Step # 7: Reloading the System Daemon:<\/h3>\n<p>Now, you need to reload your system\u2019s daemon with the following command:<\/p>\n<pre><strong>$ sudo systemctl daemon-reload<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"471\" height=\"22\" class=\"wp-image-11010\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-168.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-168.png 471w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-168-300x14.png 300w\" sizes=\"auto, (max-width: 471px) 100vw, 471px\" \/><\/strong><\/p>\n<h3>Step # 8: Enabling the Grafana Server:<\/h3>\n<p>After that, you need to enable the Grafana server with the command shown below:<\/p>\n<pre><strong>$ sudo systemctl enable grafana-server<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"536\" height=\"24\" class=\"wp-image-11011\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-169.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-169.png 536w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-169-300x13.png 300w\" sizes=\"auto, (max-width: 536px) 100vw, 536px\" \/><\/strong><\/p>\n<h3>Step # 9: Starting the Grafana Server:<\/h3>\n<p>Finally, after enabling the Grafana server, you need to start it by running the following command:<\/p>\n<pre><strong>$ sudo systemctl start grafana-server<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"527\" height=\"24\" class=\"wp-image-11012\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-170.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-170.png 527w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-170-300x14.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-170-501x24.png 501w\" sizes=\"auto, (max-width: 527px) 100vw, 527px\" \/><\/strong><\/p>\n<h3>Step # 10: Checking the Status of the Grafana Server:<\/h3>\n<p>You can confirm whether the Grafana server is running actively or not by executing the command shown below:<\/p>\n<pre><strong>$ sudo systemctl status grafana-server<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"535\" height=\"26\" class=\"wp-image-11013\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-171.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-171.png 535w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-171-300x15.png 300w\" sizes=\"auto, (max-width: 535px) 100vw, 535px\" \/><\/strong><\/p>\n<p>The following image shows that the Grafana server is running actively on our Linux Mint 20 system.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"646\" height=\"387\" class=\"wp-image-11014\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-172.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-172.png 646w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-172-300x180.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-172-501x300.png 501w\" sizes=\"auto, (max-width: 646px) 100vw, 646px\" \/><\/p>\n<h2>Removing Grafana from Linux Mint 20:<\/h2>\n<p>If you want to remove the Grafana server from your system, then you can execute the command shown below:<\/p>\n<pre><strong>$ sudo apt-get purge --autoremove grafana<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"559\" height=\"24\" class=\"wp-image-11015\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-173.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-173.png 559w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/10\/word-image-173-300x13.png 300w\" sizes=\"auto, (max-width: 559px) 100vw, 559px\" \/><\/strong><\/p>\n<h2>Conclusion:<\/h2>\n<p>This article explained to you the procedure with which you can easily install Grafana on a Linux Mint 20 system. This process might seem a little bit lengthy but once you will perform all these steps, you will instantly figure out how simple it is to install Grafana on a Linux Mint 20 system.<\/p>","protected":false},"excerpt":{"rendered":"<p>Introduction: Grafana is a cross-platform visual analytics tool that can be installed very conveniently on an operating system of your choice. This tool is capable of producing extremely&hellip;<\/p>","protected":false},"author":1,"featured_media":11195,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[420,129],"class_list":["post-11001","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mint","tag-grafana","tag-linux-mint-20"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/11001","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=11001"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/11001\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/11195"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=11001"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=11001"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=11001"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}