Skip to content

Commit

Permalink
feat: Upgrade InfluxDB to v2.7.4 (#1915)
Browse files Browse the repository at this point in the history
  • Loading branch information
PerikiyoXD authored Nov 19, 2023
1 parent d9f8311 commit 24c40b2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
1 change: 1 addition & 0 deletions Homestead.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ features:
- postgresql: false
- ohmyzsh: false
- webdriver: false
- influxdb: false

services:
- enabled:
Expand Down
15 changes: 11 additions & 4 deletions scripts/features/influxdb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,16 @@ then
exit 0
fi

touch /home/$WSL_USER_NAME/.homestead-features/influxdb
chown -Rf $WSL_USER_NAME:$WSL_USER_GROUP /home/$WSL_USER_NAME/.homestead-features

# InfluxDB v2.7.4 - from https://www.influxdata.com/downloads/

# influxdata-archive_compat.key GPG fingerprint:
# 9D53 9D90 D332 8DC7 D6C8 D3B9 D8FF 8E1F 7DF8 B07E
wget -q https://repos.influxdata.com/influxdata-archive_compat.key
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
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
apt-get update
apt-get install -y influxdb
apt-get install -y influxdb-client
apt-get install -y influxdb2

touch /home/$WSL_USER_NAME/.homestead-features/influxdb
chown -Rf $WSL_USER_NAME:$WSL_USER_GROUP /home/$WSL_USER_NAME/.homestead-features

1 comment on commit 24c40b2

@JosephKings7
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Best regards to all: Query: Please: I need to change/roll back the installation of Homestead 14.5.* to a previous version compatible with 32-bit Windows; How can/should I do this? Or, how can you install this version https://github.com/laravel/homestead/tree/v12.2.0 ?Thank you very much.

Please sign in to comment.