[Redis]windows下redis的安装和启动
来源:互联网 发布:一句话webshell 编辑:程序博客网 时间:2024/04/29 09:26
官方的下载地址是: http://redis.io/download
在win64一栏中可以看到redis原本是没有windows版本的,windows版本是Microsoft Open Tech团队开的
给出了一个github的链接地址: https://github.com/MSOpenTech/redis
下载:
在https://github.com/MSOpenTech/redis 页面的右下角有 Download Zip的字样,点击之后就可以下载源码的zip包了。
然后就是解压: 这里解压的目录是D:\devsofts\redis
启动的程序在子目录 D:\devsofts\redis\bin\release 下,一个是32位,一个是64位的。
配置和启动:
在dos命令行环境下:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
D:\devsofts\redis>D:\devsofts\redis\bin\release\redis-server.exe redis.conf
_._
_.-``__
''
-._
_.-`` `. `_.
''
-._ Redis 2.6.12 (00000000
/0
) 64 bit
.-`` .-```. ```\/ _.,_
''
-._
( ' , .-` | `, ) Running
in
stand alone mode
|`-._`-...-` __...-.``-._|
'` _.-'
| Port: 6379
| `-._ `._ / _.-' | PID: 3792
`-._ `-._ `-./ _.-
' _.-'
|`-._`-._ `-.__.-
' _.-'
_.-'|
| `-._`-._ _.-
'_.-'
| http:
//redis
.io
`-._ `-._`-.__.-
'_.-'
_.-'
|`-._`-._ `-.__.-
' _.-'
_.-'|
| `-._`-._ _.-
'_.-'
|
`-._ `-._`-.__.-
'_.-'
_.-'
`-._ `-.__.-
' _.-'
`-._ _.-'
`-.__.-'
[3792] 01 May 23:58:25.400
# Server started, Redis version 2.6.12
[3792] 01 May 23:58:25.401 * The server is now ready to accept connections on po
rt 6379
命令行所在的目录是redis的根目录
启动的命令是bin下exe命令,这里可以把
1
D:\devsofts\redis\bin\release\
添加到系统路径中去。
测试:
使用客户端程序访问:
1
2
3
4
5
6
D:\devsofts\redis>D:\devsofts\redis\bin\release\redis-cli.exe -h
192.168
.
0.106
-
p
6379
redis
192.168
.
0.106
:
6379
>
set
admin orangleliu
OK
redis
192.168
.
0.106
:
6379
>
get
admin
"orangleliu"
后面开始学习简单的使用,python连接redis的操作。
1 0
- [Redis]windows下redis的安装和启动
- Redis]windows下redis的安装和启动
- windows下安装和启动redis服务器
- windows下redis安装和php的redis扩展安装
- windows下redis安装和php的redis扩展安装
- linux下安装redis和启动redis
- windows下安装redis和redis扩展
- windows下redis的安装和使用
- Windows下Redis的安装和使用
- Windows下Redis的安装和测试
- windows下安装并启动redis服务
- linux redis 和 windows redis 的安装
- windows下启动redis
- windows下启动redis
- windows下redis的安装
- windows下redis的安装
- windows下redis的安装
- Redis - Windows下的安装
- 敏捷开发来源
- 旋转数组的二分查找
- 我不是个内向的程序员,我只是很忙
- 时间值
- CUDA并行编程的一个例子
- [Redis]windows下redis的安装和启动
- 事务管理(一)事务管理基本概念
- java finalize的一些问题
- 练习写C++代码(11)--实现简单的时钟类3
- 黑马程序员-Oracle(第三讲)
- C++11类成员的初始化总结
- Could not find Class "...\DaoMaster" referenced form method "...\onCreate
- android事件处理总结--dispatchTouchEvent
- 事务管理(二) JDBC事务管理简单实现