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

What are the common operations such as starting redis on windows?

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

Share

Shulou(Shulou.com)06/01 Report--

This article is to share with you about what common operations such as launching redis on windows are. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.

1. Install and decompress

2. Start

(1) dos command prompt, enter the redis installation directory:

Enter command: redis-server redis.windows.conf

With this startup mode, the interface cannot be closed before it will take effect.

(2) you can register it as a service and set it to boot or start manually.

At the dos command prompt, enter the redis installation directory:

Enter the command: redis-server-- service-install redis.windows-service.conf

Enable the service: redis-server-- service-start

Stop service: redis-server-- service-stop

Uninstall service: redis-server-- service-uninstall

3. Clear the cache

(1) clear locally and open redis-cli.exe directly

Enter keys * to view the cache of all key values

Enter flushall to clear all caches

(2) Local remote connection clears the cache

At the dos command prompt interface, enter the redis installation directory:

Enter: redis-cli.exe-h 192.168.10.10-p 6379

Thank you for reading! So much for sharing the common operations such as redis startup on windows. I hope the above content can be of some help to you so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.

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