0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

RaspberryPi5にInfluxDB2をインストールする

Posted at

はじめに

Raspberrypi5にinfluxDBをインストールします。デフォルトリポジトリですとバージョン1.6ですがどうせなら最新版を入れたかったのでバージョン2をインストールしてみました。久々にDBのセットアップをしましたが最近のDBはGUIを使用したり昔に比べると色々と進化しましたね。

実行環境

ハードウェア OS
Raspberrypi 5 Linux raspberrypi5 6.6.69-v8-16k+ #1835 SMP PREEMPT Thu Jan 2 11:29:01 GMT 2025 aarch64 GNU/Linux

手順

  1. インストールコマンドを調べる

  2. 表示されたコマンドを実行する

    bash
    sudo wget -q https://repos.influxdata.com/influxdata-archive_compat.key
    sudo echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
    sudo echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
    sudo apt-get update && sudo apt-get install influxdb2
    
  3. 起動

    bash
    sudo systemctl start influxdb
    
  4. 初期設定

    • ブラウザで接続し初期設定します
      http://<IPアドレス or 名前>:8086
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?