Write a set of automated programs based on Dapper, see another project of Mgravell , Stackexchange.redis, previously used on. NET for a period of time Redis, but has been the other driver development package, according to the author, is a high-performance thread-safe library of. NET C # developing Redis clients. Said is very hanging, but I am sure that the Mgravell produced by the goods are fine. Say how useless, first of all redis in WIN development environment set up.
Redis official no 64-bit Windows executable program, currently has an open source hosted on GitHub, address: https://github.com/ServiceStack/redis-windows Click this place, Download the file and unzip it to your own computer directory.
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
[Plain]View PlainCopy
- 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:
[Plain]View PlainCopy
- Set TeacherName jon123123
Reload Look down
Other than that, you can see GitHub or wiki (Https://github.com/uglide/RedisDesktopManager/wiki/Quick-Start)
Additional reference: http://www.cnblogs.com/hoojo/p/4466024.html (Redis learning Guide)
-
Top
-
4
-
Step
Win7 64-bit installation with Redis and Redis Desktop Manager