专注于 JetBrains IDEA 全家桶,永久激活,教程
持续更新 PyCharm,IDEA,WebStorm,PhpStorm,DataGrip,RubyMine,CLion,AppCode 永久激活教程

Mac OS使用brew安装memcached

1.查看安装信息

brew info memcached

显示如下:

memcached: stable 1.5.9 (bottled)
High performance, distributed memory object caching system
https://memcached.org/
Conflicts with:
  mysql-cluster (because both install `bin/memcached`)
/usr/local/Cellar/memcached/1.5.9 (11 files, 199.3KB) *
  Poured from bottle on 2018-08-08 at 17:23:04
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/memcached.rb
==> Dependencies
Required: libevent ✔
==> Options
--with-sasl
    Enable SASL support -- disables ASCII protocol!
--with-sasl-pwdb
    Enable SASL with memcached's own plain text password db support -- disables ASCII protocol!
==> Caveats
To have launchd start memcached now and restart at login:
  brew services start memcached
Or, if you don't want/need a background service you can just run:
  /usr/local/opt/memcached/bin/memcached

2.安装依赖项libevent

brew install libevent 

3.安装memcached

brew install memcached

4.启动

brew services start memcached

5.查看是否已经成功启动

ps -ef|grep memcached

输出如下:

501 57972     1   0  5:27下午 ??         0:00.04 /usr/local/opt/memcached/bin/memcached -l localhost
  501 58160   707   0  5:31下午 ttys000    0:00.00 grep memcached

6.测试连接

telnet localhost 11211

文章永久链接:https://tech.souyunku.com/32216

未经允许不得转载:搜云库技术团队 » Mac OS使用brew安装memcached

JetBrains 全家桶,激活、破解、教程

提供 JetBrains 全家桶激活码、注册码、破解补丁下载及详细激活教程,支持 IntelliJ IDEA、PyCharm、WebStorm 等工具的永久激活。无论是破解教程,还是最新激活码,均可免费获得,帮助开发者解决常见激活问题,确保轻松破解并快速使用 JetBrains 软件。获取免费的破解补丁和激活码,快速解决激活难题,全面覆盖 2024/2025 版本!

联系我们联系我们