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

Perfectly solve the problem that the configuration file does not take effect after starting redis on linux

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

Share

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

After modifying redis.conf, restart redis and find that the modified configuration does not take effect. It turns out that you need to add the configuration file to the command when you start redis, as follows

. / redis-server / usr/local/redis-3.2.8/redis.conf &

If you read the configuration file carefully, you can see a description like this at the beginning.

# Note that in order to read the configuration file, Redis must be# started with the file path as first argument:##. / redis-server / path/to/redis.conf

So that's the problem.

The above perfect solution to the problem that the configuration file does not take effect after starting redis on linux is all the content shared by the editor. I hope I can give you a reference and support 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