安装window下的redis,redis可视化管理工具(Redis Desktop Manager)安装,基础使用,实例化项目
源博客地址:https://www.cnblogs.com/chengxs/p/9090819.html
以下包括内容:
一、redis下载安装,启动
二、Redis可视化管理工具(Redis Desktop Manager)安装
三、实例化项目
一、redis下载安装,启动
1,redis官方下载地址:https://redis.io/download,redis 64位下载地址:https://github.com/ServiceStack/redis-windows,本人测试使用的是redis-64.3.0.503版本。

2、解压redis-64.3.0.503.zip,解压后的文件结构如下:

3、修改redis.windows.conf文件,设置maxmemory 大小 
设置redis密码 
4、启动redis:
redis-server.exe redis.windows.conf

5、测试,成功安装:

6、将redis加入到windows的服务中(都是两个-)
redis-server --service-install redis.windows.conf --loglevel verbose

7、安装成功

8、但是安装好之后,Redis并没有启动,
(1)启动命令如下:
- redis-server --service-start
(2)停止命令:
- redis-server --service-stop
(3)还可以安装多个实例
- 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
(4)卸载命令:
- redis-server --service-uninstall
二、Redis可视化管理工具(Redis Desktop Manager)安装
1、安装过程




三、基本操作
首先确定redis服务启动没有:

出现这样的就好了。
1、新建连接

自己之前设置的myKey,userInfo,username的值

第一条的值是,自己singlePointSystem系统(https://github.com/saucxs/PointSingleSystem)的登录的时候,把成功的登录的结果存到redis服务器中,这样就不用每一次都从服务器里查询是否登录。
样例如下:

在nodejs的thinkJs的配置redis服务

文中有错误的地方希望指出,共同进步
apache 2.2设置单IP多端口的虚拟主机
error: invalid use of incomplete type
C++常函数
C++ 函数对象
:-1: error: [debug/moc_gotocelldialog.cpp] Error 2
C++中虚析构函数的作用
tomcat启动报错:org.springframework.beans.factory.BeanCreationException
Linux环境抓包命令
数据库中通过group by找出表中的重复数据
- 最新文章
-
FireDAC 汉字字段名称过滤
视频格式转换
FDQuery sqlserver 临时表
许式伟:我与Go语言的这十年[转]
全局唯一ID发号器的几个思路
Mysql服务器SQL模式 (官方精译)
推荐一个比crontab更好用的东西:crongo
传统IT公司/创业公司/互联网大公司的offer如何选择?[转载+原创]
使用单进程、strace、gdb调试PHP错误
我热爱Coding,但厌恶这个IT互联网
- 热门文章
-
strace详解及实战
为什么说解耦的战术,决定了架构的高度?[转]
MySQL多线程同步-Transfer使用测试
MySQL-Transfer2.3发布
CentOS 6 下升级安装Mysql 5.5 完整步骤
解决Eclipse无法打开“Failed to load the JNI shared library”
vsftpd問題集
linux CentOs 权限导致的Apache
问题解决:Apache: You don't have permission to access / on this server
Linux更改Apache网站目录出错:Document root must be a directory解决
Copyright © 2011-2022 走看看