grafana 安装ubuntu/debian 12345678910111213sudo apt-get install -y apt-transport-httpssudo apt-get install -y software-properties-common wgetwget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -echo "deb https://packages.grafana.com/enterprise/deb stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list echo "deb https://packages.grafana.com/enterprise/deb beta main" | sudo tee -a /etc/apt/sources.list.d/grafana.list sudo apt-get updatesudo apt-get install grafana-enterprisesudo systemctl daemon-reloadsudo systemctl start grafana-serversudo systemctl status grafana-server redhat/centos 1234567891011121314151617vim /etc/yum.repos/grafana.repo[grafana]name=grafanabaseurl=https://packages.grafana.com/enterprise/rpmrepo_gpgcheck=1enabled=1gpgcheck=1gpgkey=https://packages.grafana.com/gpg.keysslverify=1sslcacert=/etc/pki/tls/certs/ca-bundle.crtyum install grafanasudo systemctl daemon-reloadsudo systemctl start grafana-serversudo systemctl status grafana-server