You can do that by using debian's package manager. So, install 'libapache2-mod-security' if it's not installed already and then you need to actually enable it. Code: apt-get update && apt-get upgrade --show-upgraded -y apt-get install libapache-mod-security -y a2enmod mod-security That's how I would install it on a Debian box
Sorry that was a typo. The package is named as: Code: ┌┤host->root / └╼ apt-cache search libapache2-mod-security libapache-mod-security - Tighten web applications security for Apache so install 'libapache-mod-security' instead of 'libapache2-mod-security'.