<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Installation on Grafana Labs</title><link>https://grafana.com/docs/grafana/v8.4/installation/</link><description>Recent content in Installation on Grafana Labs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="/docs/grafana/v8.4/installation/index.xml" rel="self" type="application/rss+xml"/><item><title>Requirements</title><link>https://grafana.com/docs/grafana/v8.4/installation/requirements/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/installation/requirements/</guid><content><![CDATA[&lt;h1 id=&#34;grafana-requirements&#34;&gt;Grafana requirements&lt;/h1&gt;
&lt;p&gt;This page lists the minimum hardware and software requirements to install Grafana.&lt;/p&gt;
&lt;p&gt;To run Grafana, you must have a supported operating system, hardware that meets or exceeds minimum requirements, a supported database, and a supported browser.&lt;/p&gt;
&lt;p&gt;Grafana uses other open source software. Refer to &lt;a href=&#34;https://github.com/grafana/grafana/blob/main/package.json&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;package.json&lt;/a&gt; for a complete list.&lt;/p&gt;
&lt;h2 id=&#34;supported-operating-systems&#34;&gt;Supported operating systems&lt;/h2&gt;
&lt;p&gt;The following operating systems are supported for Grafana installation:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;../debian/&#34;&gt;Debian / Ubuntu&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../rpm/&#34;&gt;RPM-based Linux (CentOS, Fedora, OpenSuse, RedHat)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../mac/&#34;&gt;macOS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../windows/&#34;&gt;Windows&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Installation of Grafana on other operating systems is possible, but it is neither recommended nor supported.&lt;/p&gt;
&lt;h2 id=&#34;hardware-recommendations&#34;&gt;Hardware recommendations&lt;/h2&gt;
&lt;p&gt;Grafana does not use a lot of resources and is very lightweight in use of memory and CPU.&lt;/p&gt;
&lt;p&gt;Minimum recommended memory: 255 MB
Minimum recommended CPU: 1&lt;/p&gt;
&lt;p&gt;Some features might require more memory or CPUs. Features require more resources include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;/grafana/plugins/grafana-image-renderer#requirements&#34;&gt;Server side rendering of images&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../alerting/&#34;&gt;Alerting&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../http_api/data_source/&#34;&gt;Data source proxy&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;supported-databases&#34;&gt;Supported databases&lt;/h2&gt;
&lt;p&gt;Grafana requires a database to store its configuration data, such as users, data sources, and dashboards. The exact requirements depend on the size of the Grafana installation and features used.&lt;/p&gt;
&lt;p&gt;Grafana supports the following databases:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;SQLite&lt;/li&gt;
&lt;li&gt;MySQL&lt;/li&gt;
&lt;li&gt;PostgreSQL&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;By default, Grafana installs with and uses SQLite, which is an embedded database stored in the Grafana installation location.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; PostgreSQL versions 9.5.18, 9.4.23, 9.6.14, 10.9, 11.4, and 12-beta2 are affected by a bug (tracked by the PostgreSQL project as &lt;a href=&#34;https://www.postgresql.org/message-id/flat/15865-17940eacc8f8b081%40postgresql.org&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;bug #15865&lt;/a&gt;) which prevents those versions from being used with Grafana. The bug has been fixed in more recent versions of PostgreSQL.&lt;/p&gt;&lt;/blockquote&gt;
&lt;h2 id=&#34;supported-web-browsers&#34;&gt;Supported web browsers&lt;/h2&gt;
&lt;p&gt;Grafana is supported in the current version of the following browsers. Older versions of these browsers might not be supported, so you should always upgrade to the latest version when using Grafana.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Chrome/Chromium&lt;/li&gt;
&lt;li&gt;Firefox&lt;/li&gt;
&lt;li&gt;Safari&lt;/li&gt;
&lt;li&gt;Microsoft Edge&lt;/li&gt;
&lt;li&gt;Internet Explorer 11 is only fully supported in Grafana versions prior v6.0.&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Always enable JavaScript in your browser. Running Grafana without JavaScript enabled in the browser is not supported.&lt;/p&gt;&lt;/blockquote&gt;
]]></content><description>&lt;h1 id="grafana-requirements">Grafana requirements&lt;/h1>
&lt;p>This page lists the minimum hardware and software requirements to install Grafana.&lt;/p>
&lt;p>To run Grafana, you must have a supported operating system, hardware that meets or exceeds minimum requirements, a supported database, and a supported browser.&lt;/p></description></item><item><title>Install on Debian/Ubuntu</title><link>https://grafana.com/docs/grafana/v8.4/installation/debian/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/installation/debian/</guid><content><![CDATA[&lt;h1 id=&#34;install-on-debian-or-ubuntu&#34;&gt;Install on Debian or Ubuntu&lt;/h1&gt;
&lt;p&gt;This page explains how to install Grafana dependencies, download and install Grafana, get the service up and running on your Debian or Ubuntu system, and also describes the installation package details.&lt;/p&gt;
&lt;h2 id=&#34;note-on-upgrading&#34;&gt;Note on upgrading&lt;/h2&gt;
&lt;p&gt;While the process for upgrading Grafana is very similar to installing Grafana, there are some key backup steps you should perform. Read &lt;a href=&#34;../upgrading/&#34;&gt;Upgrading Grafana&lt;/a&gt; for tips and guidance on updating an existing installation.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; You can use &lt;a href=&#34;/products/cloud/features/#cloud-logs&#34;&gt;Grafana Cloud&lt;/a&gt; to avoid the overhead of installing, maintaining, and scaling your observability stack. The free forever plan includes Grafana, 10K Prometheus series, 50 GB logs, and more.&lt;a href=&#34;/auth/sign-up/create-user?pg=docs-grafana-install&amp;amp;plcmt=in-text&#34;&gt;Create a free account to get started&lt;/a&gt;.&lt;/p&gt;&lt;/blockquote&gt;
&lt;h2 id=&#34;1-download-and-install&#34;&gt;1. Download and install&lt;/h2&gt;
&lt;p&gt;You can install Grafana using our official APT repository, by downloading a &lt;code&gt;.deb&lt;/code&gt; package, or by downloading a binary &lt;code&gt;.tar.gz&lt;/code&gt; file.&lt;/p&gt;
&lt;h3 id=&#34;install-from-apt-repository&#34;&gt;Install from APT repository&lt;/h3&gt;
&lt;p&gt;If you install from the APT repository, then Grafana is automatically updated every time you run &lt;code&gt;apt-get update&lt;/code&gt;.&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Grafana Version&lt;/th&gt;
              &lt;th&gt;Package&lt;/th&gt;
              &lt;th&gt;Repository&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;Grafana Enterprise&lt;/td&gt;
              &lt;td&gt;grafana-enterprise&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;https://packages.grafana.com/enterprise/deb stable main&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Grafana Enterprise (Beta)&lt;/td&gt;
              &lt;td&gt;grafana-enterprise&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;https://packages.grafana.com/enterprise/deb beta main&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Grafana OSS&lt;/td&gt;
              &lt;td&gt;grafana&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;https://packages.grafana.com/oss/deb stable main&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Grafana OSS (Beta)&lt;/td&gt;
              &lt;td&gt;grafana&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;https://packages.grafana.com/oss/deb beta main&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Grafana Enterprise is the recommended and default edition. It is available for free and includes all the features of the OSS edition. You can also upgrade to the &lt;a href=&#34;/products/enterprise/?utm_source=grafana-install-page&#34;&gt;full Enterprise feature set&lt;/a&gt;, which has support for &lt;a href=&#34;/grafana/plugins/?enterprise=1&amp;amp;utcm_source=grafana-install-page&#34;&gt;Enterprise plugins&lt;/a&gt;.&lt;/p&gt;&lt;/blockquote&gt;
&lt;h4 id=&#34;to-install-the-latest-enterprise-edition&#34;&gt;To install the latest Enterprise edition:&lt;/h4&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo apt-get install -y apt-transport-https
sudo apt-get install -y software-properties-common wget
wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Add this repository for stable releases:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;echo &amp;#34;deb https://packages.grafana.com/enterprise/deb stable main&amp;#34; | sudo tee -a /etc/apt/sources.list.d/grafana.list&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Add this repository if you want beta releases:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;echo &amp;#34;deb https://packages.grafana.com/enterprise/deb beta main&amp;#34; | sudo tee -a /etc/apt/sources.list.d/grafana.list&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;After you add the repository:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo apt-get update
sudo apt-get install grafana-enterprise&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&#34;to-install-the-latest-oss-release&#34;&gt;To install the latest OSS release:&lt;/h4&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo apt-get install -y apt-transport-https
sudo apt-get install -y software-properties-common wget
wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Add this repository for stable releases:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;echo &amp;#34;deb https://packages.grafana.com/oss/deb stable main&amp;#34; | sudo tee -a /etc/apt/sources.list.d/grafana.list&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Add this repository if you want beta releases:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;echo &amp;#34;deb https://packages.grafana.com/oss/deb beta main&amp;#34; | sudo tee -a /etc/apt/sources.list.d/grafana.list&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;After you add the repository:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo apt-get update
sudo apt-get install grafana&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;install-deb-package&#34;&gt;Install .deb package&lt;/h3&gt;
&lt;p&gt;If you install the &lt;code&gt;.deb&lt;/code&gt; package, then you will need to manually update Grafana for each new version.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;On the &lt;a href=&#34;/grafana/download&#34;&gt;Grafana download page&lt;/a&gt;, select the Grafana version you want to install.
&lt;ul&gt;
&lt;li&gt;The most recent Grafana version is selected by default.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;Version&lt;/strong&gt; field displays only finished releases. If you want to install a beta version, click &lt;strong&gt;Nightly Builds&lt;/strong&gt; and then select a version.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Select an &lt;strong&gt;Edition&lt;/strong&gt;.
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Enterprise&lt;/strong&gt; - Recommended download. Functionally identical to the open source version, but includes features you can unlock with a license if you so choose.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Open Source&lt;/strong&gt; - Functionally identical to the Enterprise version, but you will need to download the Enterprise version if you want Enterprise features.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Depending on which system you are running, click &lt;strong&gt;Linux&lt;/strong&gt; or &lt;strong&gt;ARM&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Copy and paste the code from the installation page into your command line and run. It follows the pattern shown below.&lt;/li&gt;
&lt;/ol&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo apt-get install -y adduser
wget &amp;lt;.deb package url&amp;gt;
sudo dpkg -i grafana&amp;lt;edition&amp;gt;_&amp;lt;version&amp;gt;_amd64.deb&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;install-from-binary-targz-file&#34;&gt;Install from binary .tar.gz file&lt;/h2&gt;
&lt;p&gt;Download the latest &lt;a href=&#34;/grafana/download?platform=linux&#34;&gt;&lt;code&gt;.tar.gz&lt;/code&gt; file&lt;/a&gt; and extract it. The files extract into a folder named after the Grafana version downloaded. This folder contains all files required to run Grafana. There are no init scripts or install scripts in this package.&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;wget &amp;lt;tar.gz package url&amp;gt;
sudo tar -zxvf &amp;lt;tar.gz package&amp;gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;2-start-the-server&#34;&gt;2. Start the server&lt;/h2&gt;
&lt;p&gt;This starts the &lt;code&gt;grafana-server&lt;/code&gt; process as the &lt;code&gt;grafana&lt;/code&gt; user, which was created during the package installation.&lt;/p&gt;
&lt;p&gt;If you installed with the APT repository or &lt;code&gt;.deb&lt;/code&gt; package, then you can start the server using &lt;code&gt;systemd&lt;/code&gt; or &lt;code&gt;init.d&lt;/code&gt;. If you installed a binary &lt;code&gt;.tar.gz&lt;/code&gt; file, then you need to execute the binary.&lt;/p&gt;
&lt;h3 id=&#34;start-the-server-with-systemd&#34;&gt;Start the server with systemd&lt;/h3&gt;
&lt;p&gt;To start the service and verify that the service has started:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo systemctl daemon-reload
sudo systemctl start grafana-server
sudo systemctl status grafana-server&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Configure the Grafana server to start at boot:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo systemctl enable grafana-server.service&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&#34;serving-grafana-on-a-port--1024&#34;&gt;Serving Grafana on a port &amp;lt; 1024&lt;/h4&gt;


&lt;div data-shared=&#34;systemd/bind-net-capabilities.md&#34;&gt;
            &lt;p&gt;If you are using &lt;code&gt;systemd&lt;/code&gt; and want to start Grafana on a port that is less than 1024, then you must add a &lt;code&gt;systemd&lt;/code&gt; unit override.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The following command creates an override file in your configured editor:&lt;/li&gt;
&lt;/ol&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;# Alternatively, create a file in /etc/systemd/system/grafana-server.service.d/override.conf
systemctl edit grafana-server.service&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;1 Add these additional settings to grant the &lt;code&gt;CAP_NET_BIND_SERVICE&lt;/code&gt; capability. To read more about capabilities, see &lt;a href=&#34;https://man7.org/linux/man-pages/man7/capabilities.7.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;the manual page on capabilities.&lt;/a&gt;&lt;/p&gt;

&lt;div class=&#34;code-snippet code-snippet__mini&#34;&gt;&lt;div class=&#34;lang-toolbar__mini&#34;&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet code-snippet__border&#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-none&#34;&gt;[Service]
# Give the CAP_NET_BIND_SERVICE capability
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_BIND_SERVICE

# A private user cannot have process capabilities on the host&amp;#39;s user
# namespace and thus CAP_NET_BIND_SERVICE has no effect.
PrivateUsers=false&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;

        
&lt;h3 id=&#34;start-the-server-with-initd&#34;&gt;Start the server with init.d&lt;/h3&gt;
&lt;p&gt;To start the service and verify that the service has started:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo service grafana-server start
sudo service grafana-server status&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Configure the Grafana server to start at boot:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo update-rc.d grafana-server defaults&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;execute-the-binary&#34;&gt;Execute the binary&lt;/h3&gt;
&lt;p&gt;The &lt;code&gt;grafana-server&lt;/code&gt; binary .tar.gz needs the working directory to be the root install directory where the binary and the &lt;code&gt;public&lt;/code&gt; folder are located.&lt;/p&gt;
&lt;p&gt;Start Grafana by running:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;./bin/grafana-server web&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;package-details&#34;&gt;Package details&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Installs binary to &lt;code&gt;/usr/sbin/grafana-server&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Installs Init.d script to &lt;code&gt;/etc/init.d/grafana-server&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Creates default file (environment vars) to &lt;code&gt;/etc/default/grafana-server&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Installs configuration file to &lt;code&gt;/etc/grafana/grafana.ini&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Installs systemd service (if systemd is available) name &lt;code&gt;grafana-server.service&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;The default configuration sets the log file at &lt;code&gt;/var/log/grafana/grafana.log&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;The default configuration specifies a SQLite3 db at &lt;code&gt;/var/lib/grafana/grafana.db&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Installs HTML/JS/CSS and other Grafana files at &lt;code&gt;/usr/share/grafana&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;next-steps&#34;&gt;Next steps&lt;/h2&gt;
&lt;p&gt;Refer to the &lt;a href=&#34;../../getting-started/getting-started/&#34;&gt;Getting Started&lt;/a&gt; guide for information about logging in, setting up data sources, and so on.&lt;/p&gt;
&lt;h2 id=&#34;configure-grafana&#34;&gt;Configure Grafana&lt;/h2&gt;
&lt;p&gt;Refer to the &lt;a href=&#34;../../administration/configuration/&#34;&gt;Configuration&lt;/a&gt; page for details on options for customizing your environment, logging, database, and so on.&lt;/p&gt;
]]></content><description>&lt;h1 id="install-on-debian-or-ubuntu">Install on Debian or Ubuntu&lt;/h1>
&lt;p>This page explains how to install Grafana dependencies, download and install Grafana, get the service up and running on your Debian or Ubuntu system, and also describes the installation package details.&lt;/p></description></item><item><title>Install on RPM-based Linux</title><link>https://grafana.com/docs/grafana/v8.4/installation/rpm/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/installation/rpm/</guid><content><![CDATA[&lt;h1 id=&#34;install-on-rpm-based-linux-centos-fedora-opensuse-red-hat&#34;&gt;Install on RPM-based Linux (CentOS, Fedora, OpenSuse, Red Hat)&lt;/h1&gt;
&lt;p&gt;This topic explains how to install Grafana dependencies, download and install Grafana, get the service up and running on your RPM-based Linux system, and the installation package details.&lt;/p&gt;
&lt;h2 id=&#34;note-on-upgrading&#34;&gt;Note on upgrading&lt;/h2&gt;
&lt;p&gt;While the process for upgrading Grafana is very similar to installing Grafana, there are some key backup steps you should perform. Read &lt;a href=&#34;../upgrading/&#34;&gt;Upgrading Grafana&lt;/a&gt; for tips and guidance on updating an existing installation.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; You can use &lt;a href=&#34;/products/cloud/features/#cloud-logs&#34;&gt;Grafana Cloud&lt;/a&gt; to avoid the overhead of installing, maintaining, and scaling your observability stack. The free forever plan includes Grafana, 10K Prometheus series, 50 GB logs, and more.&lt;a href=&#34;/auth/sign-up/create-user?pg=docs-grafana-install&amp;amp;plcmt=in-text&#34;&gt;Create a free account to get started&lt;/a&gt;.&lt;/p&gt;&lt;/blockquote&gt;
&lt;h2 id=&#34;1-download-and-install&#34;&gt;1. Download and install&lt;/h2&gt;
&lt;p&gt;You can install Grafana from a YUM repository, manually using YUM, manually using RPM, or by downloading a binary &lt;code&gt;.tar.gz&lt;/code&gt; file.&lt;/p&gt;
&lt;h3 id=&#34;install-from-yum-repository&#34;&gt;Install from YUM repository&lt;/h3&gt;
&lt;p&gt;If you install from the YUM repository, then Grafana is automatically updated every time you run &lt;code&gt;sudo yum update&lt;/code&gt;.&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Grafana Version&lt;/th&gt;
              &lt;th&gt;Package&lt;/th&gt;
              &lt;th&gt;Repository&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;Grafana Enterprise&lt;/td&gt;
              &lt;td&gt;grafana-enterprise&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;https://packages.grafana.com/enterprise/rpm&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Grafana Enterprise (Beta)&lt;/td&gt;
              &lt;td&gt;grafana-enterprise&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;https://packages.grafana.com/enterprise/rpm-beta&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Grafana OSS&lt;/td&gt;
              &lt;td&gt;grafana&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;https://packages.grafana.com/oss/rpm&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Grafana OSS (Beta)&lt;/td&gt;
              &lt;td&gt;grafana&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;https://packages.grafana.com/oss/rpm-beta&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Grafana Enterprise is the recommended and default edition. It is available for free and includes all the features of the OSS Edition. You can also upgrade to the &lt;a href=&#34;/products/enterprise/?utm_source=grafana-install-page&#34;&gt;full Enterprise feature set&lt;/a&gt; and has support for &lt;a href=&#34;/grafana/plugins/?enterprise=1&amp;amp;utcm_source=grafana-install-page&#34;&gt;Enterprise plugins&lt;/a&gt;.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Add a new file to your YUM repo using the method of your choice. The command below uses &lt;code&gt;nano&lt;/code&gt;.&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo nano /etc/yum.repos.d/grafana.repo&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Choose if you want to install the Open Source or Enterprise edition of Grafana and enter the information from the edition you&amp;rsquo;ve chosen into &lt;code&gt;grafana.repo&lt;/code&gt;. If you want to install the beta version of Grafana you need to replace the URL with a beta URL from the table above.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;We recommend all users to install the Enterprise Edition of Grafana, which can be seamlessly upgraded with a Grafana Enterprise &lt;a href=&#34;/products/enterprise/?utm_source=grafana-install-page&#34;&gt;subscription&lt;/a&gt;.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;For Enterprise releases:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;[grafana]
name=grafana
baseurl=https://packages.grafana.com/enterprise/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&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;For OSS releases:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;[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&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Install Grafana with one of the following commands:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo yum install grafana

# or

sudo yum install grafana-enterprise&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;install-manually-with-yum&#34;&gt;Install manually with YUM&lt;/h3&gt;
&lt;p&gt;If you install manually with YUM, then you will need to manually update Grafana for each new version. To enable automatic updates for your Grafana installation please use the instructions below to install via our YUM repository.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;On the &lt;a href=&#34;/grafana/download&#34;&gt;Grafana download page&lt;/a&gt;, select the Grafana version you want to install.
&lt;ul&gt;
&lt;li&gt;The most recent Grafana version is selected by default.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;Version&lt;/strong&gt; field displays only finished releases. If you want to install a beta version, click &lt;strong&gt;Nightly Builds&lt;/strong&gt; and then select a version.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Select an &lt;strong&gt;Edition&lt;/strong&gt;.
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Enterprise&lt;/strong&gt; - Recommended download. Functionally identical to the open source version, but includes features you can unlock with a license if you so choose.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Open Source&lt;/strong&gt; - Functionally identical to the Enterprise version, but you will need to download the Enterprise version if you want enterprise features.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Depending on which system you are running, click &lt;strong&gt;Linux&lt;/strong&gt; or &lt;strong&gt;ARM&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Copy and paste the code from the installation page into your command line and run. It follows the pattern shown below.&lt;/li&gt;
&lt;/ol&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;wget &amp;lt;rpm package url&amp;gt;
sudo yum localinstall &amp;lt;local rpm package&amp;gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;You can also install Grafana using YUM directly:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo yum install &amp;lt;rpm package url&amp;gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;install-with-rpm&#34;&gt;Install with RPM&lt;/h3&gt;
&lt;p&gt;If you install with RPM, then you will need to manually update Grafana for each new version. This method varies according to which Linux OS you are running. Read the instructions fully before you begin.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The .rpm files are signed, you can verify the signature with this &lt;a href=&#34;https://packages.grafana.com/gpg.key&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;public GPG key&lt;/a&gt;.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;On the &lt;a href=&#34;/grafana/download&#34;&gt;Grafana download page&lt;/a&gt;, select the Grafana version you want to install.
&lt;ul&gt;
&lt;li&gt;The most recent Grafana version is selected by default.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;Version&lt;/strong&gt; field displays only finished releases. If you want to install a beta version, click &lt;strong&gt;Nightly Builds&lt;/strong&gt; and then select a version.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Select an &lt;strong&gt;Edition&lt;/strong&gt;.
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Enterprise&lt;/strong&gt; - Recommended download. Functionally identical to the open source version, but includes features you can unlock with a license if you so choose.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Open Source&lt;/strong&gt; - Functionally identical to the Enterprise version, but you will need to download the Enterprise version if you want Enterprise features.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Depending on which system you are running, click &lt;strong&gt;Linux&lt;/strong&gt; or &lt;strong&gt;ARM&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Copy and paste the .rpm package URL and the local .rpm package information from the installation page into the pattern shown below, then run the commands.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;On CentOS, Fedora, Red Hat, or RHEL:&lt;/strong&gt;&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo yum install initscripts urw-fonts wget
wget &amp;lt;rpm package url&amp;gt;
sudo rpm -Uvh &amp;lt;local rpm package&amp;gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;On OpenSUSE or SUSE:&lt;/strong&gt;&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;wget &amp;lt;rpm package url&amp;gt;
sudo rpm -i --nodeps &amp;lt;local rpm package&amp;gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;install-from-binary-targz-file&#34;&gt;Install from binary .tar.gz file&lt;/h3&gt;
&lt;p&gt;Download the latest &lt;a href=&#34;/grafana/download?platform=linux&#34;&gt;&lt;code&gt;.tar.gz&lt;/code&gt; file&lt;/a&gt; and extract it. The files are extracted into a folder named after the Grafana version that you downloaded. This folder contains all files required to run Grafana. There are no init scripts or install scripts in this package.&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;wget &amp;lt;tar.gz package url&amp;gt;
sudo tar -zxvf &amp;lt;tar.gz package&amp;gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;2-start-the-server&#34;&gt;2. Start the server&lt;/h2&gt;
&lt;p&gt;This starts the &lt;code&gt;grafana-server&lt;/code&gt; process as the &lt;code&gt;grafana&lt;/code&gt; user, which was created during the package installation. The systemd commands work in most cases, but some older Linux systems might require init.d. The installer should prompt you with the correct commands.&lt;/p&gt;
&lt;p&gt;If you installed with an &lt;code&gt;.rpm&lt;/code&gt; package, then you can start the server using &lt;code&gt;systemd&lt;/code&gt; or &lt;code&gt;init.d&lt;/code&gt;. If you installed a binary &lt;code&gt;.tar.gz&lt;/code&gt; file, then you need to execute the binary.&lt;/p&gt;
&lt;h3 id=&#34;start-the-server-with-systemd&#34;&gt;Start the server with systemd&lt;/h3&gt;
&lt;p&gt;To start the service and verify that the service has started:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo systemctl daemon-reload
sudo systemctl start grafana-server
sudo systemctl status grafana-server&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Configure the Grafana server to start at boot:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo systemctl enable grafana-server&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;SUSE or OpenSUSE users:&lt;/strong&gt; You might need to start the server with the systemd method, then use the init.d method to configure Grafana to start at boot.&lt;/p&gt;&lt;/blockquote&gt;
&lt;h4 id=&#34;serving-grafana-on-a-port--1024&#34;&gt;Serving Grafana on a port &amp;lt; 1024&lt;/h4&gt;


&lt;div data-shared=&#34;systemd/bind-net-capabilities.md&#34;&gt;
            &lt;p&gt;If you are using &lt;code&gt;systemd&lt;/code&gt; and want to start Grafana on a port that is less than 1024, then you must add a &lt;code&gt;systemd&lt;/code&gt; unit override.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The following command creates an override file in your configured editor:&lt;/li&gt;
&lt;/ol&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;# Alternatively, create a file in /etc/systemd/system/grafana-server.service.d/override.conf
systemctl edit grafana-server.service&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;1 Add these additional settings to grant the &lt;code&gt;CAP_NET_BIND_SERVICE&lt;/code&gt; capability. To read more about capabilities, see &lt;a href=&#34;https://man7.org/linux/man-pages/man7/capabilities.7.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;the manual page on capabilities.&lt;/a&gt;&lt;/p&gt;

&lt;div class=&#34;code-snippet code-snippet__mini&#34;&gt;&lt;div class=&#34;lang-toolbar__mini&#34;&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet code-snippet__border&#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-none&#34;&gt;[Service]
# Give the CAP_NET_BIND_SERVICE capability
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_BIND_SERVICE

# A private user cannot have process capabilities on the host&amp;#39;s user
# namespace and thus CAP_NET_BIND_SERVICE has no effect.
PrivateUsers=false&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;

        
&lt;h4 id=&#34;serving-grafana-behind-a-proxy&#34;&gt;Serving Grafana behind a proxy&lt;/h4&gt;
&lt;p&gt;When serving Grafana behind a proxy, you need to configure the &lt;code&gt;http_proxy&lt;/code&gt; and &lt;code&gt;https_proxy&lt;/code&gt; environment variables.&lt;/p&gt;
&lt;h5 id=&#34;centos-6&#34;&gt;Centos 6&lt;/h5&gt;
&lt;p&gt;If you are on Centos 6, add the following lines to the &lt;code&gt;/etc/sysconfig/grafana-server&lt;/code&gt; file.&lt;/p&gt;

&lt;div class=&#34;code-snippet code-snippet__mini&#34;&gt;&lt;div class=&#34;lang-toolbar__mini&#34;&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet code-snippet__border&#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-none&#34;&gt;export no_proxy=internal.domain,127.0.0.1
export http_proxy=http://proxy.domain:3128/
export https_proxy=http://proxy.domain:3128/&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h5 id=&#34;centos-7&#34;&gt;Centos 7&lt;/h5&gt;
&lt;p&gt;If you are on Centos 7, add the following lines to the &lt;code&gt;/etc/sysconfig/grafana-server&lt;/code&gt; file.&lt;/p&gt;

&lt;div class=&#34;code-snippet code-snippet__mini&#34;&gt;&lt;div class=&#34;lang-toolbar__mini&#34;&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet code-snippet__border&#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-none&#34;&gt;http_proxy=http://proxy.domain:3128/
https_proxy=http://proxy.domain:3128/
no_proxy=internal.domain,127.0.0.1&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;start-the-server-with-initd&#34;&gt;Start the server with init.d&lt;/h3&gt;
&lt;p&gt;To start the service and verify that the service has started:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo service grafana-server start
sudo service grafana-server status&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Configure the Grafana server to start at boot:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo /sbin/chkconfig --add grafana-server&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;execute-the-binary&#34;&gt;Execute the binary&lt;/h3&gt;
&lt;p&gt;The &lt;code&gt;grafana-server&lt;/code&gt; binary needs the working directory to be the root install directory where the binary and the &lt;code&gt;public&lt;/code&gt; folder are located.&lt;/p&gt;
&lt;p&gt;Start Grafana by running:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;./bin/grafana-server web&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;package-details&#34;&gt;Package details&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Installs binary to &lt;code&gt;/usr/sbin/grafana-server&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Copies init.d script to &lt;code&gt;/etc/init.d/grafana-server&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Installs default file (environment vars) to &lt;code&gt;/etc/sysconfig/grafana-server&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Copies configuration file to &lt;code&gt;/etc/grafana/grafana.ini&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Installs systemd service (if systemd is available) name &lt;code&gt;grafana-server.service&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;The default configuration uses a log file at &lt;code&gt;/var/log/grafana/grafana.log&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;The default configuration specifies an sqlite3 database at &lt;code&gt;/var/lib/grafana/grafana.db&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;next-steps&#34;&gt;Next steps&lt;/h2&gt;
&lt;p&gt;Refer to the &lt;a href=&#34;../../getting-started/getting-started/&#34;&gt;Getting Started&lt;/a&gt; guide for information about logging in, setting up data sources, and so on.&lt;/p&gt;
&lt;h2 id=&#34;configure-grafana&#34;&gt;Configure Grafana&lt;/h2&gt;
&lt;p&gt;Refer to the &lt;a href=&#34;../../administration/configuration/&#34;&gt;Configuration&lt;/a&gt; page for details on options for customizing your environment, logging, database, and so on.&lt;/p&gt;
]]></content><description>&lt;h1 id="install-on-rpm-based-linux-centos-fedora-opensuse-red-hat">Install on RPM-based Linux (CentOS, Fedora, OpenSuse, Red Hat)&lt;/h1>
&lt;p>This topic explains how to install Grafana dependencies, download and install Grafana, get the service up and running on your RPM-based Linux system, and the installation package details.&lt;/p></description></item><item><title>Install on Windows</title><link>https://grafana.com/docs/grafana/v8.4/installation/windows/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/installation/windows/</guid><content><![CDATA[&lt;h1 id=&#34;install-on-windows&#34;&gt;Install on Windows&lt;/h1&gt;
&lt;p&gt;You can either download the Windows installer package or a standalone Windows binary file.&lt;/p&gt;
&lt;p&gt;Read &lt;a href=&#34;../upgrading/&#34;&gt;Upgrading Grafana&lt;/a&gt; for tips and guidance on updating an existing
installation.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;a href=&#34;/grafana/download?platform=windows&#34;&gt;Download Grafana&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Select a Grafana version you want to install.
&lt;ul&gt;
&lt;li&gt;The most recent Grafana version is selected by default.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;Version&lt;/strong&gt; field displays only finished releases. If you want to install a beta version, click &lt;strong&gt;Nightly Builds&lt;/strong&gt; and then select a version.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Select an &lt;strong&gt;Edition&lt;/strong&gt;.
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Enterprise&lt;/strong&gt; - Recommended download. Functionally identical to the open source version, but includes features you can unlock with a license if you so choose.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Open Source&lt;/strong&gt; - Functionally identical to the enterprise version, but you will need to download the enterprise version if you want enterprise features.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Windows&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You can either use the Windows installer or you can install a standalone Windows binary.&lt;/p&gt;
&lt;h2 id=&#34;install-with-windows-installer-recommended&#34;&gt;Install with Windows installer (recommended)&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Click &lt;strong&gt;Download the installer&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Open and run the installer.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;To run Grafana, open your browser and go to the Grafana port (http://localhost:3000/ is default) and then follow the instructions in &lt;a href=&#34;../../getting-started/getting-started/&#34;&gt;Getting Started&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;install-standalone-windows-binary&#34;&gt;Install standalone Windows binary&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Download the zip file&lt;/strong&gt;.
&lt;strong&gt;Important:&lt;/strong&gt; After you&amp;rsquo;ve downloaded the zip file and before extracting it, make sure to open the properties for that file (right-click &lt;strong&gt;Properties&lt;/strong&gt;) and select the &lt;code&gt;unblock&lt;/code&gt; check box and then click &lt;code&gt;Ok&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Extract this folder to anywhere you want Grafana to run from.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Start Grafana by executing &lt;code&gt;grafana-server.exe&lt;/code&gt;, located in the &lt;code&gt;bin&lt;/code&gt; directory, preferably from the command line. If you want to run Grafana as a Windows service, then download
&lt;a href=&#34;https://nssm.cc/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;NSSM&lt;/a&gt;. It is very easy to add Grafana as a Windows service using that tool.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;To run Grafana, open your browser and go to the Grafana port (http://localhost:3000/ is default) and then follow the instructions in &lt;a href=&#34;../../getting-started/getting-started/&#34;&gt;Getting Started&lt;/a&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The default Grafana port is &lt;code&gt;3000&lt;/code&gt;. This port might require extra permissions on Windows. If it does not appear in the default port, you can try changing to a different port.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go into the &lt;code&gt;conf&lt;/code&gt; directory and copy &lt;code&gt;sample.ini&lt;/code&gt; to &lt;code&gt;custom.ini&lt;/code&gt;. &lt;strong&gt;Note:&lt;/strong&gt; You should edit &lt;code&gt;custom.ini&lt;/code&gt;, never &lt;code&gt;defaults.ini&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Edit &lt;code&gt;custom.ini&lt;/code&gt; and uncomment the &lt;code&gt;http_port&lt;/code&gt; configuration option (&lt;code&gt;;&lt;/code&gt; is the comment character in ini files) and change it to something like &lt;code&gt;8080&lt;/code&gt; or similar. That port should not require extra Windows privileges.
Read more about the &lt;a href=&#34;../../administration/configuration/&#34;&gt;configuration options&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;&lt;/blockquote&gt;
]]></content><description>&lt;h1 id="install-on-windows">Install on Windows&lt;/h1>
&lt;p>You can either download the Windows installer package or a standalone Windows binary file.&lt;/p>
&lt;p>Read &lt;a href="../upgrading/">Upgrading Grafana&lt;/a> for tips and guidance on updating an existing
installation.&lt;/p></description></item><item><title>Install on macOS</title><link>https://grafana.com/docs/grafana/v8.4/installation/mac/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/installation/mac/</guid><content><![CDATA[&lt;h1 id=&#34;install-on-macos&#34;&gt;Install on macOS&lt;/h1&gt;
&lt;p&gt;This page explains how to install Grafana and get the service running on your macOS.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note on upgrading:&lt;/strong&gt; While the process for upgrading Grafana is very similar to installing Grafana, there are some key backup steps you should perform. Before you perform an upgrade, read &lt;a href=&#34;../upgrading/&#34;&gt;Upgrading Grafana&lt;/a&gt; for tips and guidance on updating an existing installation.&lt;/p&gt;
&lt;h2 id=&#34;install-with-homebrew&#34;&gt;Install with Homebrew&lt;/h2&gt;
&lt;p&gt;Use &lt;a href=&#34;http://brew.sh/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Homebrew&lt;/a&gt; to install the most recent released version of Grafana using Homebrew package.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;On the Homebrew homepage, search for Grafana. The last stable and released version is listed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Open a terminal and enter:&lt;/p&gt;

&lt;div class=&#34;code-snippet code-snippet__mini&#34;&gt;&lt;div class=&#34;lang-toolbar__mini&#34;&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet code-snippet__border&#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-none&#34;&gt;brew update
brew install grafana&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The brew page downloads and untars the files into:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;/usr/local/Cellar/grafana/[version]&lt;/code&gt; (Homebrew v2)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;/opt/homebrew/Cellar/grafana/[version]&lt;/code&gt; (Homebrew v3)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Start Grafana using the command:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;brew services start grafana&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;install-standalone-macos-binaries&#34;&gt;Install standalone macOS binaries&lt;/h2&gt;
&lt;p&gt;To install a nightly build, or to install the latest version of Grafana without Homebrew, go to the &lt;a href=&#34;/grafana/download/7.3.0-381ff45epre?platform=mac&#34;&gt;Grafana download page&lt;/a&gt;.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the Grafana version you want to install. By default, the most recent released version is selected.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The downloads page lists only finished releases. If you want to install a beta version, click [Nightly ] &lt;strong&gt;Nightly Builds&lt;/strong&gt; and then select a version.&lt;/p&gt;&lt;/blockquote&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select an &lt;strong&gt;Edition&lt;/strong&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Open Source&lt;/strong&gt; - Functionally identical to the enterprise version, but you will need to download the enterprise version if you want enterprise features.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Enterprise&lt;/strong&gt; - Recommended download. Functionally identical to the open source version, but includes features you can unlock with a license if you so choose.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Mac&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Open a terminal and download the binary using the cURL command. The following example shows Grafana 7.1.5 version:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;curl -O https://dl.grafana.com/oss/release/grafana-7.1.5.darwin-amd64.tar.gz&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Untar the gz file and copy the files to the location of your preference.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;To start Grafana service, go to the directory and run the command:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;./bin/grafana-server web&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;next-steps&#34;&gt;Next steps&lt;/h2&gt;
&lt;p&gt;Refer to the &lt;a href=&#34;../../getting-started/getting-started/&#34;&gt;Getting Started&lt;/a&gt; guide for information about logging in, setting up data sources, and so on. Also, refer to the &lt;a href=&#34;../../administration/configuration/&#34;&gt;Configuration&lt;/a&gt; page for details on options for customizing your environment, logging, database, and so on.&lt;/p&gt;
&lt;h2 id=&#34;upgrade&#34;&gt;Upgrade&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Using Homebrew&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;To upgrade Grafana, use the reinstall command:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;brew update
brew reinstall grafana&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="install-on-macos">Install on macOS&lt;/h1>
&lt;p>This page explains how to install Grafana and get the service running on your macOS.&lt;/p>
&lt;p>&lt;strong>Note on upgrading:&lt;/strong> While the process for upgrading Grafana is very similar to installing Grafana, there are some key backup steps you should perform. Before you perform an upgrade, read &lt;a href="../upgrading/">Upgrading Grafana&lt;/a> for tips and guidance on updating an existing installation.&lt;/p></description></item><item><title>Run Grafana Docker image</title><link>https://grafana.com/docs/grafana/v8.4/installation/docker/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/installation/docker/</guid><content><![CDATA[&lt;h1 id=&#34;run-grafana-docker-image&#34;&gt;Run Grafana Docker image&lt;/h1&gt;
&lt;p&gt;You can install and run Grafana using the official Docker images. Our docker images come in two editions:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Grafana Enterprise&lt;/strong&gt;: &lt;code&gt;grafana/grafana-enterprise&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Grafana Open Source&lt;/strong&gt;: &lt;code&gt;grafana/grafana-oss&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Each edition is available in two variants: Alpine and Ubuntu. See below.&lt;/p&gt;
&lt;p&gt;For documentation regarding the configuration of a docker image, refer to &lt;a href=&#34;/docs/grafana/latest/administration/configure-docker/&#34;&gt;configure a Grafana Docker image&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This topic also contains important information about &lt;a href=&#34;#migrate-from-previous-docker-containers-versions&#34;&gt;migrating from earlier Docker image versions&lt;/a&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; You can use &lt;a href=&#34;/products/cloud/features/#cloud-logs&#34;&gt;Grafana Cloud&lt;/a&gt; to avoid the overhead of installing, maintaining, and scaling your observability stack. The free forever plan includes Grafana, 10K Prometheus series, 50 GB logs, and more.&lt;a href=&#34;/auth/sign-up/create-user?pg=docs-grafana-install&amp;amp;plcmt=in-text&#34;&gt;Create a free account to get started&lt;/a&gt;.&lt;/p&gt;&lt;/blockquote&gt;
&lt;h2 id=&#34;alpine-image-recommended&#34;&gt;Alpine image (recommended)&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Grafana Enterprise edition&lt;/strong&gt;: &lt;code&gt;grafana/grafana-enterprise:&amp;lt;version&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Grafana Open Source edition&lt;/strong&gt;: &lt;code&gt;grafana/grafana-oss:&amp;lt;version&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The default images are based on the popular &lt;a href=&#34;http://alpinelinux.org&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Alpine Linux project&lt;/a&gt;, available in &lt;a href=&#34;https://hub.docker.com/_/alpine&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;the Alpine official image&lt;/a&gt;. Alpine Linux is much smaller than most distribution base images, and thus leads to slimmer and more secure images.&lt;/p&gt;
&lt;p&gt;The Alpine variant is highly recommended when security and final image size being as small as possible is desired. The main caveat to note is that it uses &lt;a href=&#34;http://www.musl-libc.org&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;musl libc&lt;/a&gt; instead of &lt;a href=&#34;http://www.etalabs.net/compare_libcs.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;glibc and friends&lt;/a&gt;, so certain software might run into issues depending on the depth of their libc requirements. However, most software don&amp;rsquo;t have an issue with this, so this variant is usually a very safe choice.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Grafana docker images were based on &lt;a href=&#34;https://ubuntu.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Ubuntu&lt;/a&gt; prior to version 6.4.0.&lt;/p&gt;&lt;/blockquote&gt;
&lt;h2 id=&#34;ubuntu-image&#34;&gt;Ubuntu image&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Grafana Enterprise edition&lt;/strong&gt;: &lt;code&gt;grafana/grafana-enterprise:&amp;lt;version&amp;gt;-ubuntu&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Grafana Open Source edition&lt;/strong&gt;: &lt;code&gt;grafana/grafana-oss:&amp;lt;version&amp;gt;-ubuntu&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;These images are based on &lt;a href=&#34;https://ubuntu.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Ubuntu&lt;/a&gt;, available in &lt;a href=&#34;https://hub.docker.com/_/ubuntu&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;the Ubuntu official image&lt;/a&gt;. It is an alternative image for those who prefer an &lt;a href=&#34;https://ubuntu.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Ubuntu&lt;/a&gt; based image and/or are dependent on certain tooling not available for Alpine.&lt;/p&gt;
&lt;h2 id=&#34;run-grafana&#34;&gt;Run Grafana&lt;/h2&gt;
&lt;p&gt;You can run the latest Grafana version, run a specific version, or run an unstable version based on the main branch of the &lt;a href=&#34;https://github.com/grafana/grafana&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;grafana/grafana GitHub repository&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;run-the-latest-stable-version-of-grafana&#34;&gt;Run the latest stable version of Grafana&lt;/h3&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; If you are on a Linux system, you might need to add &lt;code&gt;sudo&lt;/code&gt; before the command or add your user to the &lt;code&gt;docker&lt;/code&gt; group.&lt;/p&gt;&lt;/blockquote&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;docker run -d -p 3000:3000 grafana/grafana-enterprise&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;run-a-specific-version-of-grafana&#34;&gt;Run a specific version of Grafana&lt;/h3&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; If you are on a Linux system, you might need to add &lt;code&gt;sudo&lt;/code&gt; before the command or add your user to the &lt;code&gt;docker&lt;/code&gt; group.&lt;/p&gt;&lt;/blockquote&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;docker run -d -p 3000:3000 --name grafana grafana/grafana-enterprise:&amp;lt;version number&amp;gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;docker run -d -p 3000:3000 --name grafana grafana/grafana-enterprise:8.2.0&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;run-the-grafana-main-branch&#34;&gt;Run the Grafana main branch&lt;/h3&gt;
&lt;p&gt;For every successful build of the main branch, we update the &lt;code&gt;grafana/grafana-oss:main&lt;/code&gt; and &lt;code&gt;grafana/grafana-oss:main-ubuntu&lt;/code&gt; tags. Additionally, two new tags are created, &lt;code&gt;grafana/grafana-oss-dev:&amp;lt;version&amp;gt;-&amp;lt;build ID&amp;gt;pre&lt;/code&gt; and &lt;code&gt;grafana/grafana-oss-dev:&amp;lt;version&amp;gt;-&amp;lt;build ID&amp;gt;pre-ubuntu&lt;/code&gt;, where &lt;em&gt;version&lt;/em&gt; is the next version of Grafana and &lt;em&gt;build ID&lt;/em&gt; is the ID of the corresponding CI build. Use these to get access to the latest main builds of Grafana.&lt;/p&gt;
&lt;p&gt;When running Grafana main in production, we &lt;em&gt;strongly&lt;/em&gt; recommend that you use the &lt;code&gt;grafana/grafana-oss-dev:&amp;lt;version&amp;gt;-&amp;lt;build ID&amp;gt;pre&lt;/code&gt; tag. This tag guarantees that you use a specific version of Grafana instead of whatever was the most recent commit at the time.&lt;/p&gt;
&lt;p&gt;For a list of available tags, check out &lt;a href=&#34;https://hub.docker.com/r/grafana/grafana-oss/tags/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;grafana/grafana-oss&lt;/a&gt; and &lt;a href=&#34;https://hub.docker.com/r/grafana/grafana-oss-dev/tags/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;grafana/grafana-oss-dev&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;install-plugins-in-the-docker-container&#34;&gt;Install plugins in the Docker container&lt;/h2&gt;
&lt;p&gt;You can install official and community plugins listed on the Grafana &lt;a href=&#34;/grafana/plugins&#34;&gt;plugins page&lt;/a&gt; or from a custom URL.&lt;/p&gt;
&lt;h3 id=&#34;install-official-and-community-grafana-plugins&#34;&gt;Install official and community Grafana plugins&lt;/h3&gt;
&lt;p&gt;Pass the plugins you want installed to Docker with the &lt;code&gt;GF_INSTALL_PLUGINS&lt;/code&gt; environment variable as a comma-separated list. This sends each plugin name to &lt;code&gt;grafana-cli plugins install ${plugin}&lt;/code&gt; and installs them when Grafana starts.&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;docker run -d \
  -p 3000:3000 \
  --name=grafana \
  -e &amp;#34;GF_INSTALL_PLUGINS=grafana-clock-panel,grafana-simple-json-datasource&amp;#34; \
  grafana/grafana-enterprise&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; If you need to specify the version of a plugin, then you can add it to the &lt;code&gt;GF_INSTALL_PLUGINS&lt;/code&gt; environment variable. Otherwise, the latest is used. For example: &lt;code&gt;-e &amp;quot;GF_INSTALL_PLUGINS=grafana-clock-panel 1.0.1,grafana-simple-json-datasource 1.3.5&amp;quot;&lt;/code&gt;.&lt;/p&gt;&lt;/blockquote&gt;
&lt;h3 id=&#34;install-plugins-from-other-sources&#34;&gt;Install plugins from other sources&lt;/h3&gt;
&lt;blockquote&gt;
&lt;p&gt;Only available in Grafana v5.3.1 and later.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;You can install a plugin from a custom URL by specifying the URL like this: &lt;code&gt;GF_INSTALL_PLUGINS=&amp;lt;url to plugin zip&amp;gt;;&amp;lt;plugin install folder name&amp;gt;&lt;/code&gt;.&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;docker run -d \
  -p 3000:3000 \
  --name=grafana \
  -e &amp;#34;GF_INSTALL_PLUGINS=http://plugin-domain.com/my-custom-plugin.zip;custom-plugin,grafana-clock-panel&amp;#34; \
  grafana/grafana-enterprise&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;build-and-run-a-docker-image-with-pre-installed-plugins&#34;&gt;Build and run a Docker image with pre-installed plugins&lt;/h2&gt;
&lt;p&gt;You can build your own customized image that includes plugins. This saves time if you are creating multiple images and you want them all to have the same plugins installed on build.&lt;/p&gt;
&lt;p&gt;In the &lt;a href=&#34;https://github.com/grafana/grafana&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Grafana GitHub repository&lt;/a&gt; there is a folder called &lt;code&gt;packaging/docker/custom/&lt;/code&gt;, which includes two Dockerfiles, &lt;code&gt;Dockerfile&lt;/code&gt; and &lt;code&gt;ubuntu.Dockerfile&lt;/code&gt;, that can be used to build a custom Grafana image. It accepts &lt;code&gt;GRAFANA_VERSION&lt;/code&gt;, &lt;code&gt;GF_INSTALL_PLUGINS&lt;/code&gt;, and &lt;code&gt;GF_INSTALL_IMAGE_RENDERER_PLUGIN&lt;/code&gt; as build arguments.&lt;/p&gt;
&lt;h3 id=&#34;build-with-pre-installed-plugins&#34;&gt;Build with pre-installed plugins&lt;/h3&gt;
&lt;blockquote&gt;
&lt;p&gt;If you need to specify the version of a plugin, you can add it to the &lt;code&gt;GF_INSTALL_PLUGINS&lt;/code&gt; build argument. Otherwise, the latest will be assumed. For example: &lt;code&gt;--build-arg &amp;quot;GF_INSTALL_PLUGINS=grafana-clock-panel 1.0.1,grafana-simple-json-datasource 1.3.5&amp;quot;&lt;/code&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Example of how to build and run:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;cd packaging/docker/custom
docker build \
  --build-arg &amp;#34;GRAFANA_VERSION=latest&amp;#34; \
  --build-arg &amp;#34;GF_INSTALL_PLUGINS=grafana-clock-panel,grafana-simple-json-datasource&amp;#34; \
  -t grafana-custom -f Dockerfile .

docker run -d -p 3000:3000 --name=grafana grafana-custom&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;build-with-pre-installed-plugins-from-other-sources&#34;&gt;Build with pre-installed plugins from other sources&lt;/h3&gt;
&lt;p&gt;You can build a Docker image with plugins from other sources by specifying the URL like this: &lt;code&gt;GF_INSTALL_PLUGINS=&amp;lt;url to plugin zip&amp;gt;;&amp;lt;plugin install folder name&amp;gt;&lt;/code&gt;.&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;cd packaging/docker/custom
docker build \
  --build-arg &amp;#34;GRAFANA_VERSION=latest&amp;#34; \
  --build-arg &amp;#34;GF_INSTALL_PLUGINS=http://plugin-domain.com/my-custom-plugin.zip;custom-plugin,grafana-clock-panel&amp;#34; \
  -t grafana-custom -f Dockerfile .

docker run -d -p 3000:3000 --name=grafana grafana-custom&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Replace &lt;code&gt;Dockerfile&lt;/code&gt; in above example with &lt;code&gt;ubuntu.Dockerfile&lt;/code&gt; to build a custom Ubuntu based image (Grafana v6.5&#43;).&lt;/p&gt;
&lt;h3 id=&#34;build-with-grafana-image-renderer-plugin-pre-installed&#34;&gt;Build with Grafana Image Renderer plugin pre-installed&lt;/h3&gt;
&lt;blockquote&gt;
&lt;p&gt;Only available in Grafana v6.5 and later. This is experimental.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;The &lt;a href=&#34;../../image-rendering/#grafana-image-renderer-plugin&#34;&gt;Grafana Image Renderer plugin&lt;/a&gt; does not currently work if it is installed in a Grafana Docker image. You can build a custom Docker image by using the &lt;code&gt;GF_INSTALL_IMAGE_RENDERER_PLUGIN&lt;/code&gt; build argument. This installs additional dependencies needed for the Grafana Image Renderer plugin to run.&lt;/p&gt;
&lt;p&gt;Example of how to build and run:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;cd packaging/docker/custom
docker build \
  --build-arg &amp;#34;GRAFANA_VERSION=latest&amp;#34; \
  --build-arg &amp;#34;GF_INSTALL_IMAGE_RENDERER_PLUGIN=true&amp;#34; \
  -t grafana-custom -f Dockerfile .

docker run -d -p 3000:3000 --name=grafana grafana-custom&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Replace &lt;code&gt;Dockerfile&lt;/code&gt; in above example with &lt;code&gt;ubuntu.Dockerfile&lt;/code&gt; to build a custom Ubuntu-based image (Grafana v6.5&#43;).&lt;/p&gt;
&lt;h2 id=&#34;migrate-from-previous-docker-containers-versions&#34;&gt;Migrate from previous Docker containers versions&lt;/h2&gt;
&lt;p&gt;This section contains important information if you want to migrate from previous Grafana container versions to a more current one.&lt;/p&gt;
&lt;h3 id=&#34;migrate-to-v73-or-later&#34;&gt;Migrate to v7.3 or later&lt;/h3&gt;
&lt;p&gt;The Grafana Docker image runs with the &lt;code&gt;root&lt;/code&gt; group (id 0) instead of the &lt;code&gt;grafana&lt;/code&gt; group (id 472), for better compatibility with OpenShift. If you extend the official Docker image you may need to change your scripts to use the &lt;code&gt;root&lt;/code&gt; group instead of &lt;code&gt;grafana&lt;/code&gt;.&lt;/p&gt;
&lt;h3 id=&#34;migrate-to-v65-or-later&#34;&gt;Migrate to v6.5 or later&lt;/h3&gt;
&lt;p&gt;Grafana Docker image now comes in two variants, one &lt;a href=&#34;http://alpinelinux.org&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Alpine&lt;/a&gt; based and one &lt;a href=&#34;https://ubuntu.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Ubuntu&lt;/a&gt; based, see &lt;a href=&#34;#image-variants&#34;&gt;Image Variants&lt;/a&gt; for details.&lt;/p&gt;
&lt;h3 id=&#34;migrate-to-v64-or-later&#34;&gt;Migrate to v6.4 or later&lt;/h3&gt;
&lt;p&gt;Grafana Docker image was changed to be based on &lt;a href=&#34;http://alpinelinux.org&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Alpine&lt;/a&gt; instead of &lt;a href=&#34;https://ubuntu.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Ubuntu&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;migrate-to-v51-or-later&#34;&gt;Migrate to v5.1 or later&lt;/h3&gt;
&lt;p&gt;The Docker container for Grafana has seen a major rewrite for 5.1.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Important changes&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;File ownership is no longer modified during startup with &lt;code&gt;chown&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Default user ID is now &lt;code&gt;472&lt;/code&gt; instead of &lt;code&gt;104&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Removed the following implicit volumes:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;/var/lib/grafana&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;/etc/grafana&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;/var/log/grafana&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;removal-of-implicit-volumes&#34;&gt;Removal of implicit volumes&lt;/h4&gt;
&lt;p&gt;Previously &lt;code&gt;/var/lib/grafana&lt;/code&gt;, &lt;code&gt;/etc/grafana&lt;/code&gt; and &lt;code&gt;/var/log/grafana&lt;/code&gt; were defined as volumes in the &lt;code&gt;Dockerfile&lt;/code&gt;. This led to the creation of three volumes each time a new instance of the Grafana container started, whether you wanted it or not.&lt;/p&gt;
&lt;p&gt;You should always be careful to define your own named volume for storage, but if you depended on these volumes, then you should be aware that an upgraded container will no longer have them.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Warning&lt;/strong&gt;: When migrating from an earlier version to 5.1 or later using Docker compose and implicit volumes, you need to use &lt;code&gt;docker inspect&lt;/code&gt; to find out which volumes your container is mapped to so that you can map them to the upgraded container as well. You will also have to change file ownership (or user) as documented below.&lt;/p&gt;
&lt;h4 id=&#34;user-id-changes&#34;&gt;User ID changes&lt;/h4&gt;
&lt;p&gt;In Grafana v5.1, we changed the ID and group of the Grafana user and in v7.3 we changed the group. Unfortunately this means that files created prior to v5.1 won&amp;rsquo;t have the correct permissions for later versions. We made this change so that it would be more likely that the Grafana users ID would be unique to Grafana. For example, on Ubuntu 16.04 &lt;code&gt;104&lt;/code&gt; is already in use by the syslog user.&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Version&lt;/th&gt;
              &lt;th&gt;User&lt;/th&gt;
              &lt;th&gt;User ID&lt;/th&gt;
              &lt;th&gt;Group&lt;/th&gt;
              &lt;th&gt;Group ID&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&amp;lt; 5.1&lt;/td&gt;
              &lt;td&gt;grafana&lt;/td&gt;
              &lt;td&gt;104&lt;/td&gt;
              &lt;td&gt;grafana&lt;/td&gt;
              &lt;td&gt;107&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&amp;gt;= 5.1&lt;/td&gt;
              &lt;td&gt;grafana&lt;/td&gt;
              &lt;td&gt;472&lt;/td&gt;
              &lt;td&gt;grafana&lt;/td&gt;
              &lt;td&gt;472&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&amp;gt;= 7.3&lt;/td&gt;
              &lt;td&gt;grafana&lt;/td&gt;
              &lt;td&gt;472&lt;/td&gt;
              &lt;td&gt;root&lt;/td&gt;
              &lt;td&gt;0&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;There are two possible solutions to this problem. Either you start the new container as the root user and change ownership from &lt;code&gt;104&lt;/code&gt; to &lt;code&gt;472&lt;/code&gt;, or you start the upgraded container as user &lt;code&gt;104&lt;/code&gt;.&lt;/p&gt;
&lt;h5 id=&#34;run-docker-as-a-different-user&#34;&gt;Run Docker as a different user&lt;/h5&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;docker run --user 104 --volume &amp;#34;&amp;lt;your volume mapping here&amp;gt;&amp;#34; grafana/grafana-enterprise:8.2.0&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h5 id=&#34;specify-a-user-in-docker-composeyml&#34;&gt;Specify a user in docker-compose.yml&lt;/h5&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;YAML&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-yaml&#34;&gt;version: &amp;#39;2&amp;#39;

services:
  grafana:
    image: grafana/grafana-enterprise:8.2.0
    ports:
      - 3000:3000
    user: &amp;#39;104&amp;#39;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&#34;modify-permissions&#34;&gt;Modify permissions&lt;/h4&gt;
&lt;p&gt;The commands below run bash inside the Grafana container with your volume mapped in. This makes it possible to modify the file ownership to match the new container. Always be careful when modifying permissions.&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;$ docker run -ti --user root --volume &amp;#34;&amp;lt;your volume mapping here&amp;gt;&amp;#34; --entrypoint bash grafana/grafana-enterprise:8.2.0

# in the container you just started:
chown -R root:root /etc/grafana &amp;amp;&amp;amp; \
chmod -R a&amp;#43;r /etc/grafana &amp;amp;&amp;amp; \
chown -R grafana:grafana /var/lib/grafana &amp;amp;&amp;amp; \
chown -R grafana:grafana /usr/share/grafana&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;next-steps&#34;&gt;Next steps&lt;/h2&gt;
&lt;p&gt;Refer to the &lt;a href=&#34;../../getting-started/getting-started/&#34;&gt;Getting Started&lt;/a&gt; guide for information about logging in, setting up data sources, and so on.&lt;/p&gt;
&lt;h2 id=&#34;configure-docker-image&#34;&gt;Configure Docker image&lt;/h2&gt;
&lt;p&gt;Refer to &lt;a href=&#34;../../administration/configure-docker/&#34;&gt;Configure a Grafana Docker image&lt;/a&gt; page for details on options for customizing your environment, logging, database, and so on.&lt;/p&gt;
&lt;h2 id=&#34;configure-grafana&#34;&gt;Configure Grafana&lt;/h2&gt;
&lt;p&gt;Refer to the &lt;a href=&#34;../../administration/configuration/&#34;&gt;Configuration&lt;/a&gt; page for details on options for customizing your environment, logging, database, and so on.&lt;/p&gt;
]]></content><description>&lt;h1 id="run-grafana-docker-image">Run Grafana Docker image&lt;/h1>
&lt;p>You can install and run Grafana using the official Docker images. Our docker images come in two editions:&lt;/p>
&lt;p>&lt;strong>Grafana Enterprise&lt;/strong>: &lt;code>grafana/grafana-enterprise&lt;/code>&lt;/p></description></item><item><title>Deploy Grafana on Kubernetes</title><link>https://grafana.com/docs/grafana/v8.4/installation/kubernetes/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/installation/kubernetes/</guid><content><![CDATA[&lt;h2 id=&#34;deploy-grafana-on-kubernetes&#34;&gt;Deploy Grafana on Kubernetes&lt;/h2&gt;
&lt;p&gt;This page explains how to install and run Grafana on Kubernetes (K8S). It uses Kubernetes manifests for the setup. If you prefer Helm, refer to the &lt;a href=&#34;https://github.com/grafana/helm-charts&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Grafana Helm community charts&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you are interested in Grafana Enterprise (not Grafana OS), jump to &lt;a href=&#34;#deploy-grafana-enterprise-on-kubernetes&#34;&gt;Deploy Grafana Enterprise on Kubernetes&lt;/a&gt; section.&lt;/p&gt;
&lt;h3 id=&#34;create-grafana-kubernetes-manifest&#34;&gt;Create Grafana Kubernetes manifest&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Create a file called &lt;code&gt;grafana.yaml&lt;/code&gt;, then paste the contents below.&lt;/li&gt;
&lt;/ol&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;YAML&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-yaml&#34;&gt;---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: grafana-pvc
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 1Gi
---
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: grafana
  name: grafana
spec:
  selector:
    matchLabels:
      app: grafana
  template:
    metadata:
      labels:
        app: grafana
    spec:
      securityContext:
        fsGroup: 472
        supplementalGroups:
          - 0
      containers:
        - name: grafana
          image: grafana/grafana:8.4.4
          imagePullPolicy: IfNotPresent
          ports:
            - containerPort: 3000
              name: http-grafana
              protocol: TCP
          readinessProbe:
            failureThreshold: 3
            httpGet:
              path: /robots.txt
              port: 3000
              scheme: HTTP
            initialDelaySeconds: 10
            periodSeconds: 30
            successThreshold: 1
            timeoutSeconds: 2
          livenessProbe:
            failureThreshold: 3
            initialDelaySeconds: 30
            periodSeconds: 10
            successThreshold: 1
            tcpSocket:
              port: 3000
            timeoutSeconds: 1
          resources:
            requests:
              cpu: 250m
              memory: 750Mi
          volumeMounts:
            - mountPath: /var/lib/grafana
              name: grafana-pv
      volumes:
        - name: grafana-pv
          persistentVolumeClaim:
            claimName: grafana-pvc
---
apiVersion: v1
kind: Service
metadata:
  name: grafana
spec:
  ports:
    - port: 3000
      protocol: TCP
      targetPort: http-grafana
  selector:
    app: grafana
  sessionAffinity: None
  type: LoadBalancer&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;send-manifest-to-kubernetes-api-server&#34;&gt;Send manifest to Kubernetes API server&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Run the following command:
&lt;code&gt;kubectl apply -f grafana.yaml&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Check that it worked by running the following:
&lt;code&gt;kubectl port-forward service/grafana 3000:3000&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Navigate to &lt;code&gt;localhost:3000&lt;/code&gt; in your browser. You should see a Grafana login page.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Use &lt;code&gt;admin&lt;/code&gt; for both the username and password to login.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;deploy-grafana-enterprise-on-kubernetes&#34;&gt;Deploy Grafana Enterprise on Kubernetes&lt;/h2&gt;
&lt;p&gt;The process for deploying Grafana Enterprise is almost identical to the process above, except for some extra steps required to add in your license file. They are described in the following sections.&lt;/p&gt;
&lt;h3 id=&#34;obtain-grafana-enterprise-license&#34;&gt;Obtain Grafana Enterprise license&lt;/h3&gt;
&lt;p&gt;To run Grafana Enterprise, you need a valid license. &lt;a href=&#34;/contact?about=grafana-enterprise&#34;&gt;Contact a Grafana Labs representative&lt;/a&gt; to obtain the license. This topic assumes that you already have done this and have a &lt;code&gt;license.jwt&lt;/code&gt; file. Your license should also be associated with a URL, which we will use later in the topic.&lt;/p&gt;
&lt;h3 id=&#34;create-license-secret&#34;&gt;Create License Secret&lt;/h3&gt;
&lt;p&gt;Create a Kubernetes secret from your license file using the following command:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;kubectl create secret generic ge-license --from-file=/path/to/your/license.jwt&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;create-grafana-enterprise-configuration&#34;&gt;Create Grafana Enterprise configuration&lt;/h3&gt;
&lt;p&gt;Create a Grafana configuration file with the name &lt;code&gt;grafana.ini&lt;/code&gt;. Then paste the content below.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; You will have to update the &lt;code&gt;root_url&lt;/code&gt; field to the url associated with the license you were given.&lt;/p&gt;&lt;/blockquote&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;YAML&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-yaml&#34;&gt;[enterprise]
license_path = /etc/grafana/license/license.jwt
[server]
root_url =/your/license/root/url&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;create-configmap-for-grafana-enterprise-config&#34;&gt;Create Configmap for Grafana Enterprise Config&lt;/h3&gt;
&lt;p&gt;Create a Kubernetes Configmap from your &lt;code&gt;grafana.ini&lt;/code&gt; file with the following command:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;kubectl create configmap ge-config --from-file=/path/to/your/config.ini&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;create-grafana-enterprise-kubernetes-manifest&#34;&gt;Create Grafana Enterprise Kubernetes manifest&lt;/h3&gt;
&lt;p&gt;Create a &lt;code&gt;grafana.yaml&lt;/code&gt; file, then paste the content below. This YAML is identical to the one for Grafana OS install except for the additional references to the Configmap which has your Grafana configuration file and the Secret that has your license.&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;YAML&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-yaml&#34;&gt;---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: grafana
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 1Gi
  storageClassName: local-path
---
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: grafana
  name: grafana
spec:
  selector:
    matchLabels:
      app: grafana
  template:
    metadata:
      labels:
        app: grafana
    spec:
      containers:
        - image: grafana/grafana-enterprise:latest
          imagePullPolicy: IfNotPresent
          name: grafana
          ports:
            - containerPort: 3000
              name: http-grafana
              protocol: TCP
          readinessProbe:
            failureThreshold: 3
            httpGet:
              path: /robots.txt
              port: 3000
              scheme: HTTP
            initialDelaySeconds: 10
            periodSeconds: 30
            successThreshold: 1
            timeoutSeconds: 2
          resources:
            limits:
              memory: 4Gi
            requests:
              cpu: 100m
              memory: 2Gi
          volumeMounts:
            - mountPath: /var/lib/grafana
              name: grafana
            - mountPath: /etc/grafana
              name: ge-config
            - mountPath: /etc/grafana/license
              name: ge-license
      volumes:
        - name: grafana
          persistentVolumeClaim:
            claimName: grafana
        - name: ge-config
          configMap:
            name: ge-config
        - name: ge-license
          secret:
            secretName: ge-license
---
apiVersion: v1
kind: Service
metadata:
  name: grafana
spec:
  ports:
    - port: 3000
      protocol: TCP
      targetPort: http-grafana
  selector:
    app: grafana
  sessionAffinity: None
  type: LoadBalancer&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Send manifest to Kubernetes API Server
&lt;code&gt;kubectl apply -f grafana.yaml&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Check that it worked by running the following:
&lt;code&gt;kubectl port-forward service/grafana 3000:3000&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Navigate to &lt;code&gt;localhost:3000&lt;/code&gt; in your browser. You should see the Grafana login page.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Use &lt;code&gt;admin&lt;/code&gt; for both the username and password to login.
If it worked, you should see &lt;code&gt;Enterprise (Licensed)&lt;/code&gt; at the bottom of the page.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
]]></content><description>&lt;h2 id="deploy-grafana-on-kubernetes">Deploy Grafana on Kubernetes&lt;/h2>
&lt;p>This page explains how to install and run Grafana on Kubernetes (K8S). It uses Kubernetes manifests for the setup. If you prefer Helm, refer to the &lt;a href="https://github.com/grafana/helm-charts" target="_blank" rel="noopener noreferrer">Grafana Helm community charts&lt;/a>.&lt;/p></description></item><item><title>Upgrade Grafana</title><link>https://grafana.com/docs/grafana/v8.4/installation/upgrading/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/installation/upgrading/</guid><content><![CDATA[&lt;h1 id=&#34;upgrade-grafana&#34;&gt;Upgrade Grafana&lt;/h1&gt;
&lt;p&gt;We recommend that you upgrade Grafana often to stay up to date with the latest fixes and enhancements.
In order to make this a reality, Grafana upgrades are backward compatible and the upgrade process is simple and quick.&lt;/p&gt;
&lt;p&gt;Upgrading is generally safe (between many minor and one major version) and dashboards and graphs will look the same. There may be minor breaking changes in some edge cases, which are outlined in the &lt;a href=&#34;https://community.grafana.com/c/releases&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Release Notes&lt;/a&gt; and &lt;a href=&#34;https://github.com/grafana/grafana/blob/main/CHANGELOG.md&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Changelog&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;backup&#34;&gt;Backup&lt;/h2&gt;
&lt;p&gt;We recommend that you backup a few things in case you have to rollback the upgrade.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Installed plugins - Back them up before you upgrade them in case you want to rollback the Grafana version and want to get the exact same versions you were running before the upgrade.&lt;/li&gt;
&lt;li&gt;Configuration files do not need to be backed up. However, you might want to in case you add new configuration options after upgrade and then rollback.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;database-backup&#34;&gt;Database backup&lt;/h3&gt;
&lt;p&gt;Before upgrading it can be a good idea to backup your Grafana database. This will ensure that you can always rollback to your previous version. During startup, Grafana will automatically migrate the database schema (if there are changes or new tables). Sometimes this can cause issues if you later want to downgrade.&lt;/p&gt;
&lt;h4 id=&#34;sqlite&#34;&gt;sqlite&lt;/h4&gt;
&lt;p&gt;If you use sqlite you only need to make a backup of your &lt;code&gt;grafana.db&lt;/code&gt; file. This is usually located at &lt;code&gt;/var/lib/grafana/grafana.db&lt;/code&gt; on Unix systems.
If you are unsure what database you use and where it is stored check you grafana configuration file. If you
installed grafana to custom location using a binary tar/zip it is usually in &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/data&lt;/code&gt;.&lt;/p&gt;
&lt;h4 id=&#34;mysql&#34;&gt;mysql&lt;/h4&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;backup:
&amp;gt; mysqldump -u root -p[root_password] [grafana] &amp;gt; grafana_backup.sql

restore:
&amp;gt; mysql -u root -p grafana &amp;lt; grafana_backup.sql&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&#34;postgres&#34;&gt;postgres&lt;/h4&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;backup:
&amp;gt; pg_dump grafana &amp;gt; grafana_backup

restore:
&amp;gt; psql grafana &amp;lt; grafana_backup&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;ubuntu-or-debian&#34;&gt;Ubuntu or Debian&lt;/h3&gt;
&lt;p&gt;You can upgrade Grafana by following the same procedure as when you installed it.&lt;/p&gt;
&lt;h4 id=&#34;upgrade-debian-package&#34;&gt;Upgrade Debian package&lt;/h4&gt;
&lt;p&gt;If you installed Grafana by downloading a Debian package (&lt;code&gt;.deb&lt;/code&gt;), then you can execute the same &lt;code&gt;dpkg -i&lt;/code&gt; command but with the new package. It will upgrade your Grafana installation.&lt;/p&gt;
&lt;p&gt;Go to the &lt;a href=&#34;/grafana/download?platform=linux&#34;&gt;download page&lt;/a&gt; for the latest download
links.&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;wget &amp;lt;debian package url&amp;gt;
sudo apt-get install -y adduser
sudo dpkg -i grafana_&amp;lt;version&amp;gt;_amd64.deb&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&#34;upgrade-from-apt-repository&#34;&gt;Upgrade from APT repository&lt;/h4&gt;
&lt;p&gt;If you installed Grafana from our APT repository, then Grafana will automatically update when you run apt-get upgrade to upgrade all system packages.&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo apt-get update
sudo apt-get upgrade&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&#34;upgrade-from-binary-tar-file&#34;&gt;Upgrade from binary .tar file&lt;/h4&gt;
&lt;p&gt;If you downloaded the binary &lt;code&gt;.tar.gz&lt;/code&gt; package, then you can just download and extract the new package and overwrite all your existing files. However, this might overwrite your config changes.&lt;/p&gt;
&lt;p&gt;We recommend that you save your custom configuration changes in a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/conf/custom.ini&lt;/code&gt;.
This allows you to upgrade Grafana without risking losing your configuration changes.&lt;/p&gt;
&lt;h3 id=&#34;centos--rhel&#34;&gt;Centos / RHEL&lt;/h3&gt;
&lt;p&gt;If you installed Grafana by downloading an RPM package you can just follow the same installation guide and execute the same &lt;code&gt;yum install&lt;/code&gt; or &lt;code&gt;rpm -i&lt;/code&gt; command but with the new package. It will upgrade your Grafana installation.&lt;/p&gt;
&lt;p&gt;If you used our YUM repository:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo yum update grafana&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;docker&#34;&gt;Docker&lt;/h3&gt;
&lt;p&gt;This just an example, details depend on how you configured your grafana container.&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;docker pull grafana/grafana
docker stop my-grafana-container
docker rm my-grafana-container
docker run -d --name=my-grafana-container --restart=always -v /var/lib/grafana:/var/lib/grafana grafana/grafana&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;windows&#34;&gt;Windows&lt;/h3&gt;
&lt;p&gt;If you downloaded the Windows binary package you can just download a newer package and extract to the same location (and overwrite the existing files). This might overwrite your configuration changes. We recommend that you save your configuration changes in a file named &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/conf/custom.ini&lt;/code&gt; as this will make upgrades easier without risking losing your configuration changes.&lt;/p&gt;
&lt;h2 id=&#34;update-plugins&#34;&gt;Update plugins&lt;/h2&gt;
&lt;p&gt;After you have upgraded, we strongly recommend that you update all your plugins as a new version of Grafana
can make older plugins stop working properly.&lt;/p&gt;
&lt;p&gt;You can update all plugins using&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;grafana-cli plugins update-all&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;upgrading-to-v50&#34;&gt;Upgrading to v5.0&lt;/h2&gt;
&lt;p&gt;The dashboard grid layout engine has changed. All dashboards will be automatically upgraded to new positioning system when you load them in v5. Dashboards saved in v5 will not work in older versions of Grafana. Some external panel plugins might need to be updated to work properly.&lt;/p&gt;
&lt;p&gt;For more details on the new panel positioning system, refer to &lt;a href=&#34;../../dashboards/json-model/#panel-size-position&#34;&gt;panel size position&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;upgrading-to-v52&#34;&gt;Upgrading to v5.2&lt;/h2&gt;
&lt;p&gt;One of the database migrations included in this release will update all annotation timestamps from second to millisecond precision. If you have a large amount of annotations the database migration may take a long time to complete which may cause problems if you use systemd to run Grafana.&lt;/p&gt;
&lt;p&gt;We&amp;rsquo;ve got one report where using systemd, PostgreSQL and a large amount of annotations (table size 1645mb) took 8-20 minutes for the database migration to complete. However, the grafana-server process was killed after 90 seconds by systemd. Any database migration queries in progress when systemd kills the grafana-server process continues to execute in database until finished.&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;re using systemd and have a large amount of annotations consider temporary adjusting the systemd &lt;code&gt;TimeoutStartSec&lt;/code&gt; setting to something high like &lt;code&gt;30m&lt;/code&gt; before upgrading.&lt;/p&gt;
&lt;h2 id=&#34;upgrading-to-v60&#34;&gt;Upgrading to v6.0&lt;/h2&gt;
&lt;p&gt;If you have text panels with script tags they will no longer work due to a new setting that per default disallow unsanitized HTML.
For more information about the new setting, refer to &lt;a href=&#34;../../administration/configuration/#disable-sanitize-html&#34;&gt;disable sanitize html&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;authentication-and-security&#34;&gt;Authentication and security&lt;/h3&gt;
&lt;p&gt;If you are using Grafana&amp;rsquo;s builtin, LDAP (without Auth Proxy) or OAuth authentication all users will be required to login upon the next visit after the upgrade.&lt;/p&gt;
&lt;p&gt;If you have &lt;code&gt;cookie_secure&lt;/code&gt; set to &lt;code&gt;true&lt;/code&gt; in the &lt;code&gt;session&lt;/code&gt; section you probably want to change the &lt;code&gt;cookie_secure&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt; in the &lt;code&gt;security&lt;/code&gt; section as well. Ending up with a configuration like this:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;ini&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-ini&#34;&gt;[session]
cookie_secure = true

[security]
cookie_secure = true&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The &lt;code&gt;login_remember_days&lt;/code&gt;, &lt;code&gt;cookie_username&lt;/code&gt; and &lt;code&gt;cookie_remember_name&lt;/code&gt; settings in the &lt;code&gt;security&lt;/code&gt; section are no longer being used so they&amp;rsquo;re safe to remove.&lt;/p&gt;
&lt;p&gt;If you have &lt;code&gt;login_remember_days&lt;/code&gt; configured to 0 (zero) you should change your configuration to this to accomplish similar behavior, i.e. a logged in user will maximum be logged in for 1 day until being forced to login again:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;ini&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-ini&#34;&gt;[auth]
login_maximum_inactive_lifetime_days = 1
login_maximum_lifetime_days = 1&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The default cookie name for storing the auth token is &lt;code&gt;grafana_session&lt;/code&gt;. you can configure this with &lt;code&gt;login_cookie_name&lt;/code&gt; in &lt;code&gt;[auth]&lt;/code&gt; settings.&lt;/p&gt;
&lt;h2 id=&#34;upgrading-to-v62&#34;&gt;Upgrading to v6.2&lt;/h2&gt;
&lt;h3 id=&#34;ensure-encryption-of-data-source-secrets&#34;&gt;Ensure encryption of data source secrets&lt;/h3&gt;
&lt;p&gt;Data sources store passwords and basic auth passwords in secureJsonData encrypted (AES-256 in CFB mode) by default. Existing data source
will keep working with unencrypted passwords. If you want to migrate to encrypted storage for your existing data sources
you can do that by:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;For data sources created through UI, you need to go to data source config, re-enter the password or basic auth
password and save the data source.&lt;/li&gt;
&lt;li&gt;For data sources created by provisioning, you need to update your config file and use secureJsonData.password or
secureJsonData.basicAuthPassword field. See &lt;a href=&#34;../../administration/provisioning/&#34;&gt;provisioning docs&lt;/a&gt; for example of current
configuration.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;embedding-grafana&#34;&gt;Embedding Grafana&lt;/h3&gt;
&lt;p&gt;If you&amp;rsquo;re embedding Grafana in a &lt;code&gt;&amp;lt;frame&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;iframe&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;embed&amp;gt;&lt;/code&gt; or &lt;code&gt;&amp;lt;object&amp;gt;&lt;/code&gt; on a different website it will no longer work due to a new setting
that per default instructs the browser to not allow Grafana to be embedded. For more information about embedding Grafana, refer to &lt;a href=&#34;../../administration/configuration/#allow-embedding&#34;&gt;configuration embedding&lt;/a&gt; about
this new setting.&lt;/p&gt;
&lt;h3 id=&#34;session-storage-is-no-longer-used&#34;&gt;Session storage is no longer used&lt;/h3&gt;
&lt;p&gt;In 6.2 we completely removed the backend session storage since we replaced the previous login session implementation with an auth token.
If you are using Auth proxy with LDAP, a shared cached is used in Grafana, so you might want to configure [remote_cache] instead. If not,
Grafana will fall back to using the database as a shared cache.&lt;/p&gt;
&lt;h3 id=&#34;upgrading-elasticsearch-to-v70&#34;&gt;Upgrading Elasticsearch to v7.0&#43;&lt;/h3&gt;
&lt;p&gt;The semantics of &lt;code&gt;max concurrent shard requests&lt;/code&gt; changed in Elasticsearch v7.0, see &lt;a href=&#34;https://www.elastic.co/guide/en/elasticsearch/reference/7.0/breaking-changes-7.0.html#semantics-changed-max-concurrent-shared-requests&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;release notes&lt;/a&gt; for reference.&lt;/p&gt;
&lt;p&gt;If you upgrade Elasticsearch to v7.0&#43; you should make sure to update the data source configuration in Grafana so that version
is &lt;code&gt;7.0&#43;&lt;/code&gt; and &lt;code&gt;max concurrent shard requests&lt;/code&gt; properly configured. 256 was the default in pre v7.0 versions. In v7.0 and above 5 is the default.&lt;/p&gt;
&lt;h2 id=&#34;upgrading-to-v64&#34;&gt;Upgrading to v6.4&lt;/h2&gt;
&lt;h3 id=&#34;annotations-database-migration&#34;&gt;Annotations database migration&lt;/h3&gt;
&lt;p&gt;One of the database migrations included in this release will merge multiple rows used to represent an annotation range into a single row. If you have a large number of region annotations the database migration may take a long time to complete. See &lt;a href=&#34;#upgrading-to-v5-2&#34;&gt;Upgrading to v5.2&lt;/a&gt; for tips on how to manage this process.&lt;/p&gt;
&lt;h3 id=&#34;docker-1&#34;&gt;Docker&lt;/h3&gt;
&lt;p&gt;Grafana’s docker image is now based on &lt;a href=&#34;http://alpinelinux.org&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Alpine&lt;/a&gt; instead of &lt;a href=&#34;https://ubuntu.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Ubuntu&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;plugins-that-need-updating&#34;&gt;Plugins that need updating&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;/grafana/plugins/grafana-splunk-datasource&#34;&gt;Splunk&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;upgrading-to-v65&#34;&gt;Upgrading to v6.5&lt;/h2&gt;
&lt;p&gt;Pre Grafana 6.5.0, the CloudWatch datasource used the GetMetricStatistics API for all queries that did not have an ´id´ and did not have an ´expression´ defined in the query editor. The GetMetricStatistics API has a limit of 400 transactions per second (TPS). In this release, all queries use the GetMetricData API which has a limit of 50 TPS and 100 metrics per transaction. We expect this transition to be smooth for most of our users, but in case you do face throttling issues we suggest you increase the TPS quota. To do that, please visit the &lt;a href=&#34;https://console.aws.amazon.com/servicequotas/home?r#!/services/monitoring/quotas/L-5E141212&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;AWS Service Quotas console&lt;/a&gt;. For more details around CloudWatch API limits, &lt;a href=&#34;https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_limits.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;see CloudWatch docs&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Each request to the GetMetricData API can include 100 queries. This means that each panel in Grafana will only issue one GetMetricData request, regardless of the number of query rows that are present in the panel. Consequently as it is no longer possible to set &lt;code&gt;HighRes&lt;/code&gt; on a per query level anymore, this switch is now removed from the query editor. High resolution can still be achieved by choosing a smaller minimum period in the query editor.&lt;/p&gt;
&lt;p&gt;The handling of multi-valued template variables in dimension values has been changed in Grafana 6.5. When a multi template variable is being used, Grafana will generate a search expression. In the GetMetricData API, expressions are limited to 1024 characters, so it might be the case that this limit is reached when a multi-valued template variable that has a lot of values is being used. If this is the case, we suggest you start using &lt;code&gt;*&lt;/code&gt; wildcard as dimension value instead of a multi-valued template variable.&lt;/p&gt;
&lt;h2 id=&#34;upgrading-to-v66&#34;&gt;Upgrading to v6.6&lt;/h2&gt;
&lt;p&gt;The Generic OAuth setting &lt;code&gt;send_client_credentials_via_post&lt;/code&gt;, used for supporting non-compliant providers, has been removed. From now on, Grafana will automatically detect if credentials should be sent as part of the URL or request body for a specific provider. The result will be remembered and used for additional OAuth requests for that provider.&lt;/p&gt;
&lt;h3 id=&#34;important-changes-regarding-samesite-cookie-attribute&#34;&gt;Important changes regarding SameSite cookie attribute&lt;/h3&gt;
&lt;p&gt;Chrome 80 treats cookies as &lt;code&gt;SameSite=Lax&lt;/code&gt; by default if no &lt;code&gt;SameSite&lt;/code&gt; attribute is specified, see &lt;a href=&#34;https://www.chromestatus.com/feature/5088147346030592&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;https://www.chromestatus.com/feature/5088147346030592&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Due to this change in Chrome, the &lt;code&gt;[security]&lt;/code&gt; setting &lt;code&gt;cookie_samesite&lt;/code&gt; configured to &lt;code&gt;none&lt;/code&gt; now renders cookies with &lt;code&gt;SameSite=None&lt;/code&gt; attribute compared to before where no &lt;code&gt;SameSite&lt;/code&gt; attribute was added to cookies. To get the old behavior, use value &lt;code&gt;disabled&lt;/code&gt; instead of &lt;code&gt;none&lt;/code&gt;, see &lt;a href=&#34;../../administration/configuration/#cookie-samesite&#34;&gt;cookie_samesite in Configuration&lt;/a&gt; for more information.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; There is currently a bug affecting Mac OSX and iOS that causes &lt;code&gt;SameSite=None&lt;/code&gt; cookies to be treated as &lt;code&gt;SameSite=Strict&lt;/code&gt; and therefore not sent with cross-site requests, see &lt;a href=&#34;https://bugs.webkit.org/show_bug.cgi?id=198181&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;https://bugs.webkit.org/show_bug.cgi?id=198181&lt;/a&gt; for details. Until this is fixed, &lt;code&gt;SameSite=None&lt;/code&gt; might not work properly on Safari.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;This version of Chrome also rejects insecure &lt;code&gt;SameSite=None&lt;/code&gt; cookies. See &lt;a href=&#34;https://www.chromestatus.com/feature/5633521622188032&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;https://www.chromestatus.com/feature/5633521622188032&lt;/a&gt; for more information. Make sure that you
change the &lt;code&gt;[security]&lt;/code&gt; setting &lt;code&gt;cookie_secure&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt; and use HTTPS when &lt;code&gt;cookie_samesite&lt;/code&gt; is configured to &lt;code&gt;none&lt;/code&gt;, otherwise authentication in Grafana won&amp;rsquo;t work properly.&lt;/p&gt;
&lt;h2 id=&#34;upgrading-to-v70&#34;&gt;Upgrading to v7.0&lt;/h2&gt;
&lt;h3 id=&#34;phantomjs-removed&#34;&gt;PhantomJS removed&lt;/h3&gt;
&lt;p&gt;PhantomJS was deprecated in &lt;a href=&#34;../../whatsnew/whats-new-in-v6-4/#phantomjs-deprecation&#34;&gt;Grafana v6.4&lt;/a&gt; and starting from Grafana v7.0.0, all PhantomJS support has been removed. This means that Grafana no longer ships with a built-in image renderer, and we advise you to install the &lt;a href=&#34;/grafana/plugins/grafana-image-renderer&#34;&gt;Grafana Image Renderer plugin&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;dashboard-minimum-refresh-interval-enforced&#34;&gt;Dashboard minimum refresh interval enforced&lt;/h3&gt;
&lt;p&gt;A global minimum dashboard refresh interval is now enforced and defaults to 5 seconds. For more information about this setting, refer to &lt;a href=&#34;../../administration/configuration/#min-refresh-interval&#34;&gt;minimum refresh interval&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;backend-plugins&#34;&gt;Backend plugins&lt;/h3&gt;
&lt;p&gt;Grafana now requires backend plugins to be signed. If a backend plugin is not signed Grafana will not load/start it. This is an additional security measure to make sure backend plugin binaries and files haven&amp;rsquo;t been tampered with. All Grafana Labs authored backend plugins, including Enterprise plugins, are now signed. It&amp;rsquo;s possible to allow unsigned plugins using a configuration setting, but is something we strongly advise against doing. For more information about this setting, refer to &lt;a href=&#34;../../administration/#allow_loading_unsigned_plugins&#34;&gt;allow loading unsigned plugins&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;cookie-path&#34;&gt;Cookie path&lt;/h3&gt;
&lt;p&gt;Starting from Grafana v7.0.0, the cookie path does not include the trailing slash if Grafana is served from a subpath in order to align with &lt;a href=&#34;https://tools.ietf.org/html/rfc6265#section-5.1.4&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;RFC 6265&lt;/a&gt;. However, stale session cookies (set before the upgrade) can result in unsuccessful logins because they can not be deleted during the standard login phase due to the changed cookie path. Therefore users experiencing login problems are advised to manually delete old session cookies, or administrators can fix this for all users by changing the &lt;a href=&#34;../../administration/#login-cookie-name&#34;&gt;&lt;code&gt;login_cookie_name&lt;/code&gt;&lt;/a&gt;, so the old cookie would get ignored.&lt;/p&gt;
&lt;h2 id=&#34;upgrading-to-v72&#34;&gt;Upgrading to v7.2&lt;/h2&gt;
&lt;h3 id=&#34;ensure-encryption-of-existing-alert-notification-channel-secrets&#34;&gt;Ensure encryption of existing alert notification channel secrets&lt;/h3&gt;
&lt;p&gt;Before Grafana v7.2 alert notification channels did not store sensitive settings/secrets such as API tokens and password encrypted in the database. In Grafana v7.2, creating a new alert notification channel will store sensitive settings encrypted in the database.&lt;/p&gt;
&lt;p&gt;The following alert notifiers have been updated to support storing their sensitive settings encrypted:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Slack (URL and Token)&lt;/li&gt;
&lt;li&gt;Pagerduty (Integration Key)&lt;/li&gt;
&lt;li&gt;Webhook (Password)&lt;/li&gt;
&lt;li&gt;Prometheus Alertmanager (Basic Auth Password)&lt;/li&gt;
&lt;li&gt;Opsgenie (API Key)&lt;/li&gt;
&lt;li&gt;Sensu (Password)&lt;/li&gt;
&lt;li&gt;Telegram (BOT API Token)&lt;/li&gt;
&lt;li&gt;LINE (token)&lt;/li&gt;
&lt;li&gt;Pushover (API Token, User key)&lt;/li&gt;
&lt;li&gt;Threema Gateway (API Secret)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For existing alert notification channels, there is no automatic migration of storing sensitive settings encrypted, and they will continue to work as before. Migration must be done manually. Opening a configured alert notification channel in the UI and saving it will store sensitive settings encrypted and at the same time reset the historic unencrypted setting of that alert notification channel in the database.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Please note that when migrating a notification channel and later downgrading Grafana to an earlier version, the notification channel will not be able to read stored sensitive settings and, as a result, not function as expected.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;For provisioning of alert notification channels, refer to &lt;a href=&#34;../../administration/provisioning/#alert-notification-channels&#34;&gt;Alert notification channels&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;upgrading-to-v73&#34;&gt;Upgrading to v7.3&lt;/h2&gt;
&lt;h3 id=&#34;aws-cloudwatch-data-source&#34;&gt;AWS CloudWatch data source&lt;/h3&gt;
&lt;p&gt;The AWS CloudWatch data source&amp;rsquo;s authentication scheme has changed in Grafana 7.3. Most importantly the authentication method &lt;em&gt;ARN&lt;/em&gt; has been removed, and a new one has been added: &lt;em&gt;AWS SDK Default&lt;/em&gt;. Existing data source configurations using the former will fallback to the latter. Assuming an IAM role will still work though, and the old &lt;em&gt;ARN&lt;/em&gt; method would use the default AWS SDK authentication method under the hood anyway.&lt;/p&gt;
&lt;p&gt;Since &lt;em&gt;ARN&lt;/em&gt; has been removed as an authentication method, we have instead made it into an option for providing the ARN of an IAM role to assume. This works independently of the authentication method you choose.&lt;/p&gt;
&lt;p&gt;The new authentication method, &lt;em&gt;AWS SDK Default&lt;/em&gt;, uses the default AWS Go SDK credential chain, which at the time of writing looks for credentials in the following order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Environment variables.&lt;/li&gt;
&lt;li&gt;Shared credentials file.&lt;/li&gt;
&lt;li&gt;If your application uses an ECS task definition or RunTask API operation, IAM role for tasks.&lt;/li&gt;
&lt;li&gt;If your application is running on an Amazon EC2 instance, IAM role for Amazon EC2.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The other authentication methods, &lt;em&gt;Access and secret key&lt;/em&gt; and &lt;em&gt;Credentials file&lt;/em&gt;, have changed in regards to fallbacks. If these methods fail, they no longer fallback to other methods. e.g. environment variables. If you want fallbacks, you should use &lt;em&gt;AWS SDK Default&lt;/em&gt; instead.&lt;/p&gt;
&lt;p&gt;For more information and details, please refer to &lt;a href=&#34;../../datasources/aws-cloudwatch/aws-authentication/&#34;&gt;Using AWS CloudWatch in Grafana&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;user-invites-database-migration&#34;&gt;User invites database migration&lt;/h3&gt;
&lt;p&gt;The database table &lt;em&gt;temp_user&lt;/em&gt;, that tracks user invites, is subject to a database migration that changes the data type of the &lt;em&gt;created&lt;/em&gt; and &lt;em&gt;updated&lt;/em&gt; columns:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Database&lt;/th&gt;
              &lt;th&gt;Old data type&lt;/th&gt;
              &lt;th&gt;New data type&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;Sqlite&lt;/td&gt;
              &lt;td&gt;DATETIME&lt;/td&gt;
              &lt;td&gt;INTEGER&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;MySQL&lt;/td&gt;
              &lt;td&gt;DATETIME&lt;/td&gt;
              &lt;td&gt;INT&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Postgres&lt;/td&gt;
              &lt;td&gt;TIMESTAMP&lt;/td&gt;
              &lt;td&gt;INTEGER&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;blockquote&gt;
&lt;p&gt;Please note that if downgrading Grafana to an earlier version, you have to manually change the data type of the &lt;em&gt;created&lt;/em&gt; and &lt;em&gt;updated&lt;/em&gt; columns back to &lt;em&gt;old data type&lt;/em&gt; , otherwise the user invite feature doesn&amp;rsquo;t function as expected.&lt;/p&gt;&lt;/blockquote&gt;
&lt;h3 id=&#34;snapshots-database-migration&#34;&gt;Snapshots database migration&lt;/h3&gt;
&lt;p&gt;The database table &lt;em&gt;dashboard_snapshot&lt;/em&gt;, that stores dashboard snapshots, adds a new column &lt;em&gt;dashboard_encrypted&lt;/em&gt; for storing an encrypted snapshot.
NOTE: Only snapshots created on Grafana 7.3 or later will use this column to store snapshot data as encrypted. Snapshots created before this version will be unaffected and remain unencrypted.&lt;/p&gt;
&lt;h3 id=&#34;use-of-the-root-group-in-the-docker-images&#34;&gt;Use of the root group in the Docker images&lt;/h3&gt;
&lt;p&gt;The Grafana Docker images use the &lt;code&gt;root&lt;/code&gt; group instead of the &lt;code&gt;grafana&lt;/code&gt; group. This change can cause builds to break for users who extend the Grafana Docker image. Learn more about this change in the &lt;a href=&#34;../docker/#migrate-to-v73-or-later&#34;&gt;Docker migration instructions&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;upgrading-to-v75&#34;&gt;Upgrading to v7.5&lt;/h2&gt;
&lt;h3 id=&#34;victorops-alert-notifier&#34;&gt;VictorOps Alert Notifier&lt;/h3&gt;
&lt;p&gt;The VictorOps alert notifier now accepts a &lt;code&gt;severity&lt;/code&gt; tag, in a similar vein to the PagerDuty alert notifier. The possible values are outlined in the &lt;a href=&#34;https://help.victorops.com/knowledge-base/incident-fields-glossary/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;VictorOps docs&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For example, if you want an alert to be &lt;code&gt;INFO&lt;/code&gt;-level in VictorOps, create a tag &lt;code&gt;severity=info&lt;/code&gt; (case-insensitive) in your alert.&lt;/p&gt;
&lt;h2 id=&#34;upgrading-to-v80&#34;&gt;Upgrading to v8.0&lt;/h2&gt;
&lt;h3 id=&#34;plugins&#34;&gt;Plugins&lt;/h3&gt;
&lt;p&gt;Grafana now requires all plugins to be signed. If a plugin is not signed Grafana will not load/start it. This is an additional security measure to make sure plugin files and binaries haven&amp;rsquo;t been tampered with. All Grafana Labs authored plugins, including Enterprise plugins, are now signed. It&amp;rsquo;s possible to allow unsigned plugins using a configuration setting, but is something we strongly advise against doing. For more information about this setting, refer to &lt;a href=&#34;../../administration/#allow_loading_unsigned_plugins&#34;&gt;allow loading unsigned plugins&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;grafana-live&#34;&gt;Grafana Live&lt;/h3&gt;
&lt;p&gt;Grafana now maintains persistent WebSocket connections for real-time messaging needs.&lt;/p&gt;
&lt;p&gt;When WebSocket connection is established, Grafana checks the request Origin header due to security reasons (for example, to prevent hijacking of WebSocket connection). If you have a properly defined public URL (&lt;code&gt;root_url&lt;/code&gt; server option) then the origin check should successfully pass for WebSocket requests originating from public URL pages. In case of an unsuccessful origin check, Grafana returns a 403 error. It&amp;rsquo;s also possible to add a list of additional origin patterns for the origin check.&lt;/p&gt;
&lt;p&gt;To handle many concurrent WebSocket connections you may need to tune your OS settings or infrastructure. Grafana Live is enabled by default and supports 100 concurrent WebSocket connections max to avoid possible problems with the file descriptor OS limit. As soon as your setup meets the requirements to scale the number of persistent connections this limit can be increased. You also have an option to disable Grafana Live.&lt;/p&gt;
&lt;p&gt;Refer to &lt;a href=&#34;../../live/configure-grafana-live/&#34;&gt;Grafana Live configuration&lt;/a&gt; documentation for more information.&lt;/p&gt;
&lt;h3 id=&#34;postgres-mysql-microsoft-sql-server-data-sources&#34;&gt;Postgres, MySQL, Microsoft SQL Server data sources&lt;/h3&gt;
&lt;p&gt;Grafana v8.0 changes the underlying data structure to &lt;a href=&#34;/developers/plugin-tools/introduction/data-frames&#34;&gt;data frames&lt;/a&gt; for the Postgres, MySQL, Microsoft SQL Server data sources. As a result, a &lt;em&gt;Time series&lt;/em&gt; query result gets returned in a &lt;a href=&#34;/developers/plugin-tools/introduction/data-frames#wide-format&#34;&gt;wide format&lt;/a&gt;. To make the visualizations work as they did before, you might have to do some manual migrations.&lt;/p&gt;
&lt;p&gt;For any existing panels/visualizations using a &lt;em&gt;Time series&lt;/em&gt; query, where the time column is only needed for filtering the time range, for example, using the bar gauge or pie chart panel, we recommend that you use a &lt;em&gt;Table query&lt;/em&gt; instead and exclude the time column as a field in the response.
Refer to this &lt;a href=&#34;https://github.com/grafana/grafana/issues/35534#issuecomment-861519658&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;issue comment&lt;/a&gt; for detailed instructions and workarounds.&lt;/p&gt;
&lt;h4 id=&#34;prefix-added-to-series-names&#34;&gt;Prefix added to series names&lt;/h4&gt;
&lt;p&gt;When you have a query where there&amp;rsquo;s a time value and a numeric value selected together with a string value that&amp;rsquo;s not named &lt;em&gt;metric&lt;/em&gt;, the graph panel renders series names as &lt;code&gt;value &amp;lt;hostname&amp;gt;&lt;/code&gt; rather than just &lt;code&gt;&amp;lt;hostname&amp;gt;&lt;/code&gt; which was the case before Grafana 8.&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;SQL&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-sql&#34;&gt;SELECT
  $__timeGroup(&amp;#34;createdAt&amp;#34;,&amp;#39;10m&amp;#39;),
  avg(value) as &amp;#34;value&amp;#34;,
  hostname
FROM grafana_metric
WHERE $__timeFilter(&amp;#34;createdAt&amp;#34;)
GROUP BY time, hostname
ORDER BY time&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;There are two possible workarounds to resolve this problem:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In Grafana v8.0.3, use an alias of the string column selected as &lt;code&gt;metric&lt;/code&gt;. for example, &lt;code&gt;hostname as metric&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Use the &lt;a href=&#34;../../panels/reference-standard-field-definitions/#display-name&#34;&gt;Standard field options/Display name&lt;/a&gt; to format the alias. For the preceding example query, you would use &lt;code&gt;${__field.labels.hostname}&lt;/code&gt; option.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For more information, refer to the our relational databases documentation of &lt;a href=&#34;../../datasources/postgres/#time-series-queries&#34;&gt;Postgres&lt;/a&gt;, &lt;a href=&#34;../../datasources/mysql/#time-series-queries&#34;&gt;MySQL&lt;/a&gt;, &lt;a href=&#34;../../datasources/mssql/#time-series-queries&#34;&gt;Microsoft SQL Server&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;upgrading-to-v81&#34;&gt;Upgrading to v8.1&lt;/h2&gt;
&lt;h3 id=&#34;use-of-unencrypted-passwords-for-data-sources-no-longer-supported&#34;&gt;Use of unencrypted passwords for data sources no longer supported&lt;/h3&gt;
&lt;p&gt;As of Grafana v8.1, we no longer support unencrypted storage of passwords and basic auth passwords.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Since Grafana v6.2, new or updated data sources store passwords and basic auth passwords encrypted. See &lt;a href=&#34;#ensure-encryption-of-data-source-secrets&#34;&gt;upgrade note&lt;/a&gt; for more information. However, unencrypted passwords and basic auth passwords were also allowed.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;To migrate to encrypted storage, follow the instructions from the &lt;a href=&#34;#ensure-encryption-of-data-source-secrets&#34;&gt;v6.2 upgrade notes&lt;/a&gt;. You can also use a &lt;code&gt;grafana-cli&lt;/code&gt; command to migrate all of your data sources to use encrypted storage of secrets. See &lt;a href=&#34;../../administration/cli/#migrate-data-and-encrypt-passwords&#34;&gt;migrate data and encrypt passwords&lt;/a&gt; for further instructions.&lt;/p&gt;
]]></content><description>&lt;h1 id="upgrade-grafana">Upgrade Grafana&lt;/h1>
&lt;p>We recommend that you upgrade Grafana often to stay up to date with the latest fixes and enhancements.
In order to make this a reality, Grafana upgrades are backward compatible and the upgrade process is simple and quick.&lt;/p></description></item><item><title>Restart Grafana</title><link>https://grafana.com/docs/grafana/v8.4/installation/restart-grafana/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/installation/restart-grafana/</guid><content><![CDATA[&lt;h1 id=&#34;restart-grafana&#34;&gt;Restart Grafana&lt;/h1&gt;
&lt;p&gt;Users often need to restart Grafana after they have made configuration changes. This topic provides detailed instructions on how to restart Grafana supported operating systems.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#windows&#34;&gt;Windows&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#macos&#34;&gt;MacOS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#linux&#34;&gt;Linux&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#docker&#34;&gt;Docker&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;windows&#34;&gt;Windows&lt;/h2&gt;
&lt;p&gt;To restart Grafana:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the Services app.&lt;/li&gt;
&lt;li&gt;Right-click on the &lt;strong&gt;Grafana&lt;/strong&gt; service.&lt;/li&gt;
&lt;li&gt;In the context menu, click &lt;strong&gt;Restart&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;macos&#34;&gt;macOS&lt;/h2&gt;
&lt;p&gt;Restart methods differ depending on whether you installed Grafana using Homebrew or as standalone macOS binaries.&lt;/p&gt;
&lt;h3 id=&#34;restart-grafana-using-homebrew&#34;&gt;Restart Grafana using Homebrew&lt;/h3&gt;
&lt;p&gt;Use the &lt;a href=&#34;http://brew.sh/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Homebrew&lt;/a&gt; restart command:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;brew services restart grafana&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;restart-standalone-macos-binaries&#34;&gt;Restart standalone macOS binaries&lt;/h3&gt;
&lt;p&gt;To restart Grafana:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open a terminal and go to the directory where you copied the install setup files.&lt;/li&gt;
&lt;li&gt;Run the command:&lt;/li&gt;
&lt;/ol&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;./bin/grafana-server web&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;linux&#34;&gt;Linux&lt;/h2&gt;
&lt;p&gt;Restart methods differ depending on whether your Linux system uses &lt;code&gt;systemd&lt;/code&gt; or &lt;code&gt;init.d&lt;/code&gt;.&lt;/p&gt;
&lt;h3 id=&#34;restart-the-server-with-systemd&#34;&gt;Restart the server with systemd&lt;/h3&gt;
&lt;p&gt;To restart the service and verify that the service has started, run the following commands:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo systemctl restart grafana-server
sudo systemctl status grafana-server&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Alternately, you can configure the Grafana server to restart at boot:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo systemctl enable grafana-server.service&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; SUSE or OpenSUSE users may need to start the server with the systemd method, then use the init.d method to configure Grafana to start at boot.&lt;/p&gt;&lt;/blockquote&gt;
&lt;h3 id=&#34;restart-the-server-with-initd&#34;&gt;Restart the server with init.d&lt;/h3&gt;
&lt;p&gt;To restart the service, run the following command:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo service grafana-server restart&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;or&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo /etc/init.d/grafana-server restart&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Verify the status:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo service grafana-server status&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;or&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo /etc/init.d/grafana-server status&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Alternately, you can configure the Grafana server to restart at boot:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo update-rc.d grafana-server defaults&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;docker&#34;&gt;Docker&lt;/h2&gt;
&lt;p&gt;To restart the Grafana service, use the &lt;code&gt;docker restart&lt;/code&gt; command.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;docker restart grafana&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Alternately, you can use the &lt;code&gt;docker compose restart&lt;/code&gt; command to restart Grafana. For more information, refer to &lt;a href=&#34;https://docs.docker.com/compose/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;docker compose documentation&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;docker-compose-example&#34;&gt;Docker compose example&lt;/h3&gt;
&lt;p&gt;Configure your &lt;code&gt;docker-compose.yml&lt;/code&gt; file. For example:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;grafana:
  image: grafana/grafana:latest
  ports:
    - &amp;#34;3000:3000&amp;#34;
  environment:
    - TERM=linux
    - GF_INSTALL_PLUGINS=grafana-clock-panel,grafana-piechart-panel,grafana-polystat-panel&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Start the Grafana server:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;docker-compose up&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;This starts the Grafana server along with the three plugins specified in the YAML file.&lt;/p&gt;
&lt;p&gt;To restart the running container, use this command:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;docker-compose restart grafana&lt;/code&gt;&lt;/p&gt;
]]></content><description>&lt;h1 id="restart-grafana">Restart Grafana&lt;/h1>
&lt;p>Users often need to restart Grafana after they have made configuration changes. This topic provides detailed instructions on how to restart Grafana supported operating systems.&lt;/p></description></item></channel></rss>