Update dapostinstall.sh

This commit is contained in:
Marek Miklewicz
2022-05-08 20:12:36 +02:00
committed by GitHub
parent 2961ac75e9
commit ce455824fa
+3 -2
View File
@@ -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