提交 1576520c 编写于 作者: A antirez

Document the redis-server cli options in the README

上级 9268a5b5
...@@ -62,6 +62,15 @@ parameter (the path of the configuration file): ...@@ -62,6 +62,15 @@ parameter (the path of the configuration file):
% cd src % cd src
% ./redis-server /path/to/redis.conf % ./redis-server /path/to/redis.conf
It is possible to alter the Redis configuration passing parameters directly
as options using the command line. Examples:
% ./redis-server --port 9999 --slaveof 127.0.0.1 6379
% ./redis-server /etc/redis/6379.conf --loglevel debug
All the options in redis.conf are also supported as options using the command
line, with exactly the same name.
Playing with Redis Playing with Redis
------------------ ------------------
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册