Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install grafana on amazon linux 2

sudo tee /etc/yum.repos.d/grafana.repo<<EOF
[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
EOF
Comment

install grafana on amazon linux 2

sudo tee /etc/yum.repos.d/grafana.repo<<EOF
[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
EOF
Comment

install grafana on amazon linux 2

$ cat /etc/yum.repos.d/grafana.repo
Comment

install grafana on amazon linux 2

$ sudo yum repolist
repo id                                                                                      repo name                                                                                         status
amzn2-core/2/x86_64                                                                          Amazon Linux 2 core repository                                                                      27317
amzn2extra-docker/2/x86_64                                                                   Amazon Extras repo for docker                                                                          56
grafana                                                                                      grafana                                                                                           184+290
mariadb-main                                                                                 MariaDB Server                                                                                       80+3
mariadb-maxscale                                                                             MariaDB MaxScale                                                                                        4
mariadb-tools                                                                                MariaDB Tools                                                                                        14+1
repolist: 27655
Comment

install grafana on amazon linux 2

Retrieving key from https://packages.grafana.com/gpg.key
Importing GPG key 0x24098CB6:
 Userid     : "Grafana <info@grafana.com>"
 Fingerprint: 4e40 ddf6 d76e 284a 4a67 80e4 8c8c 34c5 2409 8cb6
 From       : https://packages.grafana.com/gpg.key
Is this ok [y/N]: y
Comment

install grafana on amazon linux 2

sudo yum install -y grafana
Comment

PREVIOUS NEXT
Code Example
Shell :: kubectl jq json pod name jsonpath 
Shell :: termux comandos hack apk 
Shell :: How to change MAC Termianl Prompt 
Shell :: renaming a file in linux 
Shell :: installing kubernetes on ubuntu 20.04 
Shell :: mv command linux 
Shell :: texlive 2019 in ubuntu 18.4 
Shell :: zsh get first line 
Shell :: /bin/grep: /sbin/init: No such file or directory 
Shell :: plesk show mailqueue 
Shell :: Install CasaOS 
Shell :: Show Commit Log as Graph For Current or All Branches in git command 
Shell :: install capacitor ionic 
Shell :: how to install kind 
Shell :: instal bable for linux 
Shell :: echo variable referenced in variable 
Shell :: take screenshot linux 
Shell :: bash get variable value by variable name 
Shell :: kubectl update field 
Shell :: how to run bash scripts from local machine to remote linux machine 
Shell :: how to delete directory from /opt 
Shell :: crontab syntax 
Shell :: cannot open source file conio.h ubuntu 
Shell :: git credential.helper does not store username password 
Shell :: linux wii emulator 
Shell :: how to kill looped process by command name 
Shell :: how to install 
Shell :: start confluence service ubuntu 
Shell :: bash remove random files from directory 
Shell :: docker based setup 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =