mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-07-19 20:37:37 +00:00
.github
ct
install
misc
copy-data
images
add-tailscale-lxc.sh
alpine-install.func
bluetooth.sh
build.func
clean-lxcs.sh
clean.sh
code-server.sh
container-restore-from-backup.sh
core-restore-from-backup.sh
cron-update-lxcs.sh
crowdsec.sh
daemonsync_2.2.0.0059_amd64.deb
edge-kernel.sh
filebrowser.sh
frigate-support.sh
host-backup.sh
install.func
kernel-clean.sh
microcode.sh
monitor-all.sh
olivetin.sh
pbs3-upgrade.sh
post-pbs-install.sh
post-pve-install.sh
pve8-upgrade.sh
pyenv.sh
scaling-governor.sh
update-lxcs-cron.sh
update-lxcs.sh
usb-passthrough.sh
webmin.sh
turnkey
vm
CHANGELOG.md
CODE-AUDIT.md
LICENSE
README.md
USER_SUBMITTED_GUIDES.md
45 lines
1.3 KiB
Bash
45 lines
1.3 KiB
Bash
#!/usr/bin/env bash
|
|
|
|
# Copyright (c) 2021-2023 tteck
|
|
# Author: tteck (tteckster)
|
|
# License: MIT
|
|
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
|
|
|
YW=$(echo "\033[33m")
|
|
RD=$(echo "\033[01;31m")
|
|
BL=$(echo "\033[36m")
|
|
CM='\xE2\x9C\x94\033'
|
|
GN=$(echo "\033[1;92m")
|
|
CL=$(echo "\033[m")
|
|
while true; do
|
|
read -p "This will Install Webmin, Proceed(y/n)?" yn
|
|
case $yn in
|
|
[Yy]*) break ;;
|
|
[Nn]*) exit ;;
|
|
*) echo "Please answer yes or no." ;;
|
|
esac
|
|
done
|
|
clear
|
|
|
|
echo -en "${GN} Installing Prerequisites... "
|
|
apt update &>/dev/null
|
|
apt-get -y install libnet-ssleay-perl libauthen-pam-perl libio-pty-perl unzip shared-mime-info &>/dev/null
|
|
echo -e "${CM}${CL} \r"
|
|
|
|
echo -en "${GN} Downloading Webmin... "
|
|
wget http://prdownloads.sourceforge.net/webadmin/webmin_2.021_all.deb &>/dev/null
|
|
echo -e "${CM}${CL} \r"
|
|
|
|
echo -en "${GN} Installing Webmin... "
|
|
dpkg --install webmin_2.021_all.deb &>/dev/null
|
|
echo -e "${CM}${CL} \r"
|
|
|
|
echo -en "${GN} Setting Default Webmin usermame & password to root... "
|
|
/usr/share/webmin/changepass.pl /etc/webmin root root &>/dev/null
|
|
rm -rf /root/webmin_2.021_all.deb
|
|
echo -e "${CM}${CL} \r"
|
|
IP=$(hostname -I | cut -f1 -d ' ')
|
|
echo -e "Successfully Installed!! Webmin should be reachable by going to https://${IP}:10000"
|
|
|
|
# bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/misc/webmin.sh)"
|