mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
Applying changes from the latest Pull request
This commit is contained in:
parent
56d5e5a8cf
commit
0370c8798c
2 changed files with 8 additions and 5 deletions
|
@ -75,7 +75,5 @@ build_container
|
|||
description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${APP} is installed! For security purposes, ${APP} is only reachable from localhost.\n
|
||||
To access the ${APP} dashboard, please adjust ${BL}server.host${CL} in ${BL}/etc/kibana/kibana.yml${CL}.\n
|
||||
After that, ${APP} should bre reachable at
|
||||
${BL}http://${IP}:5601${CL} \n"
|
||||
echo -e "${APP} should be reachable by going to the following URL.
|
||||
${BL}http://${IP}:5601${CL}\n"
|
||||
|
|
|
@ -15,12 +15,12 @@ network_check
|
|||
update_os
|
||||
|
||||
msg_info "Installing Dependencies"
|
||||
$STD apt-get install -y curl
|
||||
$STD apt-get install -y apt-transport-https
|
||||
$STD apt-get install -y gnupg
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Setting up Elastic Repository"
|
||||
mkdir -p /etc/apt/keyrings
|
||||
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | gpg --dearmor -o /usr/share/keyrings/elasticsearch-keyring.gpg
|
||||
echo "deb [signed-by=/usr/share/keyrings/elasticsearch-keyring.gpg] https://artifacts.elastic.co/packages/8.x/apt stable main" >/etc/apt/sources.list.d/elastic-8.x.list
|
||||
msg_ok "Set up Elastic Repository"
|
||||
|
@ -30,6 +30,11 @@ $STD apt-get update
|
|||
$STD apt-get install -y kibana
|
||||
msg_ok "Installed Kibana"
|
||||
|
||||
msg_info "Configuring hostname"
|
||||
IP=$(hostname -I | awk '{print $1}')
|
||||
sed -i -E "s/#server.host: \"localhost\"/server.host: \"${IP}\"/" /etc/kibana/kibana.yml
|
||||
msg_ok "Configured hostname"
|
||||
|
||||
msg_info "Creating Service"
|
||||
cat <<EOF >/etc/systemd/system/Kibana.service
|
||||
[Unit]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue