1 Where to find complete Redis documentation?
2 -------------------------------------------
4 This README is just a fast "quick start" document. You can find more detailed
5 documentation at http://redis.io
14 You can run a 32 bit Redis binary using:
18 After building Redis is a good idea to test it, using:
22 NOTE: if after building Redis with a 32 bit target you need to rebuild it
23 with a 64 bit target you need to perform a "make clean" in the root
24 directory of the Redis distribution.
29 By default Redis compiles and links against jemalloc under Linux, since
30 glibc malloc() has memory fragmentation problems.
32 To force a libc malloc() build use:
34 % make FORCE_LIBC_MALLOC=yes
36 In all the other non Linux systems the libc malloc() is used by default.
38 On Mac OS X you can force a jemalloc based build using the following:
40 % make USE_JEMALLOC=yes
45 Redis will build with a user friendly colorized output by default.
46 If you want to see a more verbose output use the following:
53 To run Redis with the default configuration just type:
58 If you want to provide your redis.conf, you have to run it using an additional
59 parameter (the path of the configuration file):
62 % ./redis-server /path/to/redis.conf
67 You can use redis-cli to play with Redis. Start a redis-server instance,
68 then in another terminal try the following:
84 You can find the list of all the available commands here:
86 http://redis.io/commands
91 In order to install Redis binaries into /usr/local/bin just use:
95 You can use "make PREFIX=/some/other/directory install" if you wish to use a
96 different destination.
98 Make install will just install binaries in your system, but will not configure
99 init scripts and configuration files in the appropriate place. This is not
100 needed if you want just to play a bit with Redis, but if you are installing
101 it the proper way for a production system, we have a script doing this
102 for Ubuntu and Debian systems:
107 The script will ask you a few questions and will setup everything you need
108 to run Redis properly as a background daemon that will start again on
111 You'll be able to stop and start Redis using the script named
112 /etc/init.d/redis_<portnumber>, for instance /etc/init.d/redis_6379.