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 in a windows environment

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

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

Redis is completely open source and free, complies with the BSD protocol, and is a high-performance key-value database.

Redis and other key-value cache products have the following three features:

Redis supports data persistence. You can save the data in memory on disk and load it again when you restart it.

Redis not only supports simple key-value type data, but also provides storage of data structures such as list,set,zset,hash.

Redis supports data backup, that is, data backup in master-slave mode.

Redis advantage

Extremely high performance-Redis can read at a speed of 110000 times per second and write at a speed of 81000 times per second.

Rich data types-Redis supports Strings, Lists, Hashes, Sets and Ordered Sets data type operations for binary cases.

Atom-all operations of Redis are atomic, meaning either successful execution or failure to execute at all. A single operation is atomic. Multiple operations also support transactions, that is, atomicity, wrapped by MULTI and EXEC instructions.

Rich features-Redis also supports publish/subscribe, notification, key expiration, and so on.

①: installation step

Https://www.runoob.com/redis/redis-install.html

②: be careful

Check whether port 6379 is occupied

Modify redis service in W10 to local system service

③: screenshot

Win+r (Administrator identity) + cmd + netstat-ano | findstr: 6379 + taskkill-PID process number-F Open the service and set the redis service as the local service

Redis command

Installation service: redis-server.exe-- service-install redis.windows.conf-- loglevel verbose

Uninstall service: redis-server-- service-uninstall

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

Stop service: redis-server-- service-stop

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