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
- Packages for memcached are available from the popular EPEL repository. Enable this repository if you haven't already.
- Install memcached:
No Format yum install --enable=epel memcached
- Start the single default instance:
No Format service memcached start
- Test your connectivity to it:
No Format telnet localhost 11211
- Press
Ctrl
+]
and typequit
to end the test. - Stop the default instance:
No Format service memcached stop
...
- Download the Memcache module for your core version.
- 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. - 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
...