From 471fcf6f5685777113fd70e1ba59da60b7aa6ef5 Mon Sep 17 00:00:00 2001 From: Adib Noh Date: Fri, 31 May 2019 14:28:13 +0800 Subject: [PATCH] update links --- Mysql/Init.md | 8 ++++---- Php/php7.md | 14 +++++++------- Ubuntu/cheat_sheet.md | 3 ++- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/Mysql/Init.md b/Mysql/Init.md index 024b213..346f323 100644 --- a/Mysql/Init.md +++ b/Mysql/Init.md @@ -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 @@ -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) \ No newline at end of file +* [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) \ No newline at end of file diff --git a/Php/php7.md b/Php/php7.md index 03cad5e..6b95efa 100644 --- a/Php/php7.md +++ b/Php/php7.md @@ -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 @@ -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) \ No newline at end of file +* [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) \ No newline at end of file diff --git a/Ubuntu/cheat_sheet.md b/Ubuntu/cheat_sheet.md index d363596..f633abf 100644 --- a/Ubuntu/cheat_sheet.md +++ b/Ubuntu/cheat_sheet.md @@ -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) \ No newline at end of file +* [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/) \ No newline at end of file