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: