redis-server, redis-sentinel - Redis server
redis-server [configuration_file] [options] [--sentinel]
redis-sentinel [configuration_file] [options]- The
redis-servercommand is a command line to launch a Redis server. - The
redis-sentinelcommand is a symbolic link to theredis-servercommand which imply the--sentioneloption.
Redis is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker, found at http://redis.io/
-Read configuration from stdin.--sentinelRun in sentinel mode--test-memory megabytesRun a memory check and exit.
All parameters described in redis.conf file can be passed as command line option, e.g. --port port
Run the server with default conf
redis-serverRun in sentinel mode
redis-server /etc/sentinel.conf --sentinelRun the server with a configuration file
redis-server /etc/redis/6379.confRun the server changing some default options
redis-server --port 7777 --slaveof 127.0.0.1 8888Run the server with a configuration file and changing some options
redis-server /etc/myredis.conf --loglevel verbose