Skip to content

Instantly share code, notes, and snippets.

@cwoodcox
Created September 15, 2011 04:03
Show Gist options
  • Save cwoodcox/1218507 to your computer and use it in GitHub Desktop.
Save cwoodcox/1218507 to your computer and use it in GitHub Desktop.
chuck@chuck:~/Sites/fastfill → ruby-1.9.2-p290@fastfill → master $ brew install memcached
==> Installing memcached dependency: libevent
==> Downloading http://monkey.org/~provos/libevent-2.0.12-stable.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libevent/2.0.12
==> make install
/usr/local/Cellar/libevent/2.0.12: 47 files, 1.9M, built in 37 seconds
==> Installing memcached
==> Downloading http://memcached.googlecode.com/files/memcached-1.4.6.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/memcached/1.4.6
==> make install
==> Caveats
You can enable memcached to automatically load on login with:
mkdir -p ~/Library/LaunchAgents
cp /usr/local/Cellar/memcached/1.4.6/com.danga.memcached.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/com.danga.memcached.plist
Or start it manually:
/usr/local/bin/memcached
Add "-d" to start it as a daemon.
==> Summary
/usr/local/Cellar/memcached/1.4.6: 8 files, 152K, built in 9 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment