{"id":1673,"date":"2022-05-30T12:30:00","date_gmt":"2022-05-30T17:30:00","guid":{"rendered":"https:\/\/linuxhostsupport.com\/blog\/?p=1673"},"modified":"2022-05-12T05:33:13","modified_gmt":"2022-05-12T10:33:13","slug":"how-to-install-grafana-on-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/","title":{"rendered":"How to Install Grafana on Ubuntu 20.04"},"content":{"rendered":"\n<div id=\"linux-2589305513\" class=\"linux-before-1st-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1339&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div><p>Grafana is a free, open-source, and composable observability and data visualization platform. It is used for monitoring, analysis, and visualization of real-time system data. Its frontend is written in Typescript while the backend is written in Go. It can be used with time series databases such as InfluxDB, Prometheus, and Elasticsearch. It provides a beautiful dashboard that allows users to create and edit both log and data graphs and create metrics.<\/p>\n\n\n\n<p>In this post, we will explain how to install Grafana on Ubuntu 20.04.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>A Ubuntu 20.04 VPS with root access enabled or a user with <a href=\"https:\/\/linuxhostsupport.com\/blog\/how-to-add-a-user-to-sudo-group-on-debian-9\/\">sudo privileges<\/a>.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Log in via SSH and Update your System<\/h2>\n\n\n\n<p>First, you will need to log in to your Ubuntu 20.04 VPS via SSH as the root user:<\/p>\n\n\n\n<p><code>ssh root@IP_ADDRESS -p PORT_NUMBER<\/code><br>Next, run the following commands to upgrade all installed packages on your VPS:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt-get update -y<\/pre>\n\n\n\n<p>Once all the packages are updated, restart your system to apply the changes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Add Grafana Repository<\/h2>\n\n\n\n<p>By default, the Grafana package is not included in the Ubuntu 20.04 default repository. So you will need to add the Grafana official repository to your system.<\/p>\n\n\n\n<p>First, install all required dependencies using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt-get install wget curl gnupg2 apt-transport-https software-properties-common -y<\/pre>\n\n\n\n<p>Next, download and add the Grafana GPG key with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">wget -q -O - https:\/\/packages.grafana.com\/gpg.key | apt-key add -<\/pre>\n\n\n\n<p>Next, add the Grafana repository to APT using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">echo \"deb https:\/\/packages.grafana.com\/oss\/deb stable main\" | tee -a \/etc\/apt\/sources.list.d\/grafana.list<\/pre>\n\n\n\n<p>Once the repository is added to your system, you can update it with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt-get update -y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Install Grafana<\/h2>\n\n\n\n<p>Now, you can install the Grafana by running the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt-get install grafana -y<\/pre>\n\n\n\n<p>Once the Grafana package is installed, verify the Grafana version with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">grafana-server -v<\/pre>\n\n\n\n<p>You will get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Version 8.4.5 (commit: 4cafe613e1, branch: HEAD)\n<\/pre>\n\n\n\n<p>Now, start the Grafana service and enable it to start at system reboot:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl start grafana-server\nsystemctl enable grafana-server<\/pre>\n\n\n\n<p>You can now check the status of the Grafana with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl status grafana-server<\/pre>\n\n\n\n<p>You will get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u25cf grafana-server.service - Grafana instance\n     Loaded: loaded (\/lib\/systemd\/system\/grafana-server.service; disabled; vendor preset: enabled)\n     Active: active (running) since Wed 2022-04-06 14:39:27 UTC; 5s ago\n       Docs: http:\/\/docs.grafana.org\n   Main PID: 2761 (grafana-server)\n      Tasks: 9 (limit: 2348)\n     Memory: 32.2M\n     CGroup: \/system.slice\/grafana-server.service\n             \u2514\u25002761 \/usr\/sbin\/grafana-server --config=\/etc\/grafana\/grafana.ini --pidfile=\/run\/grafana\/grafana-server.pid --packaging=deb cfg:&gt;\n\nApr 06 14:39:29 ubuntu2004 grafana-server[2761]: logger=sqlstore t=2022-04-06T14:39:29.83+0000 lvl=info msg=\"Created default admin\" user=admin\nApr 06 14:39:29 ubuntu2004 grafana-server[2761]: logger=sqlstore t=2022-04-06T14:39:29.83+0000 lvl=info msg=\"Created default organization\"\nApr 06 14:39:29 ubuntu2004 grafana-server[2761]: logger=plugin.manager t=2022-04-06T14:39:29.89+0000 lvl=info msg=\"Plugin registered\" pluginI&gt;\nApr 06 14:39:29 ubuntu2004 grafana-server[2761]: logger=plugin.finder t=2022-04-06T14:39:29.9+0000 lvl=warn msg=\"Skipping finding plugins as &gt;\nApr 06 14:39:29 ubuntu2004 grafana-server[2761]: logger=query_data t=2022-04-06T14:39:29.9+0000 lvl=info msg=\"Query Service initialization\"\nApr 06 14:39:29 ubuntu2004 grafana-server[2761]: logger=live.push_http t=2022-04-06T14:39:29.91+0000 lvl=info msg=\"Live Push Gateway initiali&gt;\nApr 06 14:39:30 ubuntu2004 grafana-server[2761]: logger=server t=2022-04-06T14:39:30.11+0000 lvl=info msg=\"Writing PID file\" path=\/run\/grafan&gt;\nApr 06 14:39:30 ubuntu2004 grafana-server[2761]: logger=http.server t=2022-04-06T14:39:30.12+0000 lvl=info msg=\"HTTP Server Listen\" address=[&gt;\nApr 06 14:39:30 ubuntu2004 grafana-server[2761]: logger=ngalert t=2022-04-06T14:39:30.13+0000 lvl=info msg=\"warming cache for startup\"\nApr 06 14:39:30 ubuntu2004 grafana-server[2761]: logger=ngalert.multiorg.alertmanager t=2022-04-06T14:39:30.13+0000 lvl=info msg=\"starting Mu&gt;\n<\/pre>\n\n\n\n<p>At this point, Grafana is started and listens on port 3000. You can check it with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ss -antpl | grep 3000<\/pre>\n\n\n\n<p>You should see the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">LISTEN    0         4096                     *:3000                   *:*        users:((\"grafana-server\",pid=2761,fd=8))                                       \n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Configure Nginx as a Reverse Proxy for Grafana<\/h2>\n\n\n\n<p>Next, you will need to install the Nginx as a reverse proxy for Grafana. First, install the Nginx package using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt-get install nginx -y<\/pre>\n\n\n\n<p>Once the Nginx is installed, create an Nginx virtual host configuration file:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">nano \/etc\/nginx\/conf.d\/grafana.conf<\/pre>\n\n\n\n<p>Add the following lines:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Server {\n        server_name grafana.example.com;\n        listen 80 ;\n        access_log \/var\/log\/nginx\/grafana.log;\n\n    location \/ {\n                proxy_pass http:\/\/localhost:3000;\n        proxy_set_header Host $http_host;\n                proxy_set_header X-Forwarded-Host $host:$server_port;\n                proxy_set_header X-Forwarded-Server $host;\n                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n        }\n}\n<\/pre>\n\n\n\n<p>Save and close the file then verify the Nginx configuration file using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">nginx -t<\/pre>\n\n\n\n<p>You will get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">nginx: the configuration file \/etc\/nginx\/nginx.conf syntax is ok\nnginx: configuration file \/etc\/nginx\/nginx.conf test is successful\n<\/pre>\n\n\n\n<p>Finally, restart the Nginx service to apply the changes:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl restart nginx<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Access Grafana Dashboard<\/h2>\n\n\n\n<p>Now, open your web browser and access the Grafana dashboard using the URL <strong>http:\/\/grafana.example.com<\/strong>. You will be redirected to the Grafana login page:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"547\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/05\/install-grafana-on-ubuntu-20.04.png\" alt=\"\" class=\"wp-image-1674\" srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/05\/install-grafana-on-ubuntu-20.04.png 1024w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/05\/install-grafana-on-ubuntu-20.04-300x160.png 300w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/05\/install-grafana-on-ubuntu-20.04-768x410.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Provide default admin username and password as admin\/admin and click on the <strong>Log in<\/strong> button. You should see the Grafana password change screen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"568\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/05\/installing-grafana-on-ubuntu-20.04.png\" alt=\"\" class=\"wp-image-1675\" srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/05\/installing-grafana-on-ubuntu-20.04.png 1024w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/05\/installing-grafana-on-ubuntu-20.04-300x166.png 300w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/05\/installing-grafana-on-ubuntu-20.04-768x426.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Change your default password and click on the <strong>Submit<\/strong> button. You should see the Grafana dashboard on the following screen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"502\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/05\/grafana-on-ubuntu-20.04.png\" alt=\"\" class=\"wp-image-1676\" srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/05\/grafana-on-ubuntu-20.04.png 1024w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/05\/grafana-on-ubuntu-20.04-300x147.png 300w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/05\/grafana-on-ubuntu-20.04-768x377.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Of course, if you are one of our <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\" target=\"_blank\" rel=\"noreferrer noopener\">Ubuntu Hosting<\/a> customers, you don\u2019t have to install Grafana on your Ubuntu 20.04 VPS \u2013 simply ask our admins, sit back, and relax. Our admins will install Grafana on Ubuntu 20.04 for you immediately.<\/p>\n\n\n\n<p>PS. If you liked this post about how to install Grafana on Ubuntu 20.04 VPS, please share it with your friends on the social networks using the buttons below, or simply leave a comment in the comments section. Thanks.<\/p><div id=\"linux-129044242\" class=\"linux-after-8th-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1340&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Grafana is a free, open-source, and composable observability and data visualization platform. It is used for monitoring, analysis, and visualization of real-time system data. Its frontend is written in Typescript while the backend is written in Go. It can be used with time series databases such as InfluxDB, Prometheus, and Elasticsearch. It provides a beautiful [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1677,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,182],"tags":[221,199,174],"class_list":["post-1673","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-ubuntu","tag-grafana","tag-how-to-install","tag-ubuntu-20-04"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Grafana on Ubuntu 20.04 | LinuxHostSupport<\/title>\n<meta name=\"description\" content=\"In this post, we will explain how to install Grafana on Ubuntu 20.04. Read on for more details.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Grafana on Ubuntu 20.04 | LinuxHostSupport\" \/>\n<meta property=\"og:description\" content=\"In this post, we will explain how to install Grafana on Ubuntu 20.04. Read on for more details.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxHostSupport\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/linuxhostsupport\" \/>\n<meta property=\"article:published_time\" content=\"2022-05-30T17:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/05\/how-to-install-grafana-on-ubuntu-20.04.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:site\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb\"},\"headline\":\"How to Install Grafana on Ubuntu 20.04\",\"datePublished\":\"2022-05-30T17:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/\"},\"wordCount\":548,\"commentCount\":7,\"image\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/05\/how-to-install-grafana-on-ubuntu-20.04.jpg\",\"keywords\":[\"grafana\",\"how to install\",\"ubuntu 20.04\"],\"articleSection\":[\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/\",\"url\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/\",\"name\":\"How to Install Grafana on Ubuntu 20.04 | LinuxHostSupport\",\"isPartOf\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/05\/how-to-install-grafana-on-ubuntu-20.04.jpg\",\"datePublished\":\"2022-05-30T17:30:00+00:00\",\"author\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb\"},\"description\":\"In this post, we will explain how to install Grafana on Ubuntu 20.04. Read on for more details.\",\"breadcrumb\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/#primaryimage\",\"url\":\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/05\/how-to-install-grafana-on-ubuntu-20.04.jpg\",\"contentUrl\":\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/05\/how-to-install-grafana-on-ubuntu-20.04.jpg\",\"width\":742,\"height\":372,\"caption\":\"how to install grafana on ubuntu 20.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/linuxhostsupport.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Grafana on Ubuntu 20.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#website\",\"url\":\"https:\/\/linuxhostsupport.com\/blog\/\",\"name\":\"LinuxHostSupport\",\"description\":\"Linux Tutorials and Guides\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/linuxhostsupport.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\/\/linuxhostsupport.com\/blog\/author\/r0s3admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Grafana on Ubuntu 20.04 | LinuxHostSupport","description":"In this post, we will explain how to install Grafana on Ubuntu 20.04. Read on for more details.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Grafana on Ubuntu 20.04 | LinuxHostSupport","og_description":"In this post, we will explain how to install Grafana on Ubuntu 20.04. Read on for more details.","og_url":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/","og_site_name":"LinuxHostSupport","article_publisher":"https:\/\/www.facebook.com\/linuxhostsupport","article_published_time":"2022-05-30T17:30:00+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/05\/how-to-install-grafana-on-ubuntu-20.04.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@lnxhostsupport","twitter_site":"@lnxhostsupport","twitter_misc":{"Written by":"admin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/#article","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/"},"author":{"name":"admin","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"headline":"How to Install Grafana on Ubuntu 20.04","datePublished":"2022-05-30T17:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/"},"wordCount":548,"commentCount":7,"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/05\/how-to-install-grafana-on-ubuntu-20.04.jpg","keywords":["grafana","how to install","ubuntu 20.04"],"articleSection":["Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/","url":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/","name":"How to Install Grafana on Ubuntu 20.04 | LinuxHostSupport","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/#primaryimage"},"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/05\/how-to-install-grafana-on-ubuntu-20.04.jpg","datePublished":"2022-05-30T17:30:00+00:00","author":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"description":"In this post, we will explain how to install Grafana on Ubuntu 20.04. Read on for more details.","breadcrumb":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/#primaryimage","url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/05\/how-to-install-grafana-on-ubuntu-20.04.jpg","contentUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2022\/05\/how-to-install-grafana-on-ubuntu-20.04.jpg","width":742,"height":372,"caption":"how to install grafana on ubuntu 20.04"},{"@type":"BreadcrumbList","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-grafana-on-ubuntu-20-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linuxhostsupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Grafana on Ubuntu 20.04"}]},{"@type":"WebSite","@id":"https:\/\/linuxhostsupport.com\/blog\/#website","url":"https:\/\/linuxhostsupport.com\/blog\/","name":"LinuxHostSupport","description":"Linux Tutorials and Guides","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linuxhostsupport.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/linuxhostsupport.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1673","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/comments?post=1673"}],"version-history":[{"count":1,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1673\/revisions"}],"predecessor-version":[{"id":1678,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1673\/revisions\/1678"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media\/1677"}],"wp:attachment":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media?parent=1673"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/categories?post=1673"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/tags?post=1673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}