|
@@ -1496,10 +1496,10 @@ configurarMoodle() {
|
|
|
else
|
|
|
comprobarError 1 602
|
|
|
fi
|
|
|
- php /var/www/$dominioMoodle/admin/cli/install.php --lang=es --wwwroot="$wwwroot" --dbtype="$dbtype" --dbname="$nombreDBMo" --dbuser="$userDBMo" --dbpass="$sqlPasswd" --fullname="$nombreMoodle" --shortname="$nombreCortoMoodle" --adminuser=admin --adminpass="$passwdMoodle" --adminemail="admin@$dominioMoodle" --agree-license --non-interactive >>$logFile 2>&1
|
|
|
+ php /var/www/$dominioMoodle/admin/cli/install.php --lang=es --wwwroot="$wwwroot" --dataroot="/var/www/moodledata" --dbtype="$dbtype" --dbname="$nombreDBMo" --dbuser="$userDBMo" --dbpass="$sqlPasswd" --fullname="$nombreMoodle" --shortname="$nombreCortoMoodle" --adminuser=admin --adminpass="$passwdMoodle" --adminemail="admin@$dominioMoodle" --agree-license --non-interactive >>$logFile 2>&1
|
|
|
comprobarError $? 602
|
|
|
# Actualizamos permisos
|
|
|
- chown -R $webServerUser:$webServerGroup /var/www/$dominioMoodle
|
|
|
+ chown -R $webServerUser:$webServerGroup /var/www/$dominioMoodle /var/www/moodledata
|
|
|
# Configuramos VirtualHost
|
|
|
if [ $apacheOn = true ] && [ $sslOn = false ];then
|
|
|
virtualHost="./etc/apache2/sites-available/moodle.conf"
|
|
@@ -1720,7 +1720,7 @@ mostrarExpress
|
|
|
# } > >(whiptail --gauge "Instalando Moodle..." $((ALTO * 4 / 10)) $((ANCHO * 9 / 10)) $((100 * progreso / progresoTotal)))
|
|
|
echo -en " OK.\n" | tee -a $logFile
|
|
|
# Configuración Moodle
|
|
|
- echo -en "Configurando Moodle..." | tee -a $logFile
|
|
|
+ echo -en "Configurando Moodle (puede llevar un tiempo largo)..." | tee -a $logFile
|
|
|
# {
|
|
|
# echo -en "%s\n" $((100 * progreso / progresoTotal))
|
|
|
configurarMoodle
|