By victoraprea
I was following this tutorial https://www.digitalocean.com/community/tutorials/how-to-install-and-use-memcache-on-ubuntu-14-04. Unfortunately I don’t think it worked because I’m running the stock Ubuntu 14.04 image for Ruby on Rails that runs on Nginx and Unicorn. So when I do the steps in those instructions I get all sorts of fails during the step (associated with apache2):
sudo apt-get install mysql-server php5-mysql php5 php5-memcached memcached
So can someone please provide modified/alternative instructions for the Nginx/Unicorn case and Ruby on Rails (ideally for use with the Dalli memcached client)?
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!
You can help by posting the errors here so we can know what is wrong and help you.
Actually, in my case, I think all that’s needed is: sudo apt-get install memcached. I verified it was actually running by executing /etc/init.d/memcached status and saw:
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.