-H <host-ip>: host addr to listen on(eg: 127.0.0.1)
-P <port>: port to listen on(default 8323)
-D <data-dir>: leveldb data dir(default “redis.db” under your
work directory)
-M <number>: run in multi-db mode and set its db count to
<number>, each db in the server is a separatly leveldb database
and its data directory is a directory named db-<num> under the
directory you specified with the option -D; you can use
command select to switch db on the client side while
redis-leveldb is running in this mode.
请发表评论