部署Redis
1.下载
cd /data/
wget http://download.redis.io/releases/redis-3.2.12.tar.gz
2.解压
tar xzf redis-3.2.12.tar.gz
mv redis-3.2.12 redis
3.安装
cd redis
make
4.添加环境变量
vim /etc/profile
export PATH=/application/mysql/bin/:/data/redis/src:$PATH
source /etc/profile
5.启动和连接
redis-server &
redis-cli