mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-23 15:38:50 +01:00
Update apache-cassandra-install.sh
tweak
This commit is contained in:
parent
47c52291f7
commit
7dec63e129
@ -28,13 +28,13 @@ $STD apt-get update
|
|||||||
$STD apt-get install -y temurin-11-jdk
|
$STD apt-get install -y temurin-11-jdk
|
||||||
msg_ok "Installed OpenJDK"
|
msg_ok "Installed OpenJDK"
|
||||||
|
|
||||||
msg_info "Installing Cassandra"
|
msg_info "Installing Apache Cassandra"
|
||||||
wget -qO- https://downloads.apache.org/cassandra/KEYS | gpg --dearmor >/etc/apt/trusted.gpg.d/cassandra.gpg
|
wget -qO- https://downloads.apache.org/cassandra/KEYS | gpg --dearmor >/etc/apt/trusted.gpg.d/cassandra.gpg
|
||||||
echo "deb https://debian.cassandra.apache.org 41x main" >/etc/apt/sources.list.d/cassandra.sources.list
|
echo "deb https://debian.cassandra.apache.org 41x main" >/etc/apt/sources.list.d/cassandra.sources.list
|
||||||
$STD apt-get update
|
$STD apt-get update
|
||||||
$STD apt-get install -y cassandra cassandra-tools
|
$STD apt-get install -y cassandra cassandra-tools
|
||||||
sed -i -e 's/^rpc_address: localhost/#rpc_address: localhost/g' -e 's/^# rpc_interface: eth1/rpc_interface: eth0/g' /etc/cassandra/cassandra.yaml
|
sed -i -e 's/^rpc_address: localhost/#rpc_address: localhost/g' -e 's/^# rpc_interface: eth1/rpc_interface: eth0/g' /etc/cassandra/cassandra.yaml
|
||||||
msg_ok "Installed Cassandra"
|
msg_ok "Installed Apache Cassandra"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
customize
|
customize
|
||||||
|
Loading…
Reference in New Issue
Block a user