一般情况下,我们用linux作为生产环境,但是开发还是在windows下面,所以我们需要 win版本。。但是memcache官方网站只提供了源码。
下面介绍使用第三方编译的win版本的方法:
这是一个由Kenneth Dalgleish基于Kronuz的1.2.1构建。官方的memcached的团队不对这个版本支持!
核心关键在这个:
http://splinedancer.com/memcached-win32/
memcached for Windows
This is a port of memcached to the win32 architecture by Kenneth Dalgleish, based on Kronuz's 1.2.1 port. This port is not supported by the official memcached team.
Install
The win32 version of memcached can be run both as a NT Service or from the command line. To install memcached as a service, follow the next steps:
- Unzip the binaries in your desired directory (eg. c:\memcached)
- Install the service using the command: 'c:\memcached\memcached.exe -d install' from the command line
- Start the server from the Microsoft Management Console or by running the following command: 'c:\memcached\memcached.exe -d start'
- Use the server, by default listening to port 11211
Building from source
To build from source, you will need Visual Studio 2005 (any edition with C++ should work), Windows SDK (eg.Windows SDK for Windows Server 2008 and .NET Framework 3.5) and libevent (win32 binary provided on this page).- Install Visual Studio 2005
- Install Windows SDK
- Put libevent.lib in Win32-Prj/ folder
- Open solution file and it should build
Downloads
memcached 1.2.4 Win32 Beta
- memcached 1.2.4 Win32 Beta Binaries (09.03.2008)
- memcached 1.2.4 Win32 Beta Source (09.03.2008)
- memcached 1.2.4 Win32 Beta Patch for SVN revision 662 (tag 1.2.4) (09.03.2008)
Libevent 1.3e Win32
(Needed if building from source)- Libevent 1.3e Win32 Binary (06.03.2008)
Windows下Memcache安装
1、下载memcache for windows。下载地址:http://splinedancer.com/memcached-win32/,解压到d:\memcached。
2、在命令行状态下输入: d:\memcached\memcached.exe -d install 。至此memcached已经安装成windows服务
3、在命令行下输入: d:\memcached\memcached.exe -d start 以启动memcached服务。当然也可以选择在windows服务中启动
就是这么简单,简简单单的三步memcache的服务器端就准备完毕
相关推荐
安装Memcached及Memcached配置
在终端(也即cmd命令界面)下输入 ‘c:\memcached\memcached.exe -d install’ 安装 3. 再输入: ‘c:\memcached\memcached.exe -d start’ 启动。NOTE: 以后memcached将作为windows的一个服务每次开机时自动启动...
已成功在本机安装成功。比其他安装更详细。
memcached缓存安装使用说明,包含windows和linux的安装和使用 集群
memcached安装软件 libevent-2.0.21-stable.tar.gz magent.tar.gz memcached-1.4.15.tar.gz
Memcached的安装步骤: 1.下载memcached的windows稳定版,解压放某个盘下面,比如在c:\memcached 2.在终端(也即cmd命令界面)下输入'c:\memcached\memcached.exe -d install'安装 3.再输入:'c:\memcached\...
Windows 下安装 Memcached 的方法,需要的朋友可以参考下。
MemCached安装与配置图解(windows).pdf
1、memcache windows x64,x86 ; 2、自带bat脚本(memcached 1.5后的版本好象不支持用服务的方式启动了)。
NULL 博文链接:https://geeklee.iteye.com/blog/1607632
1、解压下载的安装包到指定目录 2、在 1.4.5 版本以前 memcached 可以作为一个服务安装,使用管理员权限运行以下命令: 3、然后我们可以使用以下命
memcached windows xp 的稳定版
NULL 博文链接:https://exceptioneye.iteye.com/blog/1923456
Memcached是一个自由开源的,高性能,分布式内存对象缓存系统
由windows 的Cygwin编译的版本,可以直接使用,随下随用
memcached_windows 版安装文件memcached_windows 版安装文件memcached_windows 版安装文件memcached_windows 版安装文件
memcached windows 平台
以下是 memcached 在 Windows 系统下的 x86/x64 版本的安装方法。 命令提示符下运行 安装: memcached -d install memcached -d start net start "Memcached Server" 卸载: memcached -d stop memcached -d...
在windows下编译的最新的memcached 1.6.21 由于1.4.5以后的memcached不支持windows服务。 使用第三方工具做成了windows的服务 使用说明: 1、解压rar文件 2、以管理员身份运行cmd.exe 3、然后执行service_install....
在windows下安装memcached时,下了很多资源,很多都不能用或者不确定当前版本是否与本地php版本相对应。于是就整了份完整资料,给有需要的人。本地php是5.3版本的,所以压缩包里放了memcached 2.2.6版的...