1REDIS-SERVER(1) User commands REDIS-SERVER(1)
2
3
4
6 redis-server, redis-sentinel - Redis server
7
8
10 redis-server [ configuration_file ] [ options ] [ --sentinel ]
11
12 redis-sentinel [ configuration_file ] [ options ]
13
14
15
17 Redis is an open source (BSD licensed), in-memory data structure store,
18 used as database, cache and message broker, found at http://redis.io/
19
20 The redis-server command is a command line to launch a Redis server.
21
22 The redis-sentinel command is a symbolic link to the redis-server com‐
23 mand which imply the --sentionel option.
24
25
27 - Read configuration from stdin.
28
29
30 --sentinel Run in sentinel mode
31
32 --test-memory megabytes
33 Run a memory check and exit.
34
35 --help
36 -h Output this help and exit.
37
38 --version
39 -v Output version and exit.
40
41 All parameters described in redis.conf file can be passed as
42 command line option, e.g. --port port
43
44
46 Run the server with default conf
47 redis-server
48
49 Run the server with a configuration file
50 redis-server /etc/redis/6379.conf
51
52 Run the server changing some default options
53 redis-server --port 7777 --slaveof 127.0.0.1 8888
54
55 Run the server with a configuration file and changing some
56 options
57 redis-server /etc/myredis.conf --loglevel verbose
58
59 Run in sentinel mode
60 redis-server /etc/sentinel.conf --sentinel
61
62
64 redis.conf(5)
65
66
68 See: http://redis.io/support and
69 https://github.com/antirez/redis/issues
70
72 Copyright © 2006-2016 Salvatore Sanfilippo
73 Redistribution and use in source and binary forms, with or with‐
74 out modification, are permitted provided that the following con‐
75 ditions are met:
76 * Redistributions of source code must retain the above copyright
77 notice, this list of conditions and the following disclaimer.
78 * Redistributions in binary form must reproduce the above copy‐
79 right notice, this list of conditions and the following dis‐
80 claimer in the documentation and/or other materials provided
81 with the distribution.
82 * Neither the name of Redis nor the names of its contributors
83 may be used to endorse or promote products derived from this
84 software without specific prior written permission.
85 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBU‐
86 TORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
87 BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
88 AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
89 SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY
90 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUEN‐
91 TIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUB‐
92 STITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
93 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIA‐
94 BILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUD‐
95 ING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
96 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
97 DAMAGE.
98
99
100
101Redis 2016 REDIS-SERVER(1)