Commit 001780bb authored by Igor Pecovnik's avatar Igor Pecovnik
Browse files

Adding webmin, tiny bugfix, adding to readme.md

parent 9b48ff47
......@@ -39,9 +39,11 @@ Login as root and type:
- [ISPConfig](https://www.ispconfig.org/) *(WEB & MAIL server)*
- [Openmediavault NAS](http://www.openmediavault.org/) *(NAS server)*
- [PI hole](https://pi-hole.net) *(ad blocker)*
- [UrBackup](https://www.urbackup.org/) *(client/server backup system)*
- [Webmin](http://www.webmin.com) *(Web-based interface for system administration)*
- [MiniDLNA](http://minidlna.sourceforge.net/) *(media sharing)*
- monitoring tools
- create diagnostics report
- monitoring tools
- create diagnostics report
- **help**
- Links to documentation, support and sources
......
......@@ -62,6 +62,9 @@ LIST+=( "UrBackup" "Open Source client/server backup system" "$URBACKUP_STATUS"
# ISPconfig
ISPCONFIG_STATUS="$([[ -d /usr/local/ispconfig ]] && echo "on" || echo "off" )"
LIST+=( "ISPConfig" "SMTP mail, IMAP, POP3 & LAMP/LEMP web server" "$ISPCONFIG_STATUS" )
# Webmin
WEBMIN_STATUS="$(check_if_installed webmin && echo "on" || echo "off" )"
LIST+=( "Webmin" "Web-based interface for system administration" "$WEBMIN_STATUS" )
}
function choose_webserver
......@@ -467,13 +470,23 @@ debconf-apt-progress -- apt-get -y install libssl-doc libssl1.0.0 zlib1g-dev tvh
install_urbackup (){
#------------------------------------------------------------------------------------------------------------------------------------------
# Open Source client/server backup system https://www.urbackup.org/
# Client/server backup system https://www.urbackup.org/
#------------------------------------------------------------------------------------------------------------------------------------------
PREFIX="http://hndl.urbackup.org/Server/latest/"
URL="http://hndl.urbackup.org/Server/latest/"$(wget -q $PREFIX -O - | html2text -width 120 | grep deb | awk ' { print $3 }' | grep $(dpkg --print-architecture))
wget -q $URL -O ${TEMP_DIR}/package.deb
dpkg -i ${TEMP_DIR}/package.deb
debconf-apt-progress -- apt-get -f install
debconf-apt-progress -- apt-get -yy -f install
}
install_webmin (){
#------------------------------------------------------------------------------------------------------------------------------------------
# Webmin http://www.webmin.com
#------------------------------------------------------------------------------------------------------------------------------------------
wget -q http://www.webmin.com/download/deb/webmin-current.deb -O ${TEMP_DIR}/package.deb
dpkg -i ${TEMP_DIR}/package.deb
debconf-apt-progress -- apt-get -yy -f install
}
......@@ -1183,6 +1196,10 @@ while true; do
check_port 55414
fi
if [[ "$selection" == *Webmin* && "$WEBMIN_STATUS" != "on" ]]; then
install_webmin
check_port 10000
fi
# reread statuses
check_status
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment