Difference between revisions of "Grafana installation in Linux"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
  sudo [[wget -q -O]] /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key
 
  sudo [[wget -q -O]] /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key
  
  echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
+
  echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" | [[sudo tee -a]] /etc/apt/sources.list.d/grafana.list
 
   
 
   
 
  echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com beta main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
 
  echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com beta main" | sudo tee -a /etc/apt/sources.list.d/grafana.list

Revision as of 08:53, 21 December 2022

https://grafana.com/docs/grafana/latest/setup-grafana/installation/debian/

sudo apt-get install -y apt-transport-https
sudo apt-get install -y software-properties-common wget
sudo wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key
echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list

echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com beta main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
sudo apt-get update
# Install the latest OSS release:
sudo apt-get install grafana

Or

# Install the latest Enterprise release:
sudo apt-get install grafana-enterprise


See also

Advertising: