1.常用数据库分类
关系型数据库:MYSQL,ORACLE
NOSQL数据库:Redis,MongoDB
2.Redis安装
(1)本次安装2.8.19版本
官网下载 https://redis.io/download
windows64位版本如下:
https://github.com/ServiceStack/redis-windows
https://github.com/MicrosoftArchive/redis/releases
步骤:clone or download> download zip
注意:
(a)redis官方是没有在Windows下开发对应的版本的,Windows下的版本
是由ms自己把redis的源码在Windows下编译成功的
(b)windows 32位的需要自己编译
(2)安装Redis终端 Redis Desktop Manager
下载页面 https://redisdesktop.com/download
历史发布版本 https://github.com/uglide/RedisDesktopManager/releases
3(1)命令行测试redis服务器端
d:\tools>CD redis2.8.19_32bit
d:\tools\redis2.8.19_32bit>redis-server.exe redis.windows.conf
(2)命令行测试redis客户端
D:\tools\redis2.8.19_32bit>redis-cli.exe
127.0.0.1:6379>set name tgm
127.0.0.1:6379>get name
"tgm"
4.redis后端启动
参考 http://blog.youkuaiyun.com/ksdb0468473/article/details/52126009
视频教程参考 https://www.imooc.com/video/14926
5.redis 官方推荐的java客户端有
(1)Jedis https://github.com/xetorthio/jedis
(2)lettuce https://github.com/lettuce-io/lettuce-core
(3)Redisson https://github.com/redisson/redisson
关系型数据库:MYSQL,ORACLE
NOSQL数据库:Redis,MongoDB
2.Redis安装
(1)本次安装2.8.19版本
官网下载 https://redis.io/download
windows64位版本如下:
https://github.com/ServiceStack/redis-windows
https://github.com/MicrosoftArchive/redis/releases
步骤:clone or download> download zip
注意:
(a)redis官方是没有在Windows下开发对应的版本的,Windows下的版本
是由ms自己把redis的源码在Windows下编译成功的
(b)windows 32位的需要自己编译
(2)安装Redis终端 Redis Desktop Manager
下载页面 https://redisdesktop.com/download
历史发布版本 https://github.com/uglide/RedisDesktopManager/releases
3(1)命令行测试redis服务器端
d:\tools>CD redis2.8.19_32bit
d:\tools\redis2.8.19_32bit>redis-server.exe redis.windows.conf
(2)命令行测试redis客户端
D:\tools\redis2.8.19_32bit>redis-cli.exe
127.0.0.1:6379>set name tgm
127.0.0.1:6379>get name
"tgm"
4.redis后端启动
参考 http://blog.youkuaiyun.com/ksdb0468473/article/details/52126009
视频教程参考 https://www.imooc.com/video/14926
5.redis 官方推荐的java客户端有
(1)Jedis https://github.com/xetorthio/jedis
(2)lettuce https://github.com/lettuce-io/lettuce-core
(3)Redisson https://github.com/redisson/redisson