xuxiaohui9216 发表于 2018-11-5 06:57:18

redis 源码安装

  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:
  Selecting default: 6379
  Please select the redis config file name /opt/redis/conf/6379.conf
  Please select the redis log file name /opt/redis/logs/redis_6379.log
  Please select the data directory for this instance /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#

页: [1]
查看完整版本: redis 源码安装