feat: add cassandra lxc

This commit is contained in:
Madhur Ahuja 2024-01-18 21:03:27 +05:30
parent 2da8bfd922
commit 7489123129
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) source <(curl -s https://raw.githubusercontent.com/madhur/Proxmox/cassandra/misc/build.func)
# Copyright (c) 2021-2024 tteck # Copyright (c) 2021-2024 tteck
# Author: tteck (tteckster) # Author: tteck (tteckster)
# License: MIT # License: MIT

View File

@ -19,9 +19,10 @@ msg_ok "Installed Dependencies"
msg_info "Installing Cassandra" msg_info "Installing Cassandra"
mkdir /opt/cassandra && cd /opt/cassandra cd /opt
wget -q https://dlcdn.apache.org/cassandra/4.1.3/apache-cassandra-4.1.3-bin.tar.gz wget -q https://dlcdn.apache.org/cassandra/4.1.3/apache-cassandra-4.1.3-bin.tar.gz
$STD tar -xvzf apache-cassandra-4.1.3-bin.tar.gz $STD tar -xvzf apache-cassandra-4.1.3-bin.tar.gz
mv apache-cassandra-4.1.3 cassandra
msg_info "Creating Service" msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/cassandra.service cat <<EOF >/etc/systemd/system/cassandra.service
[Unit] [Unit]