部署Redis(脚本安装)
#/bin/bash # DES:Redis Deploy # Author: will_xue # Email:linuxcto@aliyun.com # DATE : 2017-08-08 # VERSION : 01 ## Install Plug yum install -y gcc gcc-c++ automake autoconf libtool make tcl ## Install Redis(src) cd /tmp/ tar zxf redis-stable.tar.gz cd redis-stable make -j2 make -j2 install ## Configure File mkdir -p /etc/redis cp redis.conf /etc/redis/6379.conf ## deamon process sed -i "s/daemonize no/deamonize yes" /etc/redis/6379.conf # Start Redis redis-server /etc/redis/6379.conf