From ce455824fac0cf8bef1aabe60f9e3a3c67b19758 Mon Sep 17 00:00:00 2001 From: Marek Miklewicz <86836305+marsonpl@users.noreply.github.com> Date: Sun, 8 May 2022 20:12:36 +0200 Subject: [PATCH] Update dapostinstall.sh --- dapostinstall.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dapostinstall.sh b/dapostinstall.sh index 942719f..88dad91 100644 --- a/dapostinstall.sh +++ b/dapostinstall.sh @@ -190,7 +190,7 @@ sed -i 's/imap=no/imap=yes/gI' /usr/local/directadmin/custombuild/php_extensions echo "Instalacja Memcache i redis" yum -y install memcached libmemcached -systenctl enable memcached +systemctl enable memcached systemctl restart memcached yum -y install redis redis-devel @@ -210,6 +210,7 @@ echo "exec,system,passthru,shell_exec,dl,popen,show_source,posix_kill,posix_mkfi "Optymalizacja MySQL" cd $DAPOSTINSTALL_DIR \cp -f my.cnf /etc/my.cnf +systemctl restart mysqld echo "Zmiana portu SSH" sed -i '/Port 22/s/^#//g' /etc/ssh/sshd_config @@ -229,5 +230,5 @@ rm -f hitmemodsec.sh daupdate antybots daupdate bbmysql daupdate klucze -cd $DAPOSTINSTALL_DIR +systemctl restart sshd