三、NOSQL之Memcached缓存服务实战精讲第二部

Memcached服务安装

     Memcached的安装比较简单,很多平台都是支持Memcached,常见的有:Linux 、Windows

  服务端:    

          cd /home.oldboy/tools
           wget http://www.danga.com/memcached/dist/memcached-1.4.0.tar.gz 
           wget https://github.com/downloads/libevent/libevent/libevent-2.0.19-stable.tar.gz  
    libevent 首先进行安装:
  1. wget https://github.com/downloads/libevent/libevent/libevent-2.0.19-stable.tar.gz  
  2. tar -zxvf libevent-2.0.19-stable.tar.gz  

cd libevent-2.0.19-stable  

  1. ./configure
  2. make  
  3. make install  
 memcached服务端的安装:
  1. tar -zxvf memcached-1.4.0.tar.gz  
  2. cd memcached-1.4.0
  3. ./configure  
  4. make  
  5. make install  

猜你喜欢

转载自www.cnblogs.com/dangjingwei/p/11814388.html