grafana安装指南

2022-01-18 18:55:15 浏览数 (1)

linux

Ubuntu and Debian (64 Bit)

代码语言:javascript复制
sudo apt-get install -y adduser libfontconfig1
wget https://dl.grafana.com/enterprise/release/grafana-enterprise_8.1.5_amd64.deb
sudo dpkg -i grafana-enterprise_8.1.5_amd64.debCopy

Standalone Linux Binaries(64 Bit)

代码语言:javascript复制
wget https://dl.grafana.com/enterprise/release/grafana-enterprise-8.1.5.linux-amd64.tar.gz
tar -zxvf grafana-enterprise-8.1.5.linux-amd64.tar.gzCopy

Red Hat, CentOS, RHEL, and Fedora(64 Bit)

代码语言:javascript复制
wget https://dl.grafana.com/enterprise/release/grafana-enterprise-8.1.5-1.x86_64.rpm
sudo yum install grafana-enterprise-8.1.5-1.x86_64.rpmCopy

OpenSUSE and SUSE

代码语言:javascript复制
wget https://dl.grafana.com/enterprise/release/grafana-enterprise-8.1.5-1.x86_64.rpm
sudo rpm -i --nodeps grafana-enterprise-8.1.5-1.x86_64.rpmCopy

linux系统相关配置

配置文件都位于/etc/grafana/grafana.ini

具体配置方法见:配置

linux系统启动方式

安装包启动方式:

代码语言:javascript复制
sudo systemctl daemon-reload
sudo systemctl start grafana-server
sudo systemctl status grafana-serverCopy

二进制包启动方式:

代码语言:javascript复制
./bin/grafana-server webCopy

windows

直接下载安装包即可,下载

Mac

代码语言:javascript复制
curl -O https://dl.grafana.com/enterprise/release/grafana-enterprise-8.1.5.darwin-amd64.tar.gz
tar -zxvf grafana-enterprise-8.1.5.darwin-amd64.tar.gzCopy

配置文件位于 /etc/grafana/grafana.ini

配置方法见:配置

Docker

Alpine基础镜像版本

代码语言:javascript复制
docker run -d --name=grafana -p 3000:3000 grafana/grafana-enterpriseCopy

ubuntu基础镜像版本

代码语言:javascript复制
docker run -d --name=grafana -p 3000:3000 grafana/grafana-enterprise:8.1.5-ubuntuCopy

arm

Ubuntu and Debian(ARM64)

代码语言:javascript复制
sudo apt-get install -y adduser libfontconfig1
wget https://dl.grafana.com/enterprise/release/grafana-enterprise_8.1.5_arm64.deb
sudo dpkg -i grafana-enterprise_8.1.5_arm64.debCopy

Ubuntu and Debian(ARMv6)

代码语言:javascript复制
sudo apt-get install -y adduser libfontconfig1
wget https://dl.grafana.com/enterprise/release/grafana-enterprise-rpi_8.1.5_armhf.deb
sudo dpkg -i grafana-enterprise-rpi_8.1.5_armhf.debCopy

Ubuntu and Debian(ARMv7)

代码语言:javascript复制
sudo apt-get install -y adduser libfontconfig1
wget https://dl.grafana.com/enterprise/release/grafana-enterprise_8.1.5_armhf.deb
sudo dpkg -i grafana-enterprise_8.1.5_armhf.debCopy

Standalone Linux Binaries(ARM64)

代码语言:javascript复制
wget https://dl.grafana.com/enterprise/release/grafana-enterprise-8.1.5.linux-arm64.tar.gz
tar -zxvf grafana-enterprise-8.1.5.linux-arm64.tar.gzCopy

Standalone Linux Binaries(ARMv6)

代码语言:javascript复制
wget https://dl.grafana.com/enterprise/release/grafana-enterprise-8.1.5.linux-armv6.tar.gz
tar -zxvf grafana-enterprise-8.1.5.linux-armv6.tar.gzCopy

Standalone Linux Binaries(ARMv7)

代码语言:javascript复制
wget https://dl.grafana.com/enterprise/release/grafana-enterprise-8.1.5.linux-armv7.tar.gz
tar -zxvf grafana-enterprise-8.1.5.linux-armv7.tar.gzCopy

Red Hat, CentOS, RHEL, and Fedora(ARM64)

代码语言:javascript复制
wget https://dl.grafana.com/enterprise/release/grafana-enterprise-8.1.5-1.aarch64.rpm
sudo yum install grafana-enterprise-8.1.5-1.aarch64.rpmCopy

OpenSUSE and SUSE

代码语言:javascript复制
wget https://dl.grafana.com/enterprise/release/grafana-enterprise-8.1.5-1.aarch64.rpm
sudo rpm -i --nodeps grafana-enterprise-8.1.5-1.aarch64.rpmCopy

Red Hat, CentOS, RHEL, and Fedora(ARMv7)

代码语言:javascript复制
wget https://dl.grafana.com/enterprise/release/grafana-enterprise-8.1.5-1.armhfp.rpm
sudo yum install grafana-enterprise-8.1.5-1.armhfp.rpmCopy

OpenSUSE and SUSE

代码语言:javascript复制
wget https://dl.grafana.com/enterprise/release/grafana-enterprise-8.1.5-1.armhfp.rpm
sudo rpm -i --nodeps grafana-enterprise-8.1.5-1.armhfp.rpmCopy

本文为从大数据到人工智能博主「xiaozhch5」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。

原文链接:https://cloud.tencent.com/developer/article/1936368

0 人点赞