Redis Learning Note (-) Win7 installing Redis

Source: Internet
Author: User
Tags install redis redis server

Microsoft Open Source Project GitHub address: https://github.com/MSOpenTech/

redis:https://github.com/msopentech/redis/

Select Release version

When you see this article, the version may not be the same, but it's OK, don't find the wrong place to download.

Yes, I downloaded it and put it in my D-disk, roughly. (You don't have to be the same as me if you look at it yourself)

Read me. txt files are added to the directory by myself, and I'm generally used to doing something about it when I install a thing, in case I forget something important.

That's a lot of crap. Then modify one of the things in the redis.windows.conf configuration file. I opened it with notepad++, txt open the same. Search Maxheap keywords, find # maxheap <bytes>

In the line below it is written maxheap 1024000000 (this is the size of the maximum data heap, the size of which you look at it)

The following CMD, enter the service run Server command to enter, the approximate appearance of the following graphic content to indicate success.

The Redis-cli.exe file is the client, and CMD runs it to execute the redis command.

Finally, say the Redis boot host to the Windows service.

First, start the Redis server, and then run the Redis client, and then through the Windows Service-install command, enter

    1. Redis-server--service-install redis.windows.conf--loglevel verbose

OK, done, look at the local service, are you joining Redis?

You can now close the Redis client and server, refresh the service, and then start the Redis service. The Redis command still needs to open its client redis-cli.exe.

More Redis commands can be seen on the official website or Chinese station, Poke here: http://www.redis.cn/commands.html.

By the way, a Redis visualizer, Redisdesktopmanager

Yes, it's open source, hosted on GitHub: Https://github.com/uglide/RedisDesktopManager

OK, let's use it to see the effect.

First configure Redis connection, recommended password, set Redis password Baidu A lot of, here we directly modify the redis.windows.conf file, open it, find # Requirepass foobared (#打头的表示此行是注释说明状态, remove # is the configuration state), we modify, remove #, configure a password (or simply another line, according to write)

Below the console, add a key with the Redis command:

    1. Set TeacherName jon123123


Reload Look down

Other than that, you can see GitHub or wiki (Https://github.com/uglide/RedisDesktopManager/wiki/Quick-Start)

Redis Learning Note (-) Win7 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.