Does anyone have correct installation instructions for mod_cloudflare on Ubuntu 14.04?

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?

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

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Maybe this: ?

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 <RELEASE> main’ | sudo tee /etc/apt/sources.list.d/cloudflare-main.list

For example: $ echo ‘deb trusty main’ | sudo tee /etc/apt/sources.list.d/cloudflare-main.list

Import GPG key: $ curl -C - | 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