环境: centos7 PHP7 1.切到准备安装的目录 cd /usr/local 2.下载Redis wget http://download.redis.io/redis-stable.tar.gz 3.解压 tar -zxf redis-stable.tar.gz 4.编译 make 5.休息十秒钟 6.进入src目录 cd src 7.编译检查 make test 8.安装 make install 9.切到外层将目录改名 cd /usr/local mv redis-stable…
安装流程 Wget http://download.redis.io/releases/redis-5.0.4.tar.gz tar xzf redis-5.0.4.tar.gz mv redis-5.0.4 /usr/local/redis cd /usr/local/redis make make install 安装完成后,我们进入目录/usr/local/bin中查看 cd /usr/local/bin ls -all redis-server & 配置 Redis的配置信息在/usr/…