标签:
1、复制redis.conf文件
cp -rf redis.conf redis_6380.conf cp -rf redis.conf redis_6381.conf
2、修改redis_6380.conf、redis_6381.conf文件
daemonize yes pidfile /var/run/redis_6380.pid port 6380 logfile logfile/var/log/redis/redis_6380.log daemonize yes pidfile /var/run/redis_6381.pid port 6381 logfile logfile/var/log/redis/redis_6381.log
3、启动
/usr/local/bin/redis-server --port 6380 /usr/local/bin/redis-server --port 6381
标签:
原文地址:http://my.oschina.net/shma1664/blog/488573