Monday, May 24, 2010

3 step Memcache install in ubuntu with rails binding

#To Install memecache
sudo apt-get install memcached
#To restart memcahce
/etc/init.d/memcached restart
#To install ruby binding gem to memecache
sudo gem install memcached




and to start memcache automatically on system startup
sudo gedit /etc/default/memcached
# Set this to yes to enable memcached.
ENABLE_MEMCACHED=yes

4 comments:

  1. I found I needed the memcached-client gem, not memcached

    And I needed to add a line in my rails environment config:

    config.cache_store = :mem_cache_store

    In fact, are we even doing the same thing here? Maybe not

    ReplyDelete
  2. :) first two steps are to install and start memcache service on Ubuntu and then from step 3 its about rails different gem

    ReplyDelete
  3. On this page you can read my interests, write something special. http://www.3gapps.de/barcodescan

    ReplyDelete

Honda Civic & A/C problems.

Hello Friends, Got a post again on to Honda Civic (The good old favorite commuter of mine). This car has been doing great except for so...