Home > Database > Redis > body text

How to configure environment variables after installing redis

王林
Release: 2020-12-31 09:17:49
forward
8459 people have browsed it

How to configure environment variables after installing redis

The specific steps to configure environment variables are as follows:

(Learning video sharing: redis video tutorial)

1. First download the windows 64-bit redis

How to configure environment variables after installing redis

2. Download the file:

How to configure environment variables after installing redis
3. Right-click My Computer, click Properties => Advanced System Settings => Environment Variables

How to configure environment variables after installing redis

4. (I am using DELL Win10) Select the Path line, click Edit to enter the editing interface, and select Browse , just find the Redis folder you downloaded:

How to configure environment variables after installing redis

5. Open a command line window, enter redis-server.exe and press the Enter key. Redis starts successfully:

How to configure environment variables after installing redis

6. Open a new command line window and enter:

redis-cli.exe -h 127.0.0.1 -p 6379
Copy after login

and press Enter;

Then try setting a simple value : set myKey firstKey and press Enter;

Then take out the set value: get myKey and press Enter.

How to configure environment variables after installing redis

Related recommendations: redis database tutorial

The above is the detailed content of How to configure environment variables after installing redis. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
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!