|
@@ -48,7 +48,7 @@ software="nginx apache2 apache2-utils apache2-suexec-custom
|
|
|
awstats vsftpd proftpd-basic bind9 exim4 exim4-daemon-heavy
|
|
awstats vsftpd proftpd-basic bind9 exim4 exim4-daemon-heavy
|
|
|
clamav-daemon spamassassin dovecot-imapd dovecot-pop3d dovecot-sieve dovecot-managesieved
|
|
clamav-daemon spamassassin dovecot-imapd dovecot-pop3d dovecot-sieve dovecot-managesieved
|
|
|
net-tools mariadb-client mariadb-common mariadb-server mysql-client mysql-common mysql-server postgresql
|
|
net-tools mariadb-client mariadb-common mariadb-server mysql-client mysql-common mysql-server postgresql
|
|
|
- postgresql-contrib phppgadmin mc flex whois git idn2 unzip zip sudo bc ftp lsof
|
|
|
|
|
|
|
+ postgresql-contrib mc flex whois git idn2 unzip zip sudo bc ftp lsof
|
|
|
rrdtool quota e2fslibs bsdutils e2fsprogs curl imagemagick fail2ban
|
|
rrdtool quota e2fslibs bsdutils e2fsprogs curl imagemagick fail2ban
|
|
|
dnsutils bsdmainutils cron hestia=${HESTIA_INSTALL_VER} hestia-nginx
|
|
dnsutils bsdmainutils cron hestia=${HESTIA_INSTALL_VER} hestia-nginx
|
|
|
hestia-php expect libmail-dkim-perl unrar-free vim-common acl sysstat
|
|
hestia-php expect libmail-dkim-perl unrar-free vim-common acl sysstat
|
|
@@ -1626,11 +1626,20 @@ if [ "$postgresql" = 'yes' ]; then
|
|
|
systemctl restart postgresql
|
|
systemctl restart postgresql
|
|
|
sudo -iu postgres psql -c "ALTER USER postgres WITH PASSWORD '$ppass'"
|
|
sudo -iu postgres psql -c "ALTER USER postgres WITH PASSWORD '$ppass'"
|
|
|
|
|
|
|
|
|
|
+ mkdir -p /etc/phppgadmin/
|
|
|
|
|
+ mkdir -p /usr/share/phppgadmin/
|
|
|
|
|
+
|
|
|
|
|
+ cp -f $HESTIA_INSTALL_DIR/pga/config.inc.php /etc/phppgadmin/
|
|
|
|
|
+
|
|
|
|
|
+ wget --retry-connrefused --quiet https://github.com/hestiacp/phppgadmin/releases/download/v$pga_v/phppgadmin-v$pga_v.tar.gz
|
|
|
|
|
+ tar xzf phppgadmin-v$pga_v.tar.gz -C /usr/share/phppgadmin/
|
|
|
|
|
+
|
|
|
|
|
+ ln -s /etc/phppgadmin/config.inc.php /usr/share/phppgadmin/conf/
|
|
|
|
|
+
|
|
|
# Configuring phpPgAdmin
|
|
# Configuring phpPgAdmin
|
|
|
if [ "$apache" = 'yes' ]; then
|
|
if [ "$apache" = 'yes' ]; then
|
|
|
cp -f $HESTIA_INSTALL_DIR/pga/phppgadmin.conf /etc/apache2/conf.d/phppgadmin.inc
|
|
cp -f $HESTIA_INSTALL_DIR/pga/phppgadmin.conf /etc/apache2/conf.d/phppgadmin.inc
|
|
|
fi
|
|
fi
|
|
|
- cp -f $HESTIA_INSTALL_DIR/pga/config.inc.php /etc/phppgadmin/
|
|
|
|
|
|
|
|
|
|
write_config_value "DB_PGA_ALIAS" "phppgadmin"
|
|
write_config_value "DB_PGA_ALIAS" "phppgadmin"
|
|
|
$HESTIA/bin/v-change-sys-db-alias 'pga' "phppgadmin"
|
|
$HESTIA/bin/v-change-sys-db-alias 'pga' "phppgadmin"
|