snippetbashTip
redis-server — Persistent key-value database. More information: <https://redis.io/tutorials/operate/redis-at-scale/
Viewed 0 times
commandvaluekeydatabaseredis-serverclipersistentmore
Problem
How to use the
redis-server command: Persistent key-value database. More information: <https://redis.io/tutorials/operate/redis-at-scale/talking-to-redis/configuring-a-redis-server/>.Solution
redis-server — Persistent key-value database. More information: <https://redis.io/tutorials/operate/redis-at-scale/talking-to-redis/configuring-a-redis-server/>.Start Redis server, using the default port (6379), and write logs to
stdout:redis-serverStart Redis server, using the default port, as a background process:
redis-server --daemonize yesStart Redis server, using the specified port, as a background process:
redis-server --port {{port}} --daemonize yesStart Redis server with a custom configuration file:
redis-server {{path/to/redis.conf}}Start Redis server with verbose logging:
redis-server --loglevel {{warning|notice|verbose|debug}}Code Snippets
Start Redis server, using the default port (6379), and write logs to `stdout`
redis-serverStart Redis server, using the default port, as a background process
redis-server --daemonize yesStart Redis server, using the specified port, as a background process
redis-server --port {{port}} --daemonize yesStart Redis server with a custom configuration file
redis-server {{path/to/redis.conf}}Start Redis server with verbose logging
redis-server --loglevel {{warning|notice|verbose|debug}}Context
tldr-pages: common/redis-server
Revisions (0)
No revisions yet.