I HAVE TRIED LOADING INFLUXDB SEVERAL TIMES. THIS IS THE TEXT FROM THE SCREEN.
pi@raspberrypi:~ $ wget -q https://repos.influxdata.com/influxdb.key
pi@raspberrypi:~ $ echo
’23a1c8836f0afc5ed24e0486339d7cc8f6790b83886c4c96995b88a061c5bb5
d influxdb.key’ | sha256sum -c && cat influxdb.key | gpg —
dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdb.gpg >
/dev/null
-bash: $’23a1c8836f0afc5ed24e0486339d7cc8f6790b83886c4c96995b88a061c5bb5\nd influxdb.key’: command not found
sha256sum: ‘standard input’: no properly formatted SHA256 checksum lines found
-bash: syntax error near unexpected token `newline’
-bash: /dev/null: Permission denied
Hi.
Can you try to copy the commands from here? Just to make sure the formatting was not messup during copy/paste.
wget -q https://repos.influxdata.com/influxdb.key
echo '23a1c8836f0afc5ed24e0486339d7cc8f6790b83886c4c96995b88a061c5bb5d influxdb.key' | sha256sum -c && cat influxdb.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdb.gpg > /dev/null
echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.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
Let me know the results.
Regards,
Sara
Thank you Sara, Your code worked. I tried the code from the course several times and it didn’t work.
It looks like this code was the cause.
madison13@raspberrypi:~ $ echo ’23a1c8836f0afc5ed24e0486339d7cc8f6790b83886c4c96995b88a061c5bb5d influxdb.key’ | sha256sum -c && cat influxdb.key | gpg –dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdb.gpg > /dev/null
influxdb.key: OK
Thank you
Bob