Update cassandra-install.sh

tweak
This commit is contained in:
tteckster 2024-01-20 09:23:21 -05:00 committed by GitHub
parent 967880c664
commit d0b60329f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,7 +18,7 @@ $STD apt-get install -y curl
$STD apt-get install -y sudo $STD apt-get install -y sudo
$STD apt-get install -y mc $STD apt-get install -y mc
$STD apt-get install -y apt-transport-https $STD apt-get install -y apt-transport-https
$STD apt-get install -y gnupg $STD apt-get install -y gpg
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing OpenJDK" msg_info "Installing OpenJDK"
@ -36,11 +36,6 @@ $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 Cassandra"
msg_info "Creating Service"
#systemctl enable -q --now cassandra.service
msg_ok "Created Service"
motd_ssh motd_ssh
customize customize