[Redis]windows under Redis installation

Source: Internet
Author: User
Tags redis version

The official is: http://redis.io/download

In the Win64 column you can see that Redis was not originally a Windows version, and the Windows version was opened by the Microsoft Open Tech Team

Gives a link to GitHub address: Https://github.com/MSOpenTech/redis


Download:

In the bottom right corner of the Https://github.com/MSOpenTech/redis page there is the word Download zip, click to download the source Zip package.

Then it is decompression: Here the directory is extracted D:\devsofts\redis

Start the program under subdirectory D:\devsofts\redis\bin\release, one is 32 bits, one is 64 bits.


Configure and start:

In the DOS command line environment:

D:\devsofts\redis>d:\devsofts\redis\bin\release\redis-server.exe redis.conf_.__.-' __ '-.__.-'    .  ' _.  ' -._           Redis 2.6.12 (00000000/0) bit.-".-".  ' \ \    _.,_ '-._ (    '      ,       .-'  | ',    )     Running instand alone mode| '-._ '-...-' __...-. '-._| ' ' _.-' |     port:6379|    '-._ '   . _    /     _.-'    |     pid:3792 '-._    '-._  '-./  _.-'    _.-' | '-._ '-._    '-.__.-'    _.-' _.-' | |    '-._ '-._        _.-' _.-' |           Http://redis.io '-._    '-._ '-.__.-' _.-' _.-' | '-._ '-._    '-.__.-'    _.-' _.-' | |    '-._ '-._        _.-' _.-' | '-._ '-._ '-.__.-' _.-' _.-' '-._ '-.__.-' _.-' '-._ _.-'-.__.-'        [3792] 23:58:25.400 # Server started, Redis version 2.6.12[3792] * * 23:58:25.401 * The server is now ready to accept C Onnections on Port 6379

The directory where the command line resides is the root directory of Redis

The command to start is the bin under exe command, where you can put

D:\devsofts\redis\bin\release\

Added to the system path.


Test:

Using Client program Access:

D:\devsofts\redis>d:\devsofts\redis\bin\release\redis-cli.exe-h 192.168.0.106-p 6379redis 192.168.0.106:6379 > setadmin orangleliuokredis 192.168.0.106:6379> getadmin "Orangleliu"


Back to learning simple use, Python connects Redis operations.


This article is from the "Orangleliu Notebook" blog, be sure to keep this source http://orangleliu.blog.51cto.com/2554001/1405428

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.