dragon5006 2012-08-19 08:48
浏览 62
已采纳

Mac上memcached的GUI安装程序?

I'm looking for a way to install memcached on my Mac running Lion, but I have no idea how to use terminal. Is there an easy to use GUI package to install it instead?

  • 写回答

1条回答 默认 最新

  • dqkmn26444 2012-08-21 15:20
    关注

    There is no easy GUI for installing memcached server. You can use an OSX package manager, like HomeBrew or MacPorts, but will still need to use terminal. I'd recommend installing everything from source, as this is a good introduction to how the underlying UNIX system works.

    Install trough package manager

    HomeBrew

    $ brew install memcached
    

    Macports

    $ sudo port install memcached
    

    Install from source

    1. Install XCode from AppStore

    XCode will install the basic libraries and applications to compile source code into an executable application. XCode was shipped on the install disc that came with your Mac, but is now available for free download in the AppStore. Additional set-up will be needed, depending on your version of XCode.

    2. Install autconfig, automake, libevent, and then memcached

    Memcached will require a few dependencies; which, is handled automatically by the listed package managers. Each dependencies & memcached follow the same Terminal commands to install: ./configure, make, and make install. This becomes very easy with experience. Here's an example.

    # Download source
    $ curl -O http://memcached.googlecode.com/files/memcached-1.4.14.tar.gz
    
    # Extract files
    $ tar zvxf memcached-1.4.14.tar.gz
    
    # Change working directory to newly extracted files
    $ cd memcached-1.4.14
    
    # Configure source to your local machine
    $ ./configure
    
    # Compile the application
    $ make
    
    # Install application on your system
    $ sudo make install
    

    Heres' where you can find the needed libraries & such

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度