Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Warning

This was written from memory. It has not been formally tested by Four Kitchens as a procedureThese instructions have not been updated for the new single-instance optimizations in the latest Memcache module for Drupal.

Installing memcached

  1. Packages for memcached are available from the popular EPEL repository. Enable this repository if you haven't already.
  2. Install memcached:
    No Format
    yum install --enable=epel memcached
    
  3. Start the single default instance:
    No Format
    service memcached start
    
  4. Test your connectivity to it:
    No Format
    telnet localhost 11211
    
  5. Press Ctrl + ] and type quit to end the test.
  6. Stop the default instance:
    No Format
    service memcached stop
    

...

  1. Download the Memcache module for your core version.
  2. Use your project's procedure to copy the memcache module files into sites/all/modules/memcache, just as you would for any module. Do not "install" the module from Drupal's module administration page.
  3. Apply the patch attached to this wiki page to fix the statistics output of the Memcache Admin module. (There is currently only a patch for the 5.x-1.8 version of the Memcache module.)

Configuring memcached instances

...