Report this

What is the reason for this report?

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

Posted on December 4, 2015

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



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!

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.

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

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.