@@ -24,7 +24,7 @@ VERBOSE='no'
2424
2525# Define software versions
2626HESTIA_INSTALL_VER=' 1.4.0~alpha'
27- pma_v=' 5.0.4 '
27+ pma_v=' 5.1.0 '
2828rc_v=" 1.4.10"
2929multiphp_v=(" 5.6" " 7.0" " 7.1" " 7.2" " 7.3" " 7.4" " 8.0" )
3030fpm_v=" 7.4"
@@ -396,9 +396,9 @@ install_welcome_message() {
396396 echo " www.hestiacp.com "
397397 echo
398398 echo " ========================================================================"
399- echo
399+ echo
400400 echo " Thank you for downloading Hestia Control Panel! In a few moments,"
401- echo " we will begin installing the following components on your server:"
401+ echo " we will begin installing the following components on your server:"
402402 echo
403403}
404404
562562if [ " $nginx " = ' yes' ]; then
563563 echo " [ * ] NGINX"
564564 echo " deb [arch=amd64] https://nginx.org/packages/mainline/$VERSION / $codename nginx" > $apt /nginx.list
565- if [ " $release " = ' 16.04' ]; then
565+ if [ " $release " = ' 16.04' ]; then
566566 apt-key adv --fetch-keys ' http://nginx.org/keys/nginx_signing.key' > /dev/null 2>&1
567567 else
568568 apt-key adv --fetch-keys ' https://nginx.org/keys/nginx_signing.key' > /dev/null 2>&1
583583if [ " $mysql " = ' yes' ]; then
584584 echo " [ * ] MariaDB"
585585 echo " deb [arch=amd64] https://mirror.mva-n.net/mariadb/repo/$mariadb_v /$VERSION $codename main" > $apt /mariadb.list
586- if [ " $release " = ' 16.04' ]; then
586+ if [ " $release " = ' 16.04' ]; then
587587 apt-key adv --fetch-keys ' http://mariadb.org/mariadb_release_signing_key.asc' > /dev/null 2>&1
588588 else
589589 apt-key adv --fetch-keys ' https://mariadb.org/mariadb_release_signing_key.asc' > /dev/null 2>&1
@@ -599,8 +599,8 @@ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A189E93654F0B0E5 > /dev
599599# Installing PostgreSQL repo
600600if [ " $postgresql " = ' yes' ]; then
601601 echo " [ * ] PostgreSQL"
602- echo " deb https://apt.postgresql.org/pub/repos/apt/ $codename -pgdg main" > $apt /postgresql.list
603- if [ " $release " = ' 16.04' ]; then
602+ echo " deb [arch=amd64] https://apt.postgresql.org/pub/repos/apt/ $codename -pgdg main" > $apt /postgresql.list
603+ if [ " $release " = ' 16.04' ]; then
604604 apt-key adv --fetch-keys ' http://www.postgresql.org/media/keys/ACCC4CF8.asc' > /dev/null 2>&1
605605 else
606606 apt-key adv --fetch-keys ' https://www.postgresql.org/media/keys/ACCC4CF8.asc' > /dev/null 2>&1
797797if [ -d " $withdebs " ]; then
798798 software=$( echo " $software " | sed -e " s/hestia-nginx//" )
799799 software=$( echo " $software " | sed -e " s/hestia-php//" )
800- software=$( echo " $software " | sed -e " s/hestia=${HESTIA_INSTALL_VER} //" )
800+ software=$( echo " $software " | sed -e " s/hestia=${HESTIA_INSTALL_VER} //" )
801801fi
802802if [ " $release " = ' 16.04' ]; then
803803 software=$( echo " $software " | sed -e " s/libonig5/libonig2/" )
@@ -1255,7 +1255,7 @@ if [ "$apache" = 'yes' ]; then
12551255 cp -f $HESTIA_INSTALL_DIR /apache2/status.conf /etc/apache2/mods-available/hestia-status.conf
12561256 cp -f /etc/apache2/mods-available/status.load /etc/apache2/mods-available/hestia-status.load
12571257 cp -f $HESTIA_INSTALL_DIR /logrotate/apache2 /etc/logrotate.d/
1258-
1258+
12591259 # Enable needed modules
12601260 a2enmod rewrite > /dev/null 2>&1
12611261 a2enmod suexec > /dev/null 2>&1
@@ -1357,7 +1357,6 @@ if [ "$vsftpd" = 'yes' ]; then
13571357 update-rc.d vsftpd defaults
13581358 systemctl start vsftpd >> $LOG
13591359 check_result $? " vsftpd start failed"
1360-
13611360fi
13621361
13631362
@@ -1392,7 +1391,7 @@ if [ "$mysql" = 'yes' ]; then
13921391
13931392 # Remove symbolic link
13941393 rm -f /etc/mysql/my.cnf
1395-
1394+
13961395 # Configuring MariaDB
13971396 cp -f $HESTIA_INSTALL_DIR /mysql/$mycnf /etc/mysql/my.cnf
13981397 mysql_install_db >> $LOG
@@ -1456,7 +1455,7 @@ if [ "$mysql" = 'yes' ]; then
14561455 # Create temporary folder and change permission
14571456 mkdir /usr/share/phpmyadmin/tmp
14581457 chmod 777 /usr/share/phpmyadmin/tmp
1459-
1458+
14601459 # Generate blow fish
14611460 blowfish=$( head /dev/urandom | tr -dc A-Za-z0-9 | head -c 32)
14621461 sed -i " s|%blowfish_secret%|$blowfish |" /etc/phpmyadmin/config.inc.php
@@ -1627,6 +1626,7 @@ if [ "$spamd" = 'yes' ]; then
16271626 fi
16281627fi
16291628
1629+
16301630# ----------------------------------------------------------#
16311631# Configure Fail2Ban #
16321632# ----------------------------------------------------------#
@@ -1662,6 +1662,7 @@ if [ "$fail2ban" = 'yes' ]; then
16621662 check_result $? " fail2ban start failed"
16631663fi
16641664
1665+
16651666# ----------------------------------------------------------#
16661667# Install Roundcube #
16671668# ----------------------------------------------------------#
0 commit comments