mirror of https://github.com/tteck/Proxmox.git
feat: add cassandra lxc
This commit is contained in:
parent
2da8bfd922
commit
7489123129
|
@ -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
|
||||||
|
|
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue