Commit c22523d6 authored by w4t's avatar w4t

wtserver 0.19

parent f6710673
......@@ -261,13 +261,15 @@ EOF
chown -R mail:mail "$STORAGE_ROOT/mail/sieve"
# Allow the IMAP/POP ports in the firewall.
ufw_allow imaps
ufw_allow pop3s
#ufw_allow imaps
#ufw_allow pop3s
ufw allow imaps > /dev/null;
ufw allow pop3s > /dev/null;
# Allow the Sieve port in the firewall.
ufw_allow sieve
#ufw_allow sieve
ufw allow pop3s > /dev/null;
# Restart services.
# Restart services
restart_service dovecot
echo -e "[${green}DONE${NC}]"
......
This diff is collapsed.
......@@ -237,7 +237,7 @@ EOF
echo -n -e "$IDENTATION_LVL_1 Installing PHP and modules... "
# apt_install php8.2-mcrypt mcrypt # már nem ajánlatos használni, max a régi php-éknál
apt_install php8.2 php8.2-common php8.2-dev php8.2-bcmath php8.2-exif php8.2-gd php8.2-mysql php8.2-imap php8.2-cli php8.2-cgi php-pear libruby php8.2-curl php8.2-intl php8.2-pspell php8.2-sqlite3 php8.2-tidy php8.2-xmlrpc php8.2-xsl memcached php-memcache php8.2-memcached imagemagick php8.2-imagick php-php-gettext php8.2-zip php8.2-mbstring php8.2-soap php8.2-snmp php8.2-xml php8.2-pdo php8.2-pdo-mysql php8.2-pdo-sqlite php8.2-pdo-pgsql php8.2-pgsql php8.2-ssh2 php8.2-xdebug php8.2-mysqlnd php8.2-mysqli php8.2-posix php8.2-simplexml php8.2-ftp php8.2-fpm php8.2-opcache php-apcu
apt_install php8.2 php8.2-common php8.2-dev php8.2-bcmath php8.2-exif php8.2-gd php8.2-mysql php8.2-imap php8.2-cli php8.2-cgi php-pear libruby php8.2-curl php8.2-intl php8.2-pspell php8.2-sqlite3 php8.2-tidy php8.2-xmlrpc php8.2-xsl memcached php-memcache php8.2-memcached imagemagick php8.2-imagick php-php-gettext php8.2-zip php8.2-mbstring php8.2-soap php8.2-snmp php8.2-xml php8.2-pdo php8.2-pdo-mysql php8.2-pdo-sqlite php8.2-pdo-pgsql php8.2-pgsql php8.2-ssh2 php8.2-xdebug php8.2-mysqlnd php8.2-mysqli php8.2-posix php8.2-simplexml php8.2-ftp php8.2-fpm php8.2-opcache php8.2-apcu
#php8.2-openssl php8.2-json
......@@ -281,6 +281,12 @@ EOF
#sed -i -e '/worker_processes/c\worker_processes 5;' /etc/nginx/nginx.conf
echo -e "[${green}DONE${NC}]"
# APCu és Memcache konfiguráció hozzáadása
echo -n -e "$IDENTATION_LVL_1 Adding APCu and Memcache configuration... "
echo "extension=apcu.so" | sudo tee /etc/php/8.2/fpm/conf.d/20-apcu.ini > /dev/null
echo "extension=memcache.so" | sudo tee /etc/php/8.2/fpm/conf.d/20-memcache.ini > /dev/null
echo -e "[${green}DONE${NC}]"
echo -n -e "$IDENTATION_LVL_1 Reloading PHP-FPM and Nginx... "
hide_output systemctl reload php8.2-fpm
systemctl restart nginx
......
......@@ -354,6 +354,9 @@ if [ -f /etc/debian_version ]; then
if [ "$CFG_SETUP_NS" == "yes" ] || [ "$CFG_MULTISERVER" == "no" ]; then
InstallBind
fi
InstallFail2ban
if [ "$CFG_SETUP_MAIL" == "yes" ] || [ "$CFG_MULTISERVER" == "no" ]; then
InstallPostfix
InstallMTA
......@@ -364,7 +367,6 @@ if [ -f /etc/debian_version ]; then
fi
InstallWebStats
InstallFail2ban
if [ "$CFG_SETUP_MASTER" == "yes" ] || [ "$CFG_MULTISERVER" == "no" ]; then
InstallISPConfig
......
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