버전 비교

  • 이 줄이 추가되었습니다.
  • 이 줄이 삭제되었습니다.
  • 서식이 변경되었습니다.

...

Sv translation
languageen
  • This document follows describes Memcached setup


정보
titleMemcached support several OS, But we recommand Linux
  • this document write This document is written for CentOS 


Ready to Install


  1. Download Memcached ( https://github.com/memcached/memcached/wiki/ReleaseNotes)
  2. Download Libevent (http://libevent.org/)


Install


  1. Install Libevent

    tar xzvf libevent-2.0.22-stable.tar.gz
    cd libevent-2.0.22-stable
    ./configure make;
    make install
  2. Install Memcached

    tar xzvf memcached-1.4.14.tar.gz
    cd memcached-1.4.14 .
    /configure –prefix=/usr/local/memcached –with-libevent=/usr/local/ make;
    make install


How to run Memcached


  1. Run Memcached

    ./bin/memcached –d –m 2048 –l 0.0.0.0 –p 11211 –u <userid>

    -Run with d daemon -Allot m cache memory (e.g., 2048 -> 2Gb)

    -l IP binding is 0.0.0.0

    -p port is 11211

    -User account to run u

  2. Check status for Memcached