Update dapostinstall.sh
This commit is contained in:
+3
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user