influxdb安装(win10和centos8)

1、Cent OS 8安装
https://jasper-zhang1.gitbooks.io/influxdb/content/Introduction/installation.html

[root@izbp1b6ddawe4svwf8j360z influxdb]# cat <<EOF | sudo tee /etc/yum.repos.d/influxdb.repo
> [influxdb]
> name = InfluxDB Repository - RHEL \$releasever
> baseurl = https://repos.influxdata.com/rhel/\$releasever/\$basearch/stable
> enabled = 1
> gpgcheck = 1
> gpgkey = https://repos.influxdata.com/influxdb.key
> EOF
[influxdb]
name = InfluxDB Repository - RHEL $releasever
baseurl = https://repos.influxdata.com/rhel/$releasever/$basearch/stable
enabled = 1
gpgcheck = 1
gpgkey = https://repos.influxdata.com/influxdb.key
[root@izbp1b6ddawe4svwf8j360z influxdb]# yum install influxdb
influxdb                                                                                                                   | 2.5 kB  00:00:00
influxdb/7/x86_64/primary_db                                                                                               |  55 kB  00:00:01
Resolving Dependencies
--> Running transaction check
---> Package influxdb.x86_64 0:1.8.6-1 will be installed
--> Finished Dependency Resolution


Dependencies Resolved


==================================================================================================================================================
Package                            Arch                             Version                             Repository                          Size
==================================================================================================================================================
Installing:
influxdb                           x86_64                           1.8.6-1                             influxdb                            61 M


Transaction Summary
==================================================================================================================================================
Install  1 Package


Total download size: 61 M
Installed size: 61 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/influxdb/packages/influxdb-1.8.6.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 2582e0c5: NOKEY 00:00:00 ETA
Public key for influxdb-1.8.6.x86_64.rpm is not installed
influxdb-1.8.6.x86_64.rpm                                                                                                  |  61 MB  00:00:12
Retrieving key from https://repos.influxdata.com/influxdb.key
Importing GPG key 0x2582E0C5:
Userid     : "InfluxDB Packaging Service <support@influxdb.com>"
Fingerprint: 05ce 1508 5fc0 9d18 e99e fb22 684a 14cf 2582 e0c5
From       : https://repos.influxdata.com/influxdb.key
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : influxdb-1.8.6-1.x86_64                                                                                                        1/1
Created symlink from /etc/systemd/system/influxd.service to /usr/lib/systemd/system/influxdb.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/influxdb.service to /usr/lib/systemd/system/influxdb.service.
  Verifying  : influxdb-1.8.6-1.x86_64                                                                                                        1/1


Installed:
  influxdb.x86_64 0:1.8.6-1


Complete!
[root@izbp1b6ddawe4svwf8j360z influxdb]# sudo service influxdb start
Redirecting to /bin/systemctl start influxdb.service

2、Windows 安装
https://jasper-zhang1.gitbooks.io/influxdb/content/Introduction/installation.html

配置本地映射文件

在这里插入图片描述

写批处理文件:先启动server后启动client->启动后不可关闭server(server是client的守护线程)

在这里插入图片描述

成功后效果

在这里插入图片描述

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

black.kk

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值