This article is a mirror article of machine translation, please click here to jump to the original article.

View: 33346|Reply: 5

[Redis] Redis has three ways to start

[Copy link]
Posted on 8/24/2017 4:26:15 PM | | | |
Now that the project needs to use a caching system, I'm going to review redis again


Download the Windows version:The hyperlink login is visible.

1: The first starting method:

Start directly through the command line, we set the redis listening port to 8899 to start, and the parameters are as follows:

C:\Users\itsvse_pc\Desktop\Redis-x64-3.2.100>redis-server --help
Usage: ./redis-server [/path/to/redis.conf] [options]
       ./redis-server - (read config from stdin)
       ./redis-server -v or --version
       ./redis-server -h or --help
       ./redis-server --test-memory <megabytes>

Examples:
       ./redis-server (run the server with default conf)
       ./redis-server /etc/redis/6379.conf
       ./redis-server --port 7777
       ./redis-server --port 7777 --slaveof 127.0.0.1 8888
       ./redis-server /etc/myredis.conf --loglevel verbose

Sentinel mode:
       ./redis-server /etc/sentinel.conf --sentinel




2: The second way to start

Start by loading the configuration file with the following command:



3: The third way to start

Start by registering as a service










Previous:Thunder Wanke Cloud grab activation code software
Next:Redis two persistence methods and principles
 Landlord| Posted on 12/6/2019 8:48:11 AM |
After the redis 3.2 version, the protected-mode configuration is added, and the default is yes, which is enabled. To set up an external network connection to the Redis service, the following is how to set it up:

1. Turn off protected-mode mode, and the external network can be accessed directly

2. To enable protected-mode, you need to configure bind IP or set an access password
 Landlord| Posted on 6/25/2021 11:15:51 AM |
The difference between redis.windows.conf and redis.windows-service.conf configuration files is whether to enable redis logs, as shown in the following figure:

Posted on 9/22/2021 8:20:27 PM |
Learn to learn.
 Landlord| Posted on 6/3/2022 2:12:14 PM |
The Docker installation runs the Redis cache
https://www.itsvse.com/thread-8995-1-1.html
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com