Last active
May 18, 2016 07:42
-
-
Save Sacristan/26d0a5176a92c9d2e0bb1d44b04b64a5 to your computer and use it in GitHub Desktop.
Revisions
-
Sacristan renamed this gist
May 18, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,6 +5,8 @@ sudo rvim /etc/mysql/my.cnf 80% RAM to innodb_buffer_pool_size -> https://www.percona.com/blog/2015/06/02/80-ram-tune-innodb_buffer_pool_size/ #XMLRPC issues Search for XMLRPC POST logs ``` grep xmlrpc.php /var/log/apache2/access.log @@ -20,8 +22,6 @@ Deny from all </Files> ``` #GET memory usage http://php.net/manual/en/function.memory-get-usage.php -
Sacristan revised this gist
May 18, 2016 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -13,11 +13,12 @@ grep xmlrpc.php /var/log/apache2/access.log * /var/www/html/.htaccess Add this line to deny access to xmlrpc.php ``` <Files "xmlrpc.php"> Order Deny,Allow Deny from all </Files> ``` find / -xdev -type f -print0 | xargs -0 grep -H "ini_set('memory_limit'" -
Sacristan revised this gist
May 18, 2016 . 1 changed file with 9 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,6 +10,15 @@ Search for XMLRPC POST logs grep xmlrpc.php /var/log/apache2/access.log ``` * /var/www/html/.htaccess Add this line to deny access to xmlrpc.php <Files "xmlrpc.php"> Order Deny,Allow Deny from all </Files> find / -xdev -type f -print0 | xargs -0 grep -H "ini_set('memory_limit'" #GET memory usage -
Sacristan revised this gist
May 16, 2016 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -20,8 +20,9 @@ http://stackoverflow.com/questions/10738990/ini-set-ini-get-memory-limit-restori #SET PHP memory limit Wordpress source: http://ideaboxthemes.com/increase-php-memory-limit-wordpress/ ``` sudo rvim /etc/php5/apache2/php.ini memory_limit = 128M memory_limit = -1 (unlimited) ``` -
Sacristan revised this gist
May 16, 2016 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ #Edit MySQL config: ``` sudo rvim /etc/mysql/my.cnf ``` @@ -12,13 +12,13 @@ grep xmlrpc.php /var/log/apache2/access.log find / -xdev -type f -print0 | xargs -0 grep -H "ini_set('memory_limit'" #GET memory usage http://php.net/manual/en/function.memory-get-usage.php #PHP memory limit http://stackoverflow.com/questions/10738990/ini-set-ini-get-memory-limit-restoring-memory-php #SET PHP memory limit Wordpress http://ideaboxthemes.com/increase-php-memory-limit-wordpress/ sudo rvim /etc/php5/apache2/php.ini -
Sacristan revised this gist
May 16, 2016 . 1 changed file with 8 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ * Edit MySQL config: * ``` sudo rvim /etc/mysql/my.cnf ``` @@ -12,10 +12,14 @@ grep xmlrpc.php /var/log/apache2/access.log find / -xdev -type f -print0 | xargs -0 grep -H "ini_set('memory_limit'" * GET memory usage * http://php.net/manual/en/function.memory-get-usage.php * PHP memory limit* http://stackoverflow.com/questions/10738990/ini-set-ini-get-memory-limit-restoring-memory-php * SET PHP memory limit Wordpress * http://ideaboxthemes.com/increase-php-memory-limit-wordpress/ sudo rvim /etc/php5/apache2/php.ini memory_limit = 128M -
Sacristan revised this gist
May 16, 2016 . 1 changed file with 8 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -13,4 +13,11 @@ grep xmlrpc.php /var/log/apache2/access.log find / -xdev -type f -print0 | xargs -0 grep -H "ini_set('memory_limit'" GET memory usage -> http://php.net/manual/en/function.memory-get-usage.php PHP memory limit -> http://stackoverflow.com/questions/10738990/ini-set-ini-get-memory-limit-restoring-memory-php SET PHP memory limit Wordpress http://ideaboxthemes.com/increase-php-memory-limit-wordpress/ sudo rvim /etc/php5/apache2/php.ini memory_limit = 128M memory_limit = -1 (unlimited) -
Sacristan revised this gist
May 16, 2016 . 1 changed file with 6 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,4 +8,9 @@ sudo rvim /etc/mysql/my.cnf Search for XMLRPC POST logs ``` grep xmlrpc.php /var/log/apache2/access.log ``` find / -xdev -type f -print0 | xargs -0 grep -H "ini_set('memory_limit'" GET memory usage -> http://php.net/manual/en/function.memory-get-usage.php PHP memory limit -> http://stackoverflow.com/questions/10738990/ini-set-ini-get-memory-limit-restoring-memory-php -
Sacristan renamed this gist
May 11, 2016 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Sacristan revised this gist
May 11, 2016 . 1 changed file with 6 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,11 @@ Edit MySQL config: ``` sudo rvim /etc/mysql/my.cnf ``` 80% RAM to innodb_buffer_pool_size -> https://www.percona.com/blog/2015/06/02/80-ram-tune-innodb_buffer_pool_size/ Search for XMLRPC POST logs ``` grep xmlrpc.php /var/log/apache2/access.log ``` -
Sacristan revised this gist
May 11, 2016 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,7 @@ Edit MySQL config: ``` sudo rvim /etc/mysql/my.cnf ``` 80% RAM to innodb_buffer_pool_size -> https://www.percona.com/blog/2015/06/02/80-ram-tune-innodb_buffer_pool_size/ Search for XMLRPC POST logs ```grep xmlrpc.php /var/log/apache2/access.log``` -
Sacristan revised this gist
May 11, 2016 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ sudo rvim /etc/mysql/my.cnf 80% RAM to innodb_buffer_pool_size -> https://www.percona.com/blog/2015/06/02/80-ram-tune-innodb_buffer_pool_size/ grep xmlrpc.php /var/log/apache2/access.log -
Sacristan created this gist
May 11, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ sudo rvim /etc/mysql/my.cnf https://www.percona.com/blog/2015/06/02/80-ram-tune-innodb_buffer_pool_size/