Update kibana-install.sh

tweak
This commit is contained in:
tteckster 2024-10-18 07:05:00 -04:00 committed by GitHub
parent 10135712f1
commit 5c2c072dae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 5 deletions

View File

@ -30,14 +30,10 @@ msg_ok "Set up Elastic Repository"
msg_info "Installing Kibana"
$STD apt-get update
$STD apt-get install -y kibana
echo 'export PATH=/usr/share/kibana/bin:$PATH' >>~/.bashrc
export PATH=/usr/share/kibana/bin:$PATH
msg_ok "Installed Kibana"
msg_info "Configuring hostname"
sed -i -E "s/#server.host: \"localhost\"/server.host: \"0.0.0.0\"/" /etc/kibana/kibana.yml
msg_ok "Configured hostname"
msg_ok "Installed Kibana"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/Kibana.service