Presupposition
- Debian based OS
running within Aegir - Memcached Storage installed for
- Memcached service running on the system
Create a new instance of Memcached
New instance of Memcached should be created for every
cd /etc
rsync -a memcached.conf memcached_<site_com>.conf
vim memcached_<site_com>.conf - (change the port number - increase by one), save
service memcached start
Enable Memcache Storage
su aegir
drush @<site_com> en memcache_storage
Add local.settings.php
Settings.php in the
cd /var/aegir/platforms/<my_platform>/sites/<site_com>
touch local.settings.php
chown aegir:aegir local.settings.php
chmod 444 local.settings.php
chmod +w local.settings.php
vim local.settings.php (change the "X" for the number of the port we crated in point 3 in the first section)
'default');
$conf['memcache_bins'] = array('cache' => 'default');
?>
chmod -w local.settings.php
verify <site_com>