redis安装

系统:CentOS 6.4 Minimal 64位

Redis版本:3.0.7

安装脚本:



#!/bin/bash

yum install -y wget gcc

wget http://download.redis.io/releases/redis-3.0.7.tar.gz
tar zxvf redis-3.0.7.tar.gz
cd redis-3.0.7/deps/jemalloc/
./configure && make
cd ../../
make && make install

echo "Redis Install Success!Enjoy It!"

sh ./utils/install_server.sh

发表评论