From a268617b703da18c8d0137c25e5d9180d020c13a Mon Sep 17 00:00:00 2001 From: sparkcyf Date: Tue, 25 May 2021 16:32:33 +0800 Subject: [PATCH 1/2] Add help document of influxdata modify the format of the influxdata help document --- help/_posts/2021-05-25-influxdata.md | 98 ++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 help/_posts/2021-05-25-influxdata.md diff --git a/help/_posts/2021-05-25-influxdata.md b/help/_posts/2021-05-25-influxdata.md new file mode 100644 index 0000000..1d20748 --- /dev/null +++ b/help/_posts/2021-05-25-influxdata.md @@ -0,0 +1,98 @@ +--- +category: help +layout: help +mirrorid: influxdata +--- + +## Influxdata 镜像帮助 + +本目录是`influxdb`,`telegraf`等时序型数据库的相关组件的镜像软件源。 + +### Debian / Ubuntu 用户 + +首先信任来自[influxdata](https://docs.influxdata.com/telegraf/v1.18/introduction/installation/)的PGP公钥: + +```shell +curl -s https://repos.influxdata.com/influxdb.key | sudo apt-key add - +``` + +将下方文本框中的内容写入`/etc/apt/sources.list.d/influxdb.list` + +
+
+ + +
+
+ +

+
+
+
+
+ + +{% raw %} + +{%endraw%} + +即可安装相关软件,如: + +```shell +sudo apt install influxdb +``` + +### Centos / Redhat 用户 + +新建 `/etc/yum.repos.d/influxdb.repo`,内容为 + +
+
+ + +
+
+ +

+
+
+
+
+ + +{% raw %} + +{% endraw %} + +再执行 + +```shell +sudo yum makecache +``` + +即可安装相关软件,如: + +```shell +sudo yum install influxdb +``` From 9c647ccee9889662f719448d572be9c9ba4929b7 Mon Sep 17 00:00:00 2001 From: sparkcyf Date: Tue, 25 May 2021 19:07:50 +0800 Subject: [PATCH 2/2] modify the format of the influxdata help document --- help/_posts/2021-05-25-influxdata.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/help/_posts/2021-05-25-influxdata.md b/help/_posts/2021-05-25-influxdata.md index 1d20748..9df5640 100644 --- a/help/_posts/2021-05-25-influxdata.md +++ b/help/_posts/2021-05-25-influxdata.md @@ -6,28 +6,28 @@ mirrorid: influxdata ## Influxdata 镜像帮助 -本目录是`influxdb`,`telegraf`等时序型数据库的相关组件的镜像软件源。 +本目录是 `influxdb` , `telegraf` 等时序型数据库的相关组件的镜像软件源。 ### Debian / Ubuntu 用户 -首先信任来自[influxdata](https://docs.influxdata.com/telegraf/v1.18/introduction/installation/)的PGP公钥: +首先信任来自 [influxdata](https://docs.influxdata.com/telegraf/v1.18/introduction/installation/) 的PGP公钥: ```shell curl -s https://repos.influxdata.com/influxdb.key | sudo apt-key add - ``` -将下方文本框中的内容写入`/etc/apt/sources.list.d/influxdb.list` +将下方文本框中的内容写入 `/etc/apt/sources.list.d/influxdb.list`
- +