您需要做的就是運行redis-server.exe,然後運行配置文件的文件名。
如:
D:\Coding\RedisIO>redis-server.exe redis.windows.conf
而且你需要添加/更改配置文件就行了數據庫文件:
# The filename where to dump the DB
dbfilename dump.rdb
及以下的,在配置文件中的條目
# The working directory.
#
# The DB will be written inside this directory, with the filename specified
# above using the 'dbfilename' configuration directive.
#
# The Append Only File and the QFork memory mapped file will also be created
# inside this directory.
#
# Note that you must specify a directory here, not a file name.
# The working directory.
#
# The DB will be written inside this directory, with the filename specified
# above using the 'dbfilename' configuration directive.
#
# The Append Only File and the QFork memory mapped file will also be created
# inside this directory.
#
# Note that you must specify a directory here, not a file name.
dir ./