I can’t believe they haven’t’ updated these but they don’t work on 14.04 at all. I know there is a manual install option but that is a real pain in the ass and requires installing all kinds of stuff. Isn’t there an easy way with apt-get?
https://www.cloudflare.com/resources-downloads/#mod_cloudflare
root@www:/root# dpkg-reconfigure unattended-upgrades
Creating config file /etc/apt/apt.conf.d/20auto-upgrades with new version root@www:/home/manuel# dpkg -i mod_cloudflare-XXXXX.latest.deb dpkg: error processing archive mod_cloudflare-XXXXX.latest.deb (–install): cannot access archive: No such file or directory Errors were encountered while processing: mod_cloudflare-XXXXX.latest.deb
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
Maybe this: https://pkg.cloudflare.com/ ?
However the error you’re getting above is because you’re supposed to replace XXXXX by the name of the file. Hence “No such file or directory”. However it doesn`t look like they have 14.04 packages available.
Here it is:
Supported versions: vivid (15.04) utopic (14.10) trusty (14.04) precise (12.04)
Usage Add the repository (replace <RELEASE> with the Ubuntu release name): $ echo ‘deb http://pkg.cloudflare.com/ <RELEASE> main’ | sudo tee /etc/apt/sources.list.d/cloudflare-main.list
For example: $ echo ‘deb http://pkg.cloudflare.com/ trusty main’ | sudo tee /etc/apt/sources.list.d/cloudflare-main.list
Import GPG key: $ curl -C - https://pkg.cloudflare.com/pubkey.gpg | sudo apt-key add -
Update apt cache: $ sudo apt-get update Supported Versions
Install package: $ sudo apt-get install libapache2-mod-cloudflare
Thank you gp+digitalocean