Quellcode durchsuchen

Cambios en selección de componentes

Guzmán Castanedo Villalba vor 5 Jahren
Ursprung
Commit
edb08748ce
1 geänderte Dateien mit 0 neuen und 37 gelöschten Zeilen
  1. 0 37
      install

+ 0 - 37
install

@@ -323,9 +323,6 @@ mostrarAvanzada() {
 	componentes=$(whiptail --title "INSTALACION AVANZADA" --checklist "<ESPACIO>: seleccionar   <TAB>: cambiar   <FLECHAS>: moverse\n\nEscoge los componentes que quieres instalar:" $((ALTO * 9 / 10)) $((ANCHO * 9 / 10)) 6 \
 	"LAMP" "Linux + Apache + MySQL/MariaDB + PHP" ON \
 	"LEMP" "Linux + Nginx + MySQL/MariaDB + PHP" ON \
-#	"WebServer" "Instalar servidor web http/https" ON \
-#	"Database" "Instalar una base de datos SQL" ON \
-#	"PHP" "Instala PHP7" ON \
 	"SSL/TLS" "Instalar certificados para activar HTTPS" ON \
 	"MediaWiki" "Instalar wiki con MediaWiki" ON \
 	"Moodle" "Instalar campus virtual con Moodle" ON \
@@ -349,18 +346,6 @@ mostrarAvanzada() {
 				phpOn=true
 				progresoTotal=$((progresoTotal + 6))
 				;;
-#			\"WebServer\")
-#				mostrarWebServer
-#				progresoTotal=$((progresoTotal + 2))
-#				;;
-#			\"Database\")
-#				mostrarDatabase
-#				progresoTotal=$((progresoTotal + 2))
-#				;;
-#			\"PHP\")
-#				phpOn=true
-#				progresoTotal=$((progresoTotal + 2))
-#				;;
 			\"SSL/TLS\")
 				# 2 Opciones: Let's Encrypt o Autofirmado
 				progresoTotal=$((progresoTotal + 2))
@@ -385,28 +370,6 @@ mostrarAvanzada() {
 	progresoTotal=$((progresoTotal + 2))
 }
 
-mostrarWebServer() {
-	# DEPRECATED
-	webServer=$(whiptail --title "SERVIDOR WEB" --radiolist "<ESPACIO>: seleccionar   <TAB>: cambiar   <FLECHAS>: moverse\n\nEscoge el servidor web que quieres usar:" $((ALTO * 9 / 10)) $((ANCHO * 9 / 10)) 2 \
-	"Apache" "Instalar el servidor web Apache2" ON \
-	"Nginx" "Instalar el servidor web Nginx" OFF \
-	--ok-button "Continuar" --cancel-button "Salir" 3>&1 1>&2 2>&3)
-	comprobarError $? 1
-	case $webServer in
-		Apache)
-			apacheOn=true
-			;;
-		Nginx)
-			nginxOn=true
-			;;
-		*)
-			comprobarError 1 100
-			;;
-	esac
-	# Otras opciones (FQDN)
-	establecerFQDN
-}
-
 establecerFQDN() {
 	while [ -z $hostname ]; do
 		hostname=$(whiptail --title "FQDN" --inputbox "El nombre de dominio principal (FQDN) de este servidor es:\n"$(hostname)"\n\nQuieres cambiarlo por otro?" $((ALTO * 9 / 10)) $((ANCHO * 9 / 10)) --ok-button "Cambiar" --cancel-button "No Cambiar" 3>&1 1>&2 2>&3)