Redis是流行的键值对存储数据库
  默认端口 6379
  http://download.redis.io/releases/redis-3.0.7.tar.gz
  cd redis-3.0.7
  不必configure
  make
  cd src
  [root@localhost src]# make install
  Hint: It's a good idea to run 'make test' ;)
  INSTALL install
  INSTALL install
  INSTALL install
  INSTALL install
  INSTALL install
  make test
  [root@localhost src]# make test
  You need tcl 8.5 or newer in order to run the Redis test
  make: *** [test] 错误 1
  根据错误下载tcl
  yum install -y tcl
  然后make test
  为了便于管理.可以把一些常用配置文件 进行统一管理
  mkdir -p /usr/local/redis/bin
  mkdir -p /usr/local/redis/etc
  mv /redis/redis-3.0.7/redis.conf /usr/local/redis/etc
  cd src
  ls
  mv  mkreleasehdr.sh redis-sentinel redis-server redis-trib.rb  redis-benchmark  redis-check-aof redis-check-dump redis-cli /usr/local/redis/bin
  /usr/local/redis/bin/redis-server  /usr/local/redis/etc/redis.conf  启动
  在配置文件中修改
  vim /usr/local/redis/etc/redis.conf
  daemonize  改为yes可以吧redis改为后台启动
  然后使用
  /usr/local/redis/bin/redis-cli
  进入redis数据库控制台
  reids搭建基本工作准备完成