Home > Database > Redis > body text

How to download and install redis

藏色散人
Release: 2019-08-29 13:25:28
Original
3740 people have browsed it

How to download and install redis

How to download and install redis?

In the first step, we first download Redis from the Redis official website. Here is a download address YPSuperKey Checkedhttps://pan.baidu.com/s/1wxgWVtswnRHfTc1ldVlHrw, as shown in the figure below:

How to download and install redis

After downloading the second step, create a new redis folder, and then extract the files in the compressed package into the redis folder, as shown in the following figure:

How to download and install redis

The third step is to open the command line window on our computer. After entering, switch to the path where redis is stored, use "e:" to enter the e drive, and "cd E:\redis" to enter the redis directory. Enter the command "redis-server.exe redis.windows.conf" and press the Enter key, as shown in the figure below:

How to download and install redis

After pressing the Enter key in the fourth step, a message appears After the above graphic, re-open a command line window, go to the path where redis is stored, enter "redis-cli.exe -h 127.0.0.1 -p 6379", and press the Enter key, as shown in the following figure:

How to download and install redis

In the fifth step, enter "set myKey xx" to set the key-value pair, and "get myKey" to remove the key-value pair. The installation is complete, as shown in the following figure:

How to download and install redis

For more Redis related knowledge, please visit the Redis usage tutorial column!

The above is the detailed content of How to download and install redis. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!