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

Detailed instructions for installing redis (windows and Ubuntu)

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

Share

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

Windows installation

1. Download redis first.

Download the installation package

Then unzip it, and the directory is as follows:

After cmd, use the command redis-server.exe redis.windows.conf

Create temporary redis servers,

Here are the permanent service settings:

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

Add a Windows service

Then we can go to the windows server to check that redis service exists, but it has not been started yet. You can start it manually or use it.

Command:

redis-server --service-start Start redis service

Finally, connect to redis desktop manager to see if redis is available normally

ubuntu:

1. Command line installation redis:

sudo apt-get install redis-server

Use redis-server -v to check the redis version and test it.

Then configure redis

Bind the loopback ip, we can comment it out, it will bind all the ip of the local machine by default

Restart redis-server

sudo service redis-server restart

The above is a small series to introduce Redis in Ubuntu and Windows installation details integration, I hope to help you, if you have any questions please give me a message, small series will reply to you in time. Thank you very much for your support!

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