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?

influxDBをWSLにインストールしようとしたときのエラー

Last updated at Posted at 2025-01-23

基本的には下記のサイトの通りでいけるかと思い試しました。

最初の部分でキーのエラー

Err:3 https://repos.influxdata.com/ubuntu jammy InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E

探すと下記のサイトで解消するとのこと。

今度はpubコマンドがないとのエラー。。。。
dartのSDKに入っているコマンドなのか、、、influxDBはGO言語でできてるとのことで関係ないので、
入れたくない。

代わりに下記を実行

curl --silent --location -O https://repos.influxdata.com/influxdata-archive.key
echo "943666881a1b8d9b849b74caebf02d3465d6beb716510d86a39f6c8e8dac7515  influxdata-archive.key" | sha256sum --check - && cat influxdata-archive.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/influxdata-archive.gpg > /dev/null && echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive.gpg] https://repos.influxdata.com/debian stable main' | tee /etc/apt/sources.list.d/influxdata.list
sudo apt-get update && sudo apt-get install influxdb2
sudo service influxdb start
sudo service influxdb status
sudo systemctl enable influxdb

下記はエラー出てたらやる

sudo systemctl unmask influxdb.service
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?