Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Basic concept of InfluxDB and how to install it

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. Windows installation 1, download windows version database [download influxdb] (https://dl.influxdata.com/influxdb/releases/influxdb-1.7.0_windows_amd64.zip)2, launch database 2.1, extract to D:\ tools\ common_tools\ influxdb-1.7.0-12.2, command line enter D:\ tools\ common_tools\ influxdb-1.7.0-12.3, execute command to start database influxd2.4, The client connects to the database command line and goes to D:\ tools\ common_tools\ influxdb-1.7.0-1 to execute influx-host localhost-port 8086 command 3, install visualization tool 3.1, [download influxDB Studio] (https://pan.baidu.com/s/1GEaAhoS49-Ogyx-CBPVEbA) CAPTCHA: 8w8u3.2 new connection) The user name and password are installed under root II and linux.

Official website address: https://portal.influxdata.com/downloads/

Click "v1.7.8" in the image above to find that it doesn't work. In fact, the real download link is on the page.

Right-click, review the element, search release, and find the link in the following figure:

Https://dl.influxdata.com/influxdb/releases/influxdb-1.7.8.x86_64.rpm

Copy the link, copy it to the browser and download it.

Install 1, mkdir-p / app/influxdb-1.7.82, upload the downloaded influxdb-1.7.8.x86_64.rpm package to the newly created directory / app/influxdb-1.7.83, cd / app/influxdb-1.7.84, extract the installation

Rpm-ivh-- prefix=/app/influxdb-1.7.8/ influxdb-1.7.8.x86_64.rpm

5. Change directory to / app/influxdb-1.7.8/var/lib/influxdb to create meta,data,wal directory cd / app/influxdb-1.7.8/var/lib/influxdbmkdir meta,data,wal6, authorize chmod-R 777 / app/influxdb-1.7.8/var/lib/influxdb/data7, modify / app/influxdb-1.7.8/etc/influxdb/influxdb.conf

Mainly modify the storage location and port of meta,data,wal

8. Test whether the startup is successful cd / app/influxdb-1.7.8/usr/bininflux-port 180869, common commands show databases;use database1;show measurements;show users;10, backup and recovery reference official website address: https://docs.influxdata.com/influxdb/v1.7/administration/backup_and_restore/ to enable backup

Cd / app/influxdb-1.7.8/usr/bin modify influxdb.conf file

Backup influxd backup-portable-database gefs_v1_0-host 127.0.0.1 database gefs_v1_0 18088 / t2019/snapshotcopy backup file scp / t2019/snapshot root@47.106.109.58:/app/backup restore (in case the database does not exist) basic concepts influxd restore-portable-database gefs_v1_0 / app/backup Concepts in influxDB Concepts database databases measurement data tables point rows data Point Properties MySql Conceptual time each data record time Is the primary index in the database (automatically generated) fields various record values (attributes without indexes) tags various indexed attributes

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report