linux系统中Influxdb的使用
下载influxdb:[root@localhost /]# wget https://dl.influxdata.com/influxdb/releases/influxdb-1.2.2.x86_64.rpm--2020-01-03 09:40:17--https://dl.influxdata.com/influxdb/releases/influxdb-1.2.2.x86_64.rp...
·
下载influxdb:
[root@localhost /]# wget https://dl.influxdata.com/influxdb/releases/influxdb-1.2.2.x86_64.rpm
--2020-01-03 09:40:17-- https://dl.influxdata.com/influxdb/releases/influxdb-1.2.2.x86_64.rpm
Resolving dl.influxdata.com... 13.35.125.37, 13.35.125.28, 13.35.125.62, ...
Connecting to dl.influxdata.com|13.35.125.37|:443... connected.
OpenSSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
Unable to establish SSL connection.
[root@localhost /]#
//失败,原因未清楚
只能windows中下载包:
influxdb-1.2.2.x86_64.rpm
安装:
[root@localhost home]# rpm -ivh influxdb-1.2.2.x86_64.rpm
启动influxdb:
[root@localhost home]# service influxdb start
Redirecting to /bin/systemctl start influxdb.service
注:如果是升级版本,卸载InfluxDB后需要重启电脑,否则启动会一直失败!
查看influxd进程:
[root@localhost home]# ps aux | grep influx
influxdb 20254 0.0 0.2 605104 17552 ? Ssl 17:47 0:01 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
启动客户端:
[root@localhost home]# influx
Connected to http://localhost:8086 version 1.2.2
InfluxDB shell version: 1.2.2
> show databases
name: databases
name
----
_internal
> quit
更多推荐
已为社区贡献1条内容
所有评论(0)