Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Redis under Windows

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces how to install Redis under Windows. It is very detailed and has a certain reference value. Friends who are interested must finish it!

Configure redis.windows.conf

Maximum memory maxmemory 1024000000 password requirepass 123456

Start the error report for the first time

Redis-server.exe redis.windows.conf / / start redis service creating server tcp listening socket 127.0.0.1 creating server tcp listening socket 6379: bind No error / / error solution: reopen a command line window, execute redis-cli.exe shutdwon exit and restart redis-server.exe redis.windows.conf

Install the windows service

Open redis.windows.conf and find that there is no configuration item for daemons, because windows does not support daemons, and the terminal redis service stops the solution: after registering as a windows service redis-server-- service-install redis.windows.conf / /, you can find that redis is successfully registered as a service. By default, it is not started: redis-server-- service-start stop: redis-serverr-- service-stop.

Client access

Redis-cli starts auth 123456

Redis commands [continuous updates]

Command description remarks auth * * client authentication

Set key value set key value stringget key get key value string above is all the content of this article "how to install Redis under Windows", thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report