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
- 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:
- 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