Mac安装Memcached

2018-04-19 17:08:15 浏览数 (1)

1、执行 brew info memcached 查看memcached相关信息是否正确

2、memcached依赖libevent,未安装先执行 brew install libevent,已安装则忽略

3、通过homebrew安装 brew install memcached

4、启动memcached

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

5、连接memcached

telnet localhost 11211

6、退出memcached

quit

0 人点赞