Memcached Mac

Memcached Mac 安装 与 使用

Memcached Mac 安装

安装

  • Homebrew
brew install memcached

启动

brew  services start memecached

OR

memcached -p 11211 -u nobody -c 1024 -m 64m -d -vv

停止

brew services stop memcached 

重启

brew services restart memcached 

连接

telnet 127.0.0.1 11211

插入数据测试

set test 0 0 13
memcachedTest

参考

  • https://blog.csdn.net/qq_39052513/article/details/111741430
  • https://www.jianshu.com/p/4984c652161f