mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
Pushiing new changes
This commit is contained in:
parent
28e4954da6
commit
d8f50c5886
2 changed files with 10 additions and 17 deletions
17
ct/kibana.sh
17
ct/kibana.sh
|
@ -1,7 +1,8 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
source <(curl -s https://raw.githubusercontent.com/ELKozel/Proxmox/main/misc/build.func)
|
source <(curl -s https://raw.githubusercontent.com/ELKozel/Proxmox/main/misc/build.func)
|
||||||
# Copyright (c) 2024 ELKozel
|
# Copyright (c) 2021-2024 tteck
|
||||||
# Author: T.H. (ELKozel)
|
# Author: tteck (tteckster)
|
||||||
|
# Co-Author: T.H. (ELKozel)
|
||||||
# License: MIT
|
# License: MIT
|
||||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||||
|
|
||||||
|
@ -60,19 +61,11 @@ if (( $(df /boot | awk 'NR==2{gsub("%","",$5); print $5}') > 80 )); then
|
||||||
[[ ${prompt,,} =~ ^(y|yes)$ ]] || exit
|
[[ ${prompt,,} =~ ^(y|yes)$ ]] || exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
msg_info "Stopping ${APP}"
|
|
||||||
systemctl stop Kibana
|
|
||||||
msg_ok "Stopped ${APP}"
|
|
||||||
|
|
||||||
msg_info "Updating ${APP} LXC"
|
msg_info "Updating ${APP} LXC"
|
||||||
apt-get update &>/dev/null
|
apt-get update &>/dev/null
|
||||||
apt-get -y upgrade &>/dev/null
|
apt-get -y upgrade &>/dev/null
|
||||||
msg_ok "Updated ${APP} LXC"
|
msg_ok "Updated ${APP} LXC"
|
||||||
|
|
||||||
msg_info "Starting ${APP}"
|
|
||||||
systemctl start Kibana
|
|
||||||
msg_ok "Started ${APP}"
|
|
||||||
|
|
||||||
msg_ok "Updated Successfully"
|
msg_ok "Updated Successfully"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
@ -82,5 +75,7 @@ build_container
|
||||||
description
|
description
|
||||||
|
|
||||||
msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
echo -e "${APP} Setup should be reachable by going to the following URL.
|
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"
|
${BL}http://${IP}:5601${CL} \n"
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Copyright (c) 2021-2024 tteck
|
# Copyright (c) 2021-2024 tteck
|
||||||
# Author: T.H. (ELKozel)
|
# Author: tteck (tteckster)
|
||||||
|
# Co-Author: T.H. (ELKozel)
|
||||||
# License: MIT
|
# License: MIT
|
||||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||||
|
|
||||||
|
@ -14,10 +15,6 @@ network_check
|
||||||
update_os
|
update_os
|
||||||
|
|
||||||
msg_info "Installing Dependencies"
|
msg_info "Installing Dependencies"
|
||||||
$STD apt-get install -y wget
|
|
||||||
$STD apt-get install -y sudo
|
|
||||||
$STD apt-get install -y mc
|
|
||||||
$STD apt-get install -y ca-certificates
|
|
||||||
$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 gnupg
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
@ -30,7 +27,7 @@ msg_ok "Set up Elastic Repository"
|
||||||
|
|
||||||
msg_info "Installing Kibana"
|
msg_info "Installing Kibana"
|
||||||
$STD apt-get update
|
$STD apt-get update
|
||||||
$STD apt-get install kibana
|
$STD apt-get install -y kibana
|
||||||
msg_ok "Installed Kibana"
|
msg_ok "Installed Kibana"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
|
@ -60,6 +57,7 @@ RestartSec=3
|
||||||
StartLimitBurst=3
|
StartLimitBurst=3
|
||||||
StartLimitInterval=60
|
StartLimitInterval=60
|
||||||
|
|
||||||
|
|
||||||
WorkingDirectory=/usr/share/kibana
|
WorkingDirectory=/usr/share/kibana
|
||||||
|
|
||||||
StandardOutput=journal
|
StandardOutput=journal
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue