windows10 memcachedd 安装时windows要怎么设置

推荐这篇日记的豆列
······1493人阅读
windows 7 64bit 环境下安装memcached
1、下载后解压到D:\memcached(下载地址:)
2、安装到windows服务,打开cmd命令行,进入memcached目录,执行memcached -d install命令,安装服务。
&&&& 如果在没有安装过的情况下,出现&failed to install service or service already installed&错误,可能是cmd.exe需要用管理员身份运行。
3、启动服务,执行memcached -d start
4、参数介绍
&&&&&-p 监听的端口&
&&& -l 连接的IP地址, 默认是本机&
&& -d start 启动memcached服务&
&& -d restart 重起memcached服务&
&& -d stop|shutdown 关闭正在运行的memcached服务&
&& -d install 安装memcached服务&
&& -d uninstall 卸载memcached服务&
&& -u 以的身份运行 (仅在以root运行的时候有效)&
&& -m 最大内存使用,单位MB。默认64MB&
&& -M 内存耗尽时返回错误,而不是删除项&
&& -c 最大同时连接数,默认是1024&
&& -f 块大小增长因子,默认是1.25&
&& -n 最小分配空间,key+value+flags默认是48&
&& -h 显示帮助
5、修改参数,windows下需要通过修改注册表信息进行设置,打开注册表,找&
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\memcached&
在其中有一个“ImagePath”项,值为:&
&D:\memcached\memcached.exe& -d runservice&
在后面加上“-m 1024 -c 2048 -p 11210”。等即可。重启服务后生效
需要使用管理员身份启动cmd才能完成这个工作
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:4364次
排名:千里之外
转载:16篇
(3)(2)(1)(2)(1)(3)(2)(1)(2)(2)(1)温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!&&|&&
编程如写散文。
LOFTER精选
网易考拉推荐
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
本文转载自HappyFa
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
历史上的今天
loftPermalink:'',
id:'fks_',
blogTitle:'【转载】Windows下Memcached的安装与配置',
blogAbstract:'&&&&&&&& 由于项目的需要,需要用到缓存的技术,所以急忙了解关于PHP的缓存机制,一下先看看Memcached的安装和配置过程,希望和初学者共勉。
&&&&&&&& 1.下载Windows版的memache的压缩包,下载地址('
{list a as x}
{if x.moveFrom=='wap'}
{elseif x.moveFrom=='iphone'}
{elseif x.moveFrom=='android'}
{elseif x.moveFrom=='mobile'}
${a.selfIntro|escape}{if great260}${suplement}{/if}
{list a as x}
推荐过这篇日志的人:
{list a as x}
{if !!b&&b.length>0}
他们还推荐了:
{list b as y}
转载记录:
{list d as x}
{list a as x}
{list a as x}
{list a as x}
{list a as x}
{if x_index>4}{break}{/if}
${fn2(x.publishTime,'yyyy-MM-dd HH:mm:ss')}
{list a as x}
{if !!(blogDetail.preBlogPermalink)}
{if !!(blogDetail.nextBlogPermalink)}
{list a as x}
{if defined('newslist')&&newslist.length>0}
{list newslist as x}
{if x_index>7}{break}{/if}
{list a as x}
{var first_option =}
{list x.voteDetailList as voteToOption}
{if voteToOption==1}
{if first_option==false},{/if}&&“${b[voteToOption_index]}”&&
{if (x.role!="-1") },“我是${c[x.role]}”&&{/if}
&&&&&&&&${fn1(x.voteTime)}
{if x.userName==''}{/if}
网易公司版权所有&&
{list x.l as y}
{if defined('wl')}
{list wl as x}{/list}&&国之画&&&& &&
版权所有 京ICP备号-2
迷上了代码!}

我要回帖

更多关于 memcached windows 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信