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

@@ -19,9 +19,10 @@ msg_ok "Installed Dependencies"
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
$STD tar -xvzf apache-cassandra-4.1.3-bin.tar.gz
mv apache-cassandra-4.1.3 cassandra
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/cassandra.service
[Unit]