Skip to content

Instantly share code, notes, and snippets.

@crifkin
crifkin / gist:6180184
Last active December 20, 2015 18:59
memcache info
settings.php
$conf['cache_backends'][] = 'sites/all/modules/contrib/memcache/memcache.inc';
$conf['cache_default_class'] = 'MemCacheDrupal';
$conf['cache_class_cache_form'] = 'DrupalDatabaseCache';
$conf['memcache_key_prefix'] = 'crif_dev';
$conf['memcache_servers'] = array(
'127.0.0.1:11211' => 'default'
);
$conf['memcache_bins'] = array(
'cache' => 'default',
@crifkin
crifkin / gist:5986419
Created July 12, 2013 17:57
Crifkin 2013 DCLA Vagrant help
NOTE: version numbers are at the time of this writing
1. Download and install Virtualbox (4.2.16)
2. Download and install Vagrant (1.2.3)
3. Check ruby and rubygems versions
4. Install berkshelf gem
gem install berkshelf --version '>= 1.4.0'
5. Install berkshelf vagrant plugin
vagrant plugin install vagrant-berkshelf --plugin-version '1.2.0'
6. Add vagrant basebox provided in Crifkin Training package (precise64_chef11.box)