[root@localhost utils]# bash install_server.shWelcome to the redis service installer
This script will help you easily set up a running redis server
Please select the redis port for this instance: [6379]6380Please select the redis config file name [/data/redis/etc/6380.conf]Selected default - /data/redis/etc/6380.conf
Please select the redis log file name [/data/redis/log/redis_6380.log]Selected default - /data/redis/log/redis_6380.log
Please select the data directory for this instance [/data/redis/6380]Selected default - /data/redis/6380
Please select the redis executable path [/usr/local/bin/redis-server]Selected config:
Port : 6380Config file : /data/redis/etc/6380.conf
Log file : /data/redis/log/redis_6380.log
Data dir : /data/redis/6380
Executable : /usr/local/bin/redis-server
Cli Executable : /usr/local/bin/redis-cli
Is this ok? Then press ENTER to go on or Ctrl-C to abort.
Copied /tmp/6380.conf => /etc/init.d/redis_6380
Installing service...
Successfully added to chkconfig!
Successfully added to runlevels 345!
Starting Redis server...
Installation successful!
[root@localhost utils]# bash install_server.shWelcome to the redis service installer
This script will help you easily set up a running redis server
Please select the redis port for this instance: [6379]6381Please select the redis config file name [/data/redis/etc/6381.conf]Selected default - /data/redis/etc/6381.conf
Please select the redis log file name [/data/redis/log/redis_6381.log]Selected default - /data/redis/log/redis_6381.log
Please select the data directory for this instance [/data/redis/6381]Selected default - /data/redis/6381
Please select the redis executable path [/usr/local/bin/redis-server]Selected config:
Port : 6381Config file : /data/redis/etc/6381.conf
Log file : /data/redis/log/redis_6381.log
Data dir : /data/redis/6381
Executable : /usr/local/bin/redis-server
Cli Executable : /usr/local/bin/redis-cli
Is this ok? Then press ENTER to go on or Ctrl-C to abort.
Copied /tmp/6381.conf => /etc/init.d/redis_6381
Installing service...
Successfully added to chkconfig!
Successfully added to runlevels 345!
Starting Redis server...
Installation successful!
[root@localhost utils]# bash install_server.shWelcome to the redis service installer
This script will help you easily set up a running redis server
Please select the redis port for this instance: [6379]6382Please select the redis config file name [/data/redis/etc/6382.conf]Selected default - /data/redis/etc/6382.conf
Please select the redis log file name [/data/redis/log/redis_6382.log]Selected default - /data/redis/log/redis_6382.log
Please select the data directory for this instance [/data/redis/6382]Selected default - /data/redis/6382
Please select the redis executable path [/usr/local/bin/redis-server]Selected config:
Port : 6382Config file : /data/redis/etc/6382.conf
Log file : /data/redis/log/redis_6382.log
Data dir : /data/redis/6382
Executable : /usr/local/bin/redis-server
Cli Executable : /usr/local/bin/redis-cli
Is this ok? Then press ENTER to go on or Ctrl-C to abort.
Copied /tmp/6382.conf => /etc/init.d/redis_6382
Installing service...
Successfully added to chkconfig!
Successfully added to runlevels 345!
Starting Redis server...
Installation successful!