Redirect all http page to https with www

Loading

Hello, it is very simple to redirect all HTTP requests to HTTPS with www. I am doing it here from the apache end however, you can do it from your DNS panel also. First, you have to enable the mod_rewrite module in apache. By typing below command you can see which modules are enabled to…

Increase SSH session timeout

Loading

If you facing SSH session disconnecting problem then please follow the below steps: This tutorial increase your ssh session. In my case I will increase it to 1 day. Open the sshd configuration file with any preferable Linux text editor Add the following lines to the end of this file TCPKeepAlive yesClientAliveInterval 60ClientAliveCountMax 1440 This…

Disable password less authentication and set a root pass on MySQL 5.7

Loading

Login to the MySQL using below command use the mysql database Change the password policy to LOW Now again show the password policy Your MySQL password policy has been changed. Now you have to set a root password. To show MySQL current password structure:  Change the root password authentication method to native_password Again show the MySQL current…