# This is an unofficial version of Redis for Windows X64<!-- [zkteco-home](https://github.com/zkteco-home/redis-windows)-->
## Warning:
# If you don't like(click star) and don't use it, otherwise it will be regarded as illegal use.
If you want to get latest version or [report any issues],please contact ([email protected]), thanks in advance!
It includes several new user-facing features, significant performance
optimizations, and many other improvements. It also includes changes that
potentially break backwards compatibility with older versions. We urge users to
review the release notes carefully before upgrading.
In particular, users should be aware of the following changes:
1. It stores AOF as multiple files in a folder; see Multi-Part AOF below.
(automatically migrated an old-style AOF file (appendonly.aof) into the AOF directory (appendonlydir))
2. It uses a new version 10 format for RDB files, which is incompatible
with older versions.
3. It converts ziplist encoded keys to listpacks on the fly when loading
an older RDB format. Conversion applies to loading a file from disk or
replicating from a Redis master and will slightly increase loading time.
Here is a comprehensive list of changes in this release compared to 6.2.6.
https://github.com/redis/redis/releases/tag/7.0-rc1
If you want to know more, this is a list of selected starting points:
Redis 7.0 release Notes . https://github.com/redis/redis/releases/tag/7.0-rc1
Introduction to Redis data types. https://redis.io/topics/data-types-intro
Try Redis directly inside your browser. https://try.redis.io
The full list of Redis commands. https://redis.io/commands
There is much more inside the official Redis documentation. https://redis.io/documentation
## DISCLAIMER
This release is based on [Redis](https://github.com/redis/redis). It has passed all the standard tests.
Due to the many functional differences between windows and linux,There are still unknown issues/bugs, in particular there is a bug to work properly in certain scenarios.
If you download and install it, you accept the following agreement by default:
NO LIABILITY FOR DAMAGES
In no event shall the author of this Software be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or any other pecuniary loss) arising out of the use of or inability to use this product, even if the Author of this Software has been advised of the possibility of such damages.
## Building from source code on Windows
- Redis binaries are built with the original source [Redis](https://github.com/redis/redis) and have been compiled with Visual Studio 2022 to obtain higher performance and better stability than the binaries built by Cygwin, MSYS, or even WSL2.
- Redis can be installed as a Windows Service.
## Supported Windows Versions
- Windows Server 2008/2012/2016/2019/2022 x64
- Windows 7/10/11 x64
## Default configrations
save ""
maxmemory 256mb
appendonly no
maxmemory-policy allkeys-lru
- if you want to modify parameters,it is recommanded you edit the redis.conf file
## Support latest RedisJson
edit redis.conf and add the following parameters:
enable-module-command yes
loadmodule rejson.dll
ReJson.dll download:
https://github.com/zkteco-home/RedisJson
## Running Redis as a Service
- Self elevation of the Redis executable so that service commands would work from a non-elevated command prompt.
- Service naming so that multiple instances of the Redis service could be installed on one machine.
- Automatically adjusting folder permissions so that when Redis is run under the NETWORK SERVICE account it could modify the files in the installation directory.
### Run install_redis.cmd as Administrator (recommanded)
you also can use the following command and manage redis service:
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.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 start, a success message will be displayed and Redis will begin running.
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 redis.conf
redis-server --service-start --service-name redisService1
The following would stop and uninstall three separate instances of Redis as a service:
redis-server --service-stop --service-name redisService1
redis-server --service-uninstall --service-name redisService1
Sentinel for Redis Server on Windows
------------------------------------
After you have edited and created the necessary configuration files,you must open the necessary firewall port. you can install Redis Sentinel from the command prompt as follows:
redis-server --service-install --service-name Sentinel sentinel.conf --sentinel
## Contribute

redis-7.0.11-windows.zip
需积分: 0 16 浏览量
更新于2023-04-23
1
收藏 3.83MB ZIP 举报
Redis 是一个广受欢迎的开源(BSD 许可)NoSQL 数据库系统,专注于提供高性能的键值存储服务。它的全称是 Remote Dictionary Server,最初由 Salvatore Sanfilippo 创建,现在已经成为许多应用程序后端数据存储的首选解决方案。Redis 的优势在于它的内存存储模式,以及对持久化、复制和多种数据结构的支持。
在提供的“redis-7.0.11-windows.zip”压缩包中,包含了在 Windows 平台上安装和运行 Redis 所需的文件。以下是每个文件的用途:
1. **install_redis.cmd**:这是一个批处理脚本,用于帮助用户快速安装 Redis 服务。它通常会处理配置文件的设置,注册 Redis 为 Windows 服务,并确保 Redis 服务器可以在启动时自动运行。
2. **redis.conf**:这是 Redis 的默认配置文件,其中包含了各种服务器参数,如端口号、数据文件路径、持久化策略等。用户可以根据需求修改此文件以定制 Redis 服务器的行为。
3. **redis-server.exe**:这是 Redis 服务器的主要执行文件,用于启动和管理 Redis 实例。通过运行这个可执行文件,用户可以启动 Redis 服务并对外提供键值存储功能。
4. **redis-check-rdb.exe**:这是一个实用工具,用于检查 RDB(Redis Database)持久化文件的完整性。RDB 是 Redis 提供的一种将内存中的数据集快照到磁盘上的方式,以便在服务器重启时恢复数据。
5. **redis-check-aof.exe**:与 redis-check-rdb 类似,该工具用于验证 AOF(Append Only File)日志文件的完整性。AOF 是 Redis 的另一种持久化方法,记录所有写操作,以在服务器重启时重新执行,从而恢复数据。
6. **redis-cli.exe**:Redis 命令行接口,允许用户与 Redis 服务器进行交互,执行读写操作,查看键空间,执行事务等。
7. **redis-benchmark.exe**:这是一个性能测试工具,用于测量 Redis 服务器的吞吐量和响应时间。这有助于评估 Redis 在特定硬件和网络条件下的性能。
8. **LICENSE**:包含 Redis 的开源许可信息,这里是 BSD 许可,允许用户自由地使用、修改和分发 Redis。
9. **README.md**:文件提供了关于 Redis 的简要介绍和安装指南,通常包括如何在不同平台上运行 Redis 的步骤。
10. **RELEASENOTES**:记录了 Redis 7.0.11 版本的更新内容和改进,包括新特性、bug 修复和性能优化。
使用 Redis 时,用户应根据自己的需求调整配置文件,例如设置适当的内存限制、选择合适的持久化策略、配置复制等。此外,了解 Redis 的数据类型(如字符串、哈希、列表、集合、有序集合)及其操作命令,对于高效地利用 Redis 来解决实际问题至关重要。在 Windows 环境下,使用提供的批处理脚本和可执行文件,可以轻松部署和管理 Redis 服务。

qxmjava
- 粉丝: 25
最新资源
- matlab-Matlab资源
- 【DevOps领域】DevOps流程落地实战指南:涵盖代码管理、持续集成、容器化部署与自动化运维的全流程实践
- 深度学习图像分类领域的新手入门指导教程
- 卫星拍摄下的水体图像语义分割数据集(约2300张数据和标签,已处理完可以直接训练,2类别图像分割)
- 微服务与前端开发实战指南
- yiwa-机器人开发资源
- nexfly-AI人工智能资源
- salvo-Rust资源
- 编程语言Go语言特性解析与应用开发:涵盖高效并发编程、跨平台支持及命令行工具开发
- 基于深度学习的无线通信论文与代码整理
- Web开发PHP服务器端脚本语言特性、功能及应用场景详解:从简单示例到项目实践
- tpframe-移动应用开发资源
- STM32F103RCT6-单片机开发资源
- vue3-ts-cesium-map-show-Typescript资源
- PandaX-Go资源
- 【单片机开发】从基础到实践:涵盖硬件组成、开发环境搭建、编程基础、外设接口、系统设计进阶、调试优化及实际项目案例