Redis(一):centos下安装。
yum install gcc-cc++ wget http://download.redis.io/releases/redis-4.0.2.tar.gz cp redis-4.0.2.tar.gz /usr/local cd /usr/local tar -xvf redis-4.0.2.tar.gz cd redis-4.0.2 make make PREFIX=/usr/local/redis/redis install cd /usr/local/redis/redis/bin ./redis-server
客户端连接:
./redis-cli