首页 > 代码库 > mamcache的安装

mamcache的安装

这个软件本身就是一个服务器端。

下载exe文件,把exe文件粘贴到wamp\bin路径下面。

打开命令行窗口,进入到安装目录,执行mamcached.exe。

 

安装好后启动服务,

到任务管理其中找到端口,为11211.

重新开一个命令行窗口,输入ipconfig,即可查看本地的ip。

输入telnet 本地ip 11211,就可以连接到mamacached上

在继续输入stats 就可以看到mamacached的状态信息

STAT pid 16096
STAT uptime 2470
STAT time 1417335494
STAT version 1.4.13
STAT libevent 2.0.21-stable
STAT pointer_size 64
STAT curr_connections 10
STAT total_connections 11
STAT connection_structures 11
STAT reserved_fds 20
STAT cmd_get 0
STAT cmd_set 0
STAT cmd_flush 0
STAT cmd_touch 0
STAT get_hits 0
STAT get_misses 0
STAT delete_misses 0
STAT delete_hits 0
STAT incr_misses 0
STAT incr_hits 0
STAT decr_misses 0
STAT decr_hits 0
STAT cas_misses 0
STAT cas_hits 0
STAT cas_badval 0
STAT touch_hits 0
STAT touch_misses 0
STAT auth_cmds 0
STAT auth_errors 0
STAT bytes_read 24
STAT bytes_written 14
STAT limit_maxbytes 67108864
STAT accepting_conns 1
STAT listen_disabled_num 0
STAT threads 4
STAT conn_yields 0
STAT hash_power_level 16
STAT hash_bytes 524288
STAT hash_is_expanding 0
STAT expired_unfetched 0
STAT evicted_unfetched 0
STAT bytes 0
STAT curr_items 0
STAT total_items 0
STAT evictions 0
STAT reclaimed 0

 

输入quit即可退出服务器。

 

 

 

 

mamcache的安装