table of Contents
1, copy /etc/init.d/redis service:
2, modify the new redis service configuration:
3, redis copy of conf configuration file:
4. Modify the new redis profile:
(1) Modify the new configuration file redis port number:
(2) modify the new profile redis process ID:
(3) Modify the new configuration file redis log file:
(4) Modify the new configuration file aof redis File Name:
(5) Modify the new configuration file redis rdb file name:
(2) Operating redis6380 services:
Description: This only needs to be compiled on a linux, once installed redis, after redis need for new services, only need to add new services to redis, and among the plurality of service data redis are isolated, non-interfering .
1, copy /etc/init.d/redis service:
Excuting an order:
cp /etc/init.d/redis /etc/init.d/redis6380
2, modify the new redis service configuration:
/Etc/init.d/redis6380 modify files, modify the port number is 6380
3, redis copy of conf configuration file:
Copy redis corresponding 6379.conf profile for 6380.conf (new redis service port number)
4. Modify the new redis profile:
(1) Modify the new configuration file redis port number:
(2) modify the new profile redis process ID:
(3) Modify the new configuration file redis log file:
(4) Modify the new configuration file aof redis File Name:
(5) Modify the new configuration file redis rdb file name:
5, operational services:
(1) Operating redis service:
service redis stop;
service redis start;
(2) Operating redis6380 services:
service redis6380 stop;
service redis6380 start;