InfluxDB 소개 : https://ko.wikipedia.org/wiki/InfluxDB
간단요약 : 넘쳐나는 센서데이터를 RDB에 계속 저장하는것이 부담스러워서 시간을 키로 사용하는 오픈소스 시계열(time series) DB
설치 환경: windows 10 pro
windows 기준 power shell로 설치합니다.
아래 링크에서 Platform을 windows binaries로 변경후 파워쉘에서 실행합니다.
https://portal.influxdata.com/downloads/
글작성일 기준(22-04-25) 2.2.0 버전을 배포중입니다.
wget url 의 2.1.1 을 2.2.0 으로 수정해서 다운로드합니다.
wget https://dl.influxdata.com/influxdb/releases/influxdb2-2.2.0-windows-amd64.zip -UseBasicParsing -OutFile influxdb2-2.2.0-windows-amd64.zip
Expand-Archive .\influxdb2-2.2.0-windows-amd64.zip -DestinationPath 'C:\Program Files\InfluxData\influxdb\'
-DestinationPath 의 경로에 압축파일을 풀 경로를 지정하면 됩니다.
기본경로에 압축을 풀게되면 다음 3개 파일을 확인할 수 있습니다.
- influxd.exe
- LICENSE
- README.md
직접 실행 하는 방법
power shell
# power shell 실행
cd <influxd.exe 설치 경로>
.\influxd
nssm을 통해 서비스로 등록하여 재부팅시 자동실행 하기
# power shell 실행
nssm install influxd
UI를 통해 influxd.exe 경로 선택후 Install service 클릭하여 서비스로 등록
디폴트로 설정된 포트는 8086으로, 브라우저에서 localhost:8086으로 접속시 InfluxDB UI를 확인할 수 있습니다.