C # connecting the In-memory database Redis "1, installation Configuration"

Source: Internet
Author: User

Redis is a good cache database, and reading data is very efficient. Today we work together on the use of Redis. The combination of online information and their own groping, first look at the installation and configuration.

We mainly look at how to use the Redis database on Windows.

: Https://github.com/dmajkic/redis/downloads

1. Select a version to download, and the package includes 32-bit and 64-bit installation tools. We use the 32-bit here.

Download the extracted files such as:

2. Create a Redis folder in D (it is also possible to build on another disk), and then copy all the files under the 32bit folder you extracted to the Redis folder.

3. Open the server side

Open the server side through the cmd command line, first go to the D:\redis folder via the command line,

Then enter the following command Redis-server.exe redis.conf

4. Open the Client

Server-side cmd command line do not close, and then open a separate cmd command line, switch to the D:\redis folder,

Enter the following command: Redis-cli.exe-h 127.0.0.1-p 6379

Then enter set PWD 123456

Get pwd

Gets the return value successfully, indicating that the server-side configuration succeeded,

The above is the installation and configuration of Redis, you are welcome to Exchange

C # connecting the In-memory database Redis "1, installation Configuration"

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.