Redis-linux环境安装redis-配置文件启动目录管理

[root@localhost redis-4.0.11]# mkdir conf
[root@localhost redis-4.0.11]# mv redis-6379.conf conf/
[root@localhost redis-4.0.11]# redis-server conf/redis-6379.conf 
[root@localhost redis-4.0.11]# ps -ef | grep redis-
[root@localhost redis-4.0.11]# cd conf/
[root@localhost conf]# cp redis-6379.conf redis-6380.conf 
[root@localhost conf]# vi redis-6380.conf 
[root@localhost conf]# cd ..
[root@localhost redis-4.0.11]# redis-server conf/redis-6380.conf 
[root@localhost redis-4.0.11]# ps -ef | grep redis-

你可能感兴趣的:(Redis-linux环境安装redis-配置文件启动目录管理)