Centos7安装InfluxDB1.7

Centos7安装InfluxDB1.7

AStdAS.png

本操作参照InfluxDB官网:InfuxDB

使用的Red Hat和CentOS用户可以安装InfluxDB最新的稳定版本 yum 包管理器:

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

一旦添加到存储库 yum配置,安装和启动InfluxDB服务通过运行:

sudo yum install influxdb
sudo service influxdb start

或者如果你的操作系统是使用systemd(CentOS 7 +,RHEL 7 +):

sudo yum install influxdb
sudo systemctl start influxdb

在2019/03/08实践成功

详细的配置可参照官网进行进一步调试,笔者没有进行特殊的配置已经正常使用。

posted @ 2019-03-09 11:44  YanceDev  阅读(6126)  评论(0编辑  收藏  举报