Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

install grafana

# install grafana on a linux (latest OSS release)

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 -

echo "deb https://packages.grafana.com/oss/deb stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list


sudo apt-get update
sudo apt-get install grafana


# start the server with 
grafana-server

# or if you want to have it running as a service
sudo systemctl daemon-reload
sudo systemctl start grafana-server
sudo systemctl status grafana-server
sudo systemctl enable grafana-server.service # if you want to have it running on startup

# Default grafana is running on port: 3000
# login with user: admin | pass: admin

 
PREVIOUS NEXT
Tagged: #install #grafana
ADD COMMENT
Topic
Name
4+5 =