漂亮男人2017-04-25 09:05:01
Just open two instances: you need to use two redis configuration files, configure different port numbers respectively, redis-server
When starting, specify different configuration files.
为情所困2017-04-25 09:05:01
Generally, two instances are started.
Redis is usually started by specifying a configuration file or specifying port parameters, such as
redis-server /etc/redis/redis_6379.conf
# 或者
redis-server --port 6379
You can install bothredis
,一个启动命令是redis-server --port 6379
,另一个是redis-server --port 6380
redis
一般是在linux
服务器上运行的,在windows
下面没有测试过。你在你的安装包下面,执行redis-server --help
See what parameters there are.
For example, mac
below
You can see and specify--port