windows8.1 Installing Redis

Source: Internet
Author: User

Say something

Now the Internet is playing on the high-distributed cache, or distributed database, to interview the time will also ask some relevant knowledge and application scenarios, no play will be out. Redis official only provide Linux version download, Windows need to go to github download, github default seems to open and download, I use chrome opened and downloaded, and open the page particularly slow, and I installed a red apricot VPN, if you can not open, please don't be surprised.

First, download and install

1,: Https://github.com/downloads/dmajkic/redis/redis-2.4.5-win32-win64.zip. Depending on your system choice is 32-bit or 64-bit.

2, after decompression in the D disk to create a new folder Redis, will extract files copied in, a total of 7 files, the most commonly used for: redis.conf, Redis-server.exe, Redis-cli.exe.

3. Add the Redis directory to the environment variable so that each time you need to switch judgment and enter the full path at the command prompt.

Second, start the server and the client

1. Open command Prompt to enter command Redis-server.exe can also enter Redis-server.exe redis.conf. If you do not enter, the default is to use the redis.conf configuration file. The server is turned on and there is no client connection at this time.

2, open the client, enter Redis-cli.exe-h 127.0.0.1-p 6379. The default port is 6379.

3. After opening the client, the server will display the current number of client connections.

4, insert value and get value.

Summarize

There has been no application environment to use Redis, and now the environment has changed, so let yourself change in the environment, learn and strengthen Redis. Another problem is that the start server is now using DOS commands, each time you need to open a command prompt, how can you use Windows services to open the Redis service?

windows8.1 Installing Redis

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.