How To Install mod_cloudflare for Apache on Ubuntu

Install mod_cloudflare for Apache

First of all, enable the PPA of Cloudflare module to your Ubuntu system.

curl -C - | sudo apt-key add -
echo "deb `lsb_release -cs` main" | sudo tee /etc/apt/sources.list.d/cloudflare.list

Then update Apt cache and install libapache2-mod-cloudflare on your Ubuntu system.

sudo apt-get update
sudo apt-get install libapache2-mod-cloudflare

Finally reboot Apache2 service and check the active modules using the following commands.

sudo service apache2 restart
sudo apache2ctl -M

Was this answer helpful?

Related Articles

How to Enable CSF Firewall Web UI

Step 1 – Install Required Perl Modules: CSF UI required some of Perl modules to be installed...

How to Install and Configure CSF Firewall on Linux

Step 1: Download CSF Source Archive Download latest CSF archive source code from its official...

How To Install Wine 4.0 on CentOS 8 & Fedora 30/29

Step 1 – Prerequisite First of all, become root user on your CentOS 8 system. Then continue to...

How to Install Fail2Ban on CentOS 8 & Fedora 30/29

Step 1 – Install Fail2ban on CentOS 8 First of all, install epel-release package to configure...

How To Install MariaDB on Debian 10 (Buster)

Step 1 – Prerequsiteis You can find the MariaDB Apt configuration file from the official...