Nginx – Regular Expression Tester

  For quick testing of Nginx regular expressions, you can use a ready-made docker image. To do this, you need to clone the NGINX-Demos repository:   Follow to the "nginx-regex-tester" directory:   And launch the container using "docker-compose":   And open the next page: http://localhost/regextester.php  

 MySQL – Reset root password

We stop the mysqld service and start it with the following keys:   Log in without a password:   And run:   Now the mysqld service running in the background needs to be stopped. We look at the process ID:   Kill the process:   And start the mysqld service:

Nginx – SSL A+

To enhance cryptography, you must use the Diffie-Hellman parameter file with a length of at least 4096 bits. Let’s create a file like this: Will be added to the Nginx config file: You can use the following service to check: ssllabs.com

Ubuntu – rc.local

Faced with the fact that in Ubuntu there is no usual CentOS file with me "rc.local", the solution is the following. Create a service: with the following content: Create the file"rc.local" and add it to the execution bit: