Skip to content

Instantly share code, notes, and snippets.

@anthonywu
Created May 8, 2013 18:23
Show Gist options
  • Save anthonywu/5542444 to your computer and use it in GitHub Desktop.
Save anthonywu/5542444 to your computer and use it in GitHub Desktop.
Quick install memcached on Mac OS X
# install via Homebrew
brew install memcached
# optional: make memcached start along with the system
ln -sfv /usr/local/opt/memcached/*.plist ~/Library/LaunchAgents
# load memcached now for immediate use
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.memcached.plist
# check the process that just launched
ps -ef | grep memcached
@GuillermoDiazJuan
Copy link

Which is the endpoint of memcached please? I do not find it

@GustavoCaso
Copy link

Memcached listens on port 11211 by default, to change it, use the -p option.

memcached -p 8000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment