This is the fourth day of my participation in the August Text Challenge.More challenges in August

A, download

Download address

Second, the installation

Select your installation path and check Add to environment variables.

The default port number is 6379. You can change the default port number or modify it in the configuration file later.

Then continue to click Next to complete the installation.

Three, configuration,

1. In the following configuration file, change the password, port number, and rename command

2. Change the password: CTRL +F global search requirePass and set the password to SASecret, as shown below:

3. Change the port number: search globally for port and set the port number to 6388(if it was not set in the previous step, you can set it here), as shown below:

4. Modify rename command: Search the rename command globally and set the alias (configure the rename command configuration item “RENAME_CONFIG” to make it more difficult for an attacker to use the config command even if unauthorized access exists) using the following command:

rename-command FLUSHALL ""
rename-command FLUSHDB  ""
rename-command CONFIG   ""
rename-command KEYS     ""
Copy the code

Four, restart

After modifying the configuration file, you need to restart Redis by searching for services or using CMD command as shown in the following figure.

Possible problems:

C:\Windows\ System32 >net start Redis service does not have response control function.Copy the code

Solution: Do not start commands in the redis. Conf file with Spaces.

Refer to the link

Reference Link 2