root@apiserver02:/opt/redis/utils# ./install_server.sh
Welcome 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]
Selecting default: 6379
Please select the redis config file name [/etc/redis/6379.conf] /opt/redis/conf/6379.conf
Please select the redis log file name [/var/log/redis_6379.log] /opt/redis/logs/redis_6379.log
Please select the data directory for this instance [/var/lib/redis/6379] /opt/redis/data
Please select the redis executable path [] /opt/redis/bin/redis-server
Selected config:
Port : 6379
Config file : /opt/redis/conf/6379.conf
Log file : /opt/redis/logs/redis_6379.log
Data dir : /opt/redis/data
Executable : /opt/redis/bin/redis-server
Cli Executable : /opt/redis/bin/redis-cli
Is this ok? Then press ENTER to go on or Ctrl-C to abort.
Copied /tmp/6379.conf => /etc/init.d/redis_6379
Installing service...
update-rc.d: using dependency based boot sequencing
insserv: warning: script 'K01apf' missing LSB tags and overrides
insserv: warning: script 'apf' missing LSB tags and overrides
Success!
Starting Redis server...
Installation successful!
root@apiserver02:/opt/redis/utils# /etc/init.d/redis_6379 stop
Stopping ...
Redis stopped
root@apiserver02:/opt/redis/utils#