mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
1.9 KiB
1.9 KiB
| category | layout | mirrorid |
|---|---|---|
| help | help | grafana |
Grafana 镜像帮助
Debian / Ubuntu 用户
首先信任 https://packages.grafana.com/ 的 GPG 公钥:
curl https://packages.grafana.com/gpg.key | sudo apt-key add -
确保你的 apt 支持 HTTPS:
sudo apt-get install -y apt-transport-https
选择你希望安装的 Grafana 版本(与你的 Debian/Ubuntu 系统版本无关),文本框中内容写进 /etc/apt/sources.list.d/grafana.list
Grafana Stable Repository
Grafana Beta Repository
安装 Grafana
sudo apt-get update
sudo apt-get install grafana
{% raw %}
{%endraw%}
Centos / Redhat 用户
新建 /etc/yum.repos.d/grafana.repo,内容为
Grafana Stable Repository
Grafana Beta Repository
再执行
sudo yum makecache
sudo yum install grafana
{% raw %}
{% endraw %}