windows版本redis下载安装
官方网站:http://redis.io/
官方下载:http://redis.io/download 可以根据需要下载不同版本
在官方下载网页中有一个window版本的说明,说redis官方没有windows版本,但是Microsoft Open Tech group开发和维护了一个windows版本。点击后面的leanmore,可以去git网站下载最新的版本。
对应网址:https://github.com/MSOpenTech/redis/releases
而下面的网址也可以下载到windows版本的,且有一些说明可以参考。
https://github.com/ServiceStack/redis-windows
一些有用的摘抄如下:
Running Microsoft's native port of Redis
These 64-bit binary releases are created by building the Microsoft's native port of redis which have also been published on NuGet, but as it's more convenient we provide a zip of the 64-bit binaries here.
MS Open Announcements
- MSOpenTech Redis on Windows 3.0 Release Notes
 - MSOpenTech Redis on Windows 2.8 Release Notes
 - MSOpenTech's Redis on Windows
 - Updates Released for Redis on Windows (2.8.4)
 
Current Version: 3.0.503 (June 28, 2016)
1. Download the redis-latest.zip native 64bit Windows port of redis
wget https://github.com/ServiceStack/redis-windows/raw/master/downloads/redis-latest.zip
2. Extract redis64-latest.zip in any folder, e.g. in c:\redis
3. Run the redis-server.exe using the local configuration
cd c:\redis
redis-server.exe redis.windows.conf
4. Run redis-cli.exe to connect to your redis instance
cd c:\redis
redis-cli.exe
5. Start playing with redis :)
redis 127.0.0.1:6379> SET foo bar
OK
redis 127.0.0.1:6379> KEYS *
1) "foo"
redis 127.0.0.1:6379> GET foo
"bar"
redis 127.0.0.1:6379>
The MSOpenTech of Redis adds some useful extensions for better integration with Windows:
Running Redis as a Service
If you installed Redis using the MSI package, then Redis was already installed as a Windows service. Nothing further to do. If you would like to change its settings, you can update the redis.windows-service.conf file and then restart the Redis service (Run -> services.msc -> Redis -> Restart).
During installation of the MSI you can either use the installer’s user interface to update the port that Redis listens at and the firewall exception or run it silently without a UI. The following examples show how to install from the command line:
default install (port 6379 and firewall exception ON):
msiexec /i Redis-Windows-x64.msi
set port and turn OFF firewall exception:
msiexec /i Redis-Windows-x64.msi PORT=1234 ADD_FIREWALL_RULE=""
set port and turn ON firewall exception:
msiexec /i Redis-Windows-x64.msi PORT=1234 ADD_FIREWALL_RULE =1
install with no user interface:
msiexec /quiet /i Redis-Windows-x64.msi
If you did not install Redis using the MSI package, then you still run Redis as a Windows service by following these instructions:
In order to better integrate with the Windows Services model, new command line arguments have been introduced to Redis. These service arguments require an elevated user context in order to connect to the service control manager. If these commands are invoked from a non-elevated context, Redis will attempt to create an elevated context in which to execute these commands. This will cause a User Account Control dialog to be displayed by Windows and may require Administrative user credentials in order to proceed.
Installing the Service
--service-install
This must be the first argument on the redis-server command line. Arguments after this are passed in the order they occur to Redis when the service is launched. The service will be configured as Autostart and will be launched as "NT AUTHORITY\NetworkService". Upon successful installation a success message will be displayed and Redis will exit.
This command does not start the service.
For instance:
redis-server --service-install redis.windows.conf --loglevel verbose
Uninstalling the Service
--service-uninstall
This will remove the Redis service configuration information from the registry. Upon successful uninstallation a success message will be displayed and Redis will exit. This does command not stop the service.
For instance:
redis-server --service-uninstall
Starting the Service
--service-start
This will start the Redis service. Upon successful startup a success message will be displayed and Redis service will be started.
For instance:
redis-server --service-start
Stopping the Service
--service-stop
This will stop the Redis service. Upon successful termination a success message will be displayed and Redis will exit.
For instance:
redis-server --service-stop
Naming the Service
--service-name name
This optional argument may be used with any of the preceding commands to set the name of the installed service. This argument should follow the service-install, service-start, service-stop or service-uninstall commands, and precede any arguments to be passed to Redis via the service-install command. The following would install and start three separate instances of Redis as a service:
redis-server --service-install –service-name redisService1 –port 10001
redis-server --service-start –service-name redisService1
redis-server --service-install –service-name redisService2 –port 10002
redis-server --service-start –service-name redisService2
redis-server --service-install –service-name redisService3 –port 10003
redis-server --service-start –service-name redisService3
此外,设置为windows服务 卸载、启动、停止、改名及端口服务
redis-server --service-install redis.windows.conf --loglevel verbose
redis-server --service-uninstall
redis-server --service-start
redis-server --service-stop
redis-server --service-install –service-name redisService1 –port 10001
redis-server --service-start –service-name redisService1
 												
											windows版本redis下载安装的更多相关文章
- Windows上redis下载与安装
		
一.redis是什么 非关系型内存数据库,以key-value的形式将数据储存在内存中.Mysql是关系型数据库,数据是保存在硬盘中 二.redis下载安装 1.要安装Redis,首先要获取安装包. ...
 - Windows版本redis高可用方案探究
		
目录 Windows版本redis高可用方案探究 前言 搭建redis主从 配置主redis-28380 配置从redis-23381 配置从redis-23382 将redis部署为服务 启动red ...
 - mysql 8 windows 版本zip方式安装步骤
		
mysql 8 windows 版本zip方式安装步骤(下载地址:https://dev.mysql.com/downloads/mysql/)1,解压ZIP文件到指定目录下:如D:\mysql-8. ...
 - windows上redis的安装和配置
		
windows上redis的安装和配置 进入到Redis的根目录D:\Programming\Redis\Redis6379\Redis-x64-3.2.100底下操作: 配置文件启动 redis-s ...
 - Redis windows版本资源与安装
		
这里提供一个windows版本的Redis百度云资源 链接: https://pan.baidu.com/s/19JY_d_J87n98OeAHK9qI4A 密码: d6dq 1,GitHub下载地址 ...
 - Redis下载安装与配置(windows)
		
一.Redis下载 Redis官网建议使用Linux进行部署,未提供windows版本的Redis,但微软开发和维护着Windows64版本的Redis. Windows64版本的Redis下载地址: ...
 - MySQL 8.0.13(Windows压缩版本)下载安装教程
		
MySQL下载安装教程 1.首先在百度上搜索mysql 2.点击链接进去,找到对应的路径 3.进去之后,可以看到版本是8.0.13,以及最下面有个Download按钮,点击下载 4.之后会跳转到开始下 ...
 - redis下载安装以及添加服务
		
一.下载安装 从 github 下载:https://github.com/MSOpenTech/redis/releases 或者 https://github.com/ServiceStack/r ...
 - windows下Redis的安装配置以及注意事项
		
一.下载windows版本的Redis 去官网找了很久,发现原来在官网上可以下载的windows版本的,现在官网以及没有下载地址,只能在github上下载,官网只提供linux版本的下载 官网下载地址 ...
 
随机推荐
- 关于C#中如何使用wmi获得操作系统信息?
			
最近项目中用到了windows server 2012操作系统中的存储池和ISCSI Disk的技术.前期,我们整个操作都是用power shell脚本去实现了.带来了不方便,后期要使用wmi API ...
 - 使用DataTables导出html表格
			
去年与同事一起做一个小任务,需要把HTML表格中的数据导出到Excel.用原生js想要实现,只有IE浏览器提供导出到微软的Excel的接口,这就要求你电脑上必须安装IE浏览器.Excel,而且必须修改 ...
 - Python决定一个变量时局部的,还是全局的,是在编译期
			
Python中的变量名是在编译时就解析好的,换句话说,在编译时(也就是在交互控制台输入代码是或者import文件时),Python就已经决定一个变量应该是局部变量,还是全局变量.来看下面的例子: &g ...
 - (十一)instanceof 和 getclass 的区别
			
判断两个对象是否为同一类型,时常用到getclass 和 instanceof ,而这两个函数又是时常让人混淆.下面从一个例子说明两者的区别: public class Test_drive { pu ...
 - "亿家App"问卷调查分析结果及心得体会
			
一.问卷问题设计 调查背景:随着现代社会互联网的发展,基于家庭产生的服务项目也越来越多.为增加家庭之间的交流和互助,增加家庭内部.家庭与家庭之间的沟通互助,并利用互联网便捷交流的优势,使家庭在享受服务 ...
 - python爬虫 ---  简书评论
			
某些网站的一些数据是通过js加载的 ,所以爬取下来的数据拿不到, 找到评论的地址 .进行请求获取评论数据 #coding=utf-8 import json import requests def r ...
 - 数字证书认证这点事, SSL/TLS,OpenSSL
			
1.概念 数字证书 HTTPS请求时,Server发给浏览器的认证数据,用私钥签名,并且告诉浏览器公钥,利用公钥解密签名,确认Server身份. 证书还会指明相应的CA,CA能确认证书是否真的是CA颁 ...
 - vue中使用monaco-editor打包文件混乱的问题
			
之前讲述了怎么在vue项目中使用monaco-editor (https://www.cnblogs.com/XHappyness/p/9414177.html),使用是正常的,虽然 npm run ...
 - Windows API封装:LoadLibrary/FreeLibrary
			
LoadLibrary/LoadLibraryEx用来加载DLL到自己的进程空间,使用完用FreeLibrary释放,一般使用方式如下: HINSTANCE hInstRich = ::Load ...
 - windows 2008 iis7 上传大文件限制的真正解决办法
			
以前做了一个网站 ,当时本机测试时上传文件大小没有问题,上G也应该可以,可是放在服务器后只能上传小于30M以下文件,当时基本需要也基本在30M以下,就没有管,后在网上发现原来是window2008本身 ...