Update webmin.sh

update starting version
This commit is contained in:
tteckster 2022-09-28 16:28:22 -04:00 committed by GitHub
parent 1e8ac7e63e
commit 9fce615c4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,19 +22,19 @@ apt-get -y install libnet-ssleay-perl libauthen-pam-perl libio-pty-perl unzip sh
echo -e "${CM}${CL} \r" echo -e "${CM}${CL} \r"
echo -en "${GN} Downloading Webmin... " echo -en "${GN} Downloading Webmin... "
wget http://prdownloads.sourceforge.net/webadmin/webmin_1.996_all.deb &>/dev/null wget http://prdownloads.sourceforge.net/webadmin/webmin_2.000_all.deb &>/dev/null
echo -e "${CM}${CL} \r" echo -e "${CM}${CL} \r"
echo -en "${GN} Installing Webmin... " echo -en "${GN} Installing Webmin... "
dpkg --install webmin_1.996_all.deb &>/dev/null dpkg --install webmin_2.000_all.deb &>/dev/null
echo -e "${CM}${CL} \r" echo -e "${CM}${CL} \r"
echo -en "${GN} Setting Default Webmin usermame & password to root... " echo -en "${GN} Setting Default Webmin usermame & password to root... "
/usr/share/webmin/changepass.pl /etc/webmin root root &>/dev/null /usr/share/webmin/changepass.pl /etc/webmin root root &>/dev/null
rm -rf /root/webmin_1.996_all.deb rm -rf /root/webmin_2.000_all.deb
echo -e "${CM}${CL} \r" echo -e "${CM}${CL} \r"
IP=$(hostname -I | cut -f1 -d ' ') IP=$(hostname -I | cut -f1 -d ' ')
echo -e "${BL} Successfully Installed Webmin, Now Go To https://${IP}:10000 ${CL}" 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)" # bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/misc/webmin.sh)"