原文:Redis在windows下的配置

Redis在windows下的配置(在windows-64下安装redis,请参考微软redis的github:https://github.com/MSOpenTech/redis/releases)

下面是windows32的配置
下载地址http://files.cnblogs.com/files/cuiwenyuan/Redis-3.2.100-Windows-32.zip

假设安装目录为E:\wrcold520\Redis-3.2.100-Windows-32\Redis1、启动没有参数配置的Redis:(1)双击redis-server.exe(2)在cmd命令窗口下运行redis-server或者redis-server.exe# 示例:Microsoft Windows [版本 6.1.7601]版权所有 (c) 2009 Microsoft Corporation。保留所有权利。E:\wrcold520\Redis-3.2.100-Windows-32\Redis>redis-server[6788] 10 Feb 13:47:38.750 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf[6788] 10 Feb 13:47:38.753 # Warning: 32 bit instance detected but no memory limit set. Setting 3 GB maxmemory limit with 'noeviction' policy now._.__.-``__ ''-.__.-``    `.  `_.  ''-._           Redis 3.0.504 (00000000/0) 32 bit.-`` .-```.  ```\/    _.,_ ''-._(    '      ,       .-`  | `,    )     Running in standalone mode|`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379|    `-._   `._    /     _.-'    |     PID: 6788`-._    `-._  `-./  _.-'    _.-'|`-._`-._    `-.__.-'    _.-'_.-'||    `-._`-._        _.-'_.-'    |           http://redis.io`-._    `-._`-.__.-'_.-'    _.-'
       |`-._`-._    `-.__.-'    _.-'_.-'||    `-._`-._        _.-'_.-'    |`-._    `-._`-.__.-'_.-'    _.-'
            `-._    `-.__.-'    _.-'`-._        _.-'
                    `-.__.-'
[6788] 10 Feb 13:47:38.755 # Server started, Redis version 3.0.504[6788] 10 Feb 13:47:38.755 * DB loaded from disk: 0.000 seconds[6788] 10 Feb 13:47:38.756 * The server is now ready to accept connections on port 63792、带配置文件启动Redis在cmd命令窗口下运行:redis-server redis.windows.conf或者redis-server.exe redis.windows.conf# 示例:Microsoft Windows [版本 6.1.7601]版权所有 (c) 2009 Microsoft Corporation。保留所有权利。E:\wrcold520\Redis-3.2.100-Windows-32\Redis>redis-server redis.windows.conf[7540] 10 Feb 13:43:07.046 # Warning: 32 bit instance detected but no memory limit set. Setting 3 GB maxmemory limit with 'noeviction' policy now._.__.-``__ ''-.__.-``    `.  `_.  ''-._           Redis 3.0.504 (00000000/0) 32 bit.-`` .-```.  ```\/    _.,_ ''-._(    '      ,       .-`  | `,    )     Running in standalone mode|`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379|    `-._   `._    /     _.-'    |     PID: 7540`-._    `-._  `-./  _.-'    _.-'|`-._`-._    `-.__.-'    _.-'_.-'||    `-._`-._        _.-'_.-'    |           http://redis.io`-._    `-._`-.__.-'_.-'    _.-'
       |`-._`-._    `-.__.-'    _.-'_.-'||    `-._`-._        _.-'_.-'    |`-._    `-._`-.__.-'_.-'    _.-'
            `-._    `-.__.-'    _.-'`-._        _.-'
                    `-.__.-'
[7540] 10 Feb 13:43:07.047 # Server started, Redis version 3.0.504[7540] 10 Feb 13:43:07.048 * DB loaded from disk: 0.000 seconds[7540] 10 Feb 13:43:07.048 * The server is now ready to accept connections on port 63793、将redis加入windows服务(1)在cmd命令窗口下运行:redis-server.exe --service-install redis.windows.conf --loglevel verbose### 示例:Microsoft Windows [版本 6.1.7601]版权所有 (c) 2009 Microsoft Corporation。保留所有权利。E:\wrcold520\Redis-3.2.100-Windows-32\Redis>redis-server.exe --service-install redis.windows.conf --loglevel verbose[7776] 10 Feb 13:56:21.950 # Granting read/write access to 'NT AUTHORITY\NetworkService' on: "E:\wrcold520\Redis-3.2.100-Windows-32\Redis" "E:\wrcold520\Redis-3.2.100-Windows-32\Redis\"
    [7776] 10 Feb 13:56:21.950 # Redis successfully installed as a service.(2)启动redis服务在cmd命令窗口下运行:redis-server --service-start### 示例:E:\wrcold520\Redis-3.2.100-Windows-32\Redis>redis-server --service-start[6780] 10 Feb 14:05:18.046 # Redis service successfully started.(3)关闭redis服务在cmd命令窗口下运行:redis-server --service-stop### 示例:E:\wrcold520\Redis-3.2.100-Windows-32\Redis>redis-server --service-stop[1660] 10 Feb 14:05:28.098 # Redis service successfully stopped.4、移除redis的windows服务在cmd命令窗口下运行:redis-server --service-uninstall ### 示例:E:\wrcold520\Redis-3.2.100-Windows-32\Redis>redis-server --service-uninstall[4744] 10 Feb 13:59:18.735 # Redis service successfully uninstalled.

Redis在windows下的配置相关推荐

  1. Redis在windows下安装与配置 (转)

    Redis在windows下安装与配置 原文地址:https://www.cnblogs.com/lezhifang/p/7027903.html 一.安装Redis 1. Redis官网下载地址:h ...

  2. redis在Windows下以后台服务一键搭建集群(多机器)

    redis在Windows下以后台服务一键搭建集群(多机器) 一.概述 此教程介绍如何在windows系统中多台机器之间布置redis集群,同时要以后台服务的模式运行.布置以脚本的形式,一键完成.多台 ...

  3. windows下apache配置虚拟主机的两个方法

    windows下apache配置虚拟主机方法一: 对httpd.conf进行设置: 1.注释以下三行 #ServerAdmin #ServerName #DocumentRoot 2.去掉mod_pr ...

  4. windows下VS2015配置caffe

    Windows下VS2015配置caffe,是一件其实挺简单但是坑特别多的事情,稍有不慎就爬不出来,写博客来记录最后在老师帮助下才配置成功的经验(严格按照老师的教程一步也不能错才行),当然我写得也详细 ...

  5. Windows下安装配置SubVersion的简明步骤

    Windows下安装配置SubVersion的简明步骤 [使用的安装程序和文档说明] svn-1.4.0-setup.exe:Subversion服务端1.4.0安装程序: SubService.ra ...

  6. Windows下安装配置ant

    1.ant安装 请从官网下载ant的*.zip格式的安装包, Windows建议下载*.zip版本, Linux建议下载*.gz版本. 2.配置环境变量 解压之后,在Windows中配置环境变量, 在 ...

  7. 在windows下安装配置Ulipad

    在windows下安装配置Ulipad 今天推荐一款轻便的文本编辑器Ulipad,用来写一些小的Python脚本非常方便. Ulipad下载地址: https://github.com/limodou ...

  8. WINDOWS下VIM配置

    Windows下gvim配置原作地:http://hi.baidu.com/leemoncc/blog/item/a6be15cf40d7ab31b600c806.html 0.准备软件及插件. (a ...

  9. Redis在Windows下的安装教程

    Redis在windows下安装过程 转载自(http://www.cnblogs.com/M-LittleBird/p/5902850.html) 一.下载windows版本的Redis 去官网找了 ...

最新文章

  1. 长沙理工大学计算机系教师,长沙理工大学数学与计算机科学学院导师介绍:王晚生...
  2. 在 Windows 内核上运行 Docker 靠谱吗?专家六问六答帮你解惑!
  3. 【S操作】轻松优雅库移植解决方案,arduino库移植应对方案
  4. 波卡链Substrate (4)托盘Pallets
  5. 筹码游戏java代码编写,PAT(Basic Level) 乙级练习题 ------ 1071 小赌怡情 java
  6. python opencv源码_caffegpu源码编译
  7. mysql 索引条件推送_MySQL 处理where条件 index condition pushdown索引条件下推
  8. 在Gradle中为JPMS构建Java 6-8库
  9. 图像分割——基于二维灰度直方图的阈值处理
  10. 直接插入排序比较次数_程序员必须要会的直接插入排序算法
  11. android回收站目录详解,android - 如何在回收站适配器外部的回收站视图中获取当前商品的位置 - 堆栈内存溢出...
  12. linux命令:watch 、lsmod、mdadm 创建软RAID
  13. C++实现对数学基本运算表达式的解析
  14. java拼写json
  15. 洛谷OJ P1074 靶形数独 解题报告
  16. 计算机一级仿宋gb2312,2016年计算机一级Office考试题(带答案)
  17. 二月(不积跬步无以至千里)
  18. 2021高考查询成绩公众号,微信怎么查高考成绩2021 微信高考成绩查询系统入口
  19. 水源井远程监测控制系统 泵房无人值守方案
  20. Elasticsearch 多种跨机房灾备方案对比与实战解读

热门文章

  1. Linux生态ox版本,从折腾说Linux生态圈
  2. 吸顶那个叫什么_为什么我家吸顶灯开灯后一闪一闪的
  3. 长春金桥计算机学校,金桥学校2017年招生简章
  4. Numpy实现酒鬼漫步问题【以及randint()、where()、cumsum()、argmax()的用法详解】
  5. 为什么Python中整型不会溢出
  6. python顺序结构实验报告_Python 数据结构 之 串 的顺序存储结构
  7. 换工作,让我里外不是人,到底错在哪儿
  8. 为什么我要转载文章?
  9. 京东商城上市带来的利与益
  10. 公司管理项目管理中的技巧