Bind Mount

There are a few ways to bind mount a site to a specific directory. I like this method the very best.  mount –bind /var/www/mydomain.com/sub.mydomain.com/ /home/sub.mydomain.com/data/(This will bind mount the directory /var/www/mydomain.com/sub.mydomain.com/ to /home/sub.mydomain.com/data/) cat /etc/mtab(This will show you that the bind mount is now mounted) cp /etc/fstab{,.bak}(This will make a backup copy of the fstab configuration file…

Fail2ban Commands

The commands presented above can be executed using: $ fail2ban-client <COMMAND> or by typing them in the interactive console available with: $ fail2ban-client -i BASIC Command Description start starts the server and the jails reload reloads the configuration reload <JAIL> reloads the jail <JAIL> stop stops all jails and terminate the server status gets the…