Disable Banner in Apache Server

Loading

The Apache server banner reveals details such as the server version and operating system in HTTP headers and error pages. This information can be leveraged by malicious users to launch targeted attacks. Disabling the banner helps to harden your server and reduce its exposure. Open your Apache configuration fileDepending on your system, edit one of…

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…

Basic commands of Docker

Loading

If you are a beginners in docker, then you have to Below are the basic commands for docker For pull the docker image # docker pull image:tag Note: If you not mentioned the tag, then it will automatically pick the “latest” tag. so the command looks like below # docker pull ubuntu:latest Show docker images…

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…

Bandwidth monitor via Zabbix server

Loading

Zabbix server gives you bandwidth calculation via “net.if.in[eth0,bytes]” and “net.if.out[eth0,bytes]” functions. But sometime you might face some issue with this functions, e.g. sometime might be your actual bandwidth data mismatch with the Zabbix server shown data. So, for the mitigate this problem you can use this solution. If you face any issue regarding this please comment…