Update cassandra-install.sh

This commit is contained in:
tteckster 2024-01-20 08:54:08 -05:00 committed by GitHub
parent 9675c2259a
commit c550d996bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,7 +25,7 @@ msg_info "Installing OpenJDK"
wget -qO- https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor >/etc/apt/trusted.gpg.d/adoptium.gpg wget -qO- https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor >/etc/apt/trusted.gpg.d/adoptium.gpg
echo 'deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/adoptium.gpg] https://packages.adoptium.net/artifactory/deb bookworm main' >/etc/apt/sources.list.d/adoptium.list echo 'deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/adoptium.gpg] https://packages.adoptium.net/artifactory/deb bookworm main' >/etc/apt/sources.list.d/adoptium.list
$STD apt-get update $STD apt-get update
$STD apt-get install -y temurin-8-jdk $STD apt-get install -y temurin-11-jdk
msg_ok "Installed OpenJDK" msg_ok "Installed OpenJDK"
msg_info "Installing Cassandra" msg_info "Installing Cassandra"