Skip to content

Commit

Permalink
update links
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-graduan committed May 31, 2019
1 parent 50a9837 commit 471fcf6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
8 changes: 4 additions & 4 deletions Mysql/Init.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Confirm the changes are active by entering the MySQL shell and running the follo

`show variables like '%slow%';`

![https://stackoverflow.com/questions/22609257/how-do-i-enable-the-mysql-slow-query-log](https://stackoverflow.com/questions/22609257/how-do-i-enable-the-mysql-slow-query-log)
[How do I enable the MySQL slow query log? [duplicate]](https://stackoverflow.com/questions/22609257/how-do-i-enable-the-mysql-slow-query-log)

## Disable SQL Mode

Expand All @@ -76,9 +76,9 @@ Only run this features in Sequel Pro

Mysql usage more than 100%

[https://serverfault.com/questions/220188/mysql-process-goes-over-100-of-cpu-usage](https://serverfault.com/questions/220188/mysql-process-goes-over-100-of-cpu-usage)
[MySQL process goes over 100% of CPU usage](https://serverfault.com/questions/220188/mysql-process-goes-over-100-of-cpu-usage)

## Reference

* [https://www.digitalocean.com/community/tutorials/how-to-set-up-a-remote-database-to-optimize-site-performance-with-mysql](https://www.digitalocean.com/community/tutorials/how-to-set-up-a-remote-database-to-optimize-site-performance-with-mysql)
* [https://www.digitalocean.com/community/tutorials/how-to-create-a-new-user-and-grant-permissions-in-mysql](https://www.digitalocean.com/community/tutorials/how-to-create-a-new-user-and-grant-permissions-in-mysql)
* [How To Set Up a Remote Database to Optimize Site Performance with MySQL](https://www.digitalocean.com/community/tutorials/how-to-set-up-a-remote-database-to-optimize-site-performance-with-mysql)
* [How To Create a New User and Grant Permissions in MySQL](https://www.digitalocean.com/community/tutorials/how-to-create-a-new-user-and-grant-permissions-in-mysql)
14 changes: 7 additions & 7 deletions Php/php7.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ then

Trace slow php script

* [https://easyengine.io/tutorials/php/fpm-slow-log/](https://easyengine.io/tutorials/php/fpm-slow-log/)
* [https://serversforhackers.com/c/php-fpm-process-management](https://serversforhackers.com/c/php-fpm-process-management)
* [Debugging PHP Scripts Using slow_log and more](https://easyengine.io/tutorials/php/fpm-slow-log/)
* [PHP-FPM: Process Management](https://serversforhackers.com/c/php-fpm-process-management)

Logs location

Expand Down Expand Up @@ -94,11 +94,11 @@ post_max_size = 40M

## Issues

* [https://serverpilot.io/community/articles/how-to-read-the-php-slow-request-log.html](https://serverpilot.io/community/articles/how-to-read-the-php-slow-request-log.html)
* [https://www.digitalocean.com/community/questions/wordpress-502-504-errors-nginx-php-fpm](https://www.digitalocean.com/community/questions/wordpress-502-504-errors-nginx-php-fpm)
* [https://myshell.co.uk/blog/2012/07/adjusting-child-processes-for-php-fpm-nginx/](https://myshell.co.uk/blog/2012/07/adjusting-child-processes-for-php-fpm-nginx/)
* [How to Read the PHP Slow Request Log](https://serverpilot.io/community/articles/how-to-read-the-php-slow-request-log.html)
* [Wordpress 502 & 504 Errors NGINX & PHP-FPM](https://www.digitalocean.com/community/questions/wordpress-502-504-errors-nginx-php-fpm)
* [Adjusting child processes for PHP-FPM (Nginx)](https://myshell.co.uk/blog/2012/07/adjusting-child-processes-for-php-fpm-nginx/)

## Reference

* [https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-php-7-on-ubuntu-14-04](https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-php-7-on-ubuntu-14-04)
* [https://www.kinamo.be/en/support/faq/determining-the-correct-number-of-child-processes-for-php-fpm-on-nginx](https://www.kinamo.be/en/support/faq/determining-the-correct-number-of-child-processes-for-php-fpm-on-nginx)
* [How To Upgrade to PHP 7 on Ubuntu 14.04](https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-php-7-on-ubuntu-14-04)
* [Determining the correct number of child processes for PHP-FPM on NGinx](https://www.kinamo.be/en/support/faq/determining-the-correct-number-of-child-processes-for-php-fpm-on-nginx)
3 changes: 2 additions & 1 deletion Ubuntu/cheat_sheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,5 @@ Delete all .gz and rotated file
* [How do I remove multiple files with a common prefix and suffix?](https://unix.stackexchange.com/questions/37350/how-do-i-remove-multiple-files-with-a-common-prefix-and-suffix)
* [Delete all of Var Log](https://serverfault.com/questions/185253/delete-all-of-var-log)
* [Find Top Large Directories and Files Sizes in Linux](https://www.tecmint.com/find-top-large-directories-and-files-sizes-in-linux/)
* [How to truncate all logfiles?](https://askubuntu.com/questions/266738/how-to-truncate-all-logfiles#266740)
* [How to truncate all logfiles?](https://askubuntu.com/questions/266738/how-to-truncate-all-logfiles#266740)
* [Linux List All Users In The System](https://www.cyberciti.biz/faq/linux-list-users-command/)

0 comments on commit 471fcf6

Please sign in to comment.