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實踐成功

詳細的配置可參照官網進行進一步調試,筆者沒有進行特殊的配置已經正常使用。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM