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 - https://pkg.cloudflare.com/pubkey.gpg | sudo apt-key add -
echo "deb http://pkg.cloudflare.com/ `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