[root@dev127 redis-5.0.4]# cd utils/[root@dev127 utils]# lsbuild-static-symbols.tcl corrupt_rdb.c generate-command-help.rb hashtable install_server.sh redis-copy.rb redis_init_script.tpl releasetools whatisdoing.sh
cluster_fail_time.tcl create-cluster graphs hyperloglog lru redis_init_script redis-sha1.rb speed-regression.tcl
[root@dev127 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]8001Please select the redis config file name [/etc/redis/8001.conf]Selected default - /etc/redis/8001.conf
Please select the redis log file name [/var/log/redis_8001.log]Selected default - /var/log/redis_8001.log
Please select the data directory for this instance [/var/lib/redis/8001]Selected default - /var/lib/redis/8001
Please select the redis executable path [/usr/local/bin/redis-server]Selected config:
Port : 8001Config file : /etc/redis/8001.conf
Log file : /var/log/redis_8001.log
Data dir : /var/lib/redis/8001
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/8001.conf => /etc/init.d/redis_8001
Installing service...
Successfully added to chkconfig!
Successfully added to runlevels 345!
Starting Redis server...
Installation successful!
[root@dev127 utils]# chkconfigNote: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.
jenkins 0:off 1:off 2:off 3:on 4:off 5:on 6:off
netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
redis_8001 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root@dev127 utils]#