Linux安装Redis服务步骤 1.获取redis资源 cd /usr/local wget https://mirrors.huaweicloud.com/redis/redis-6.0.10.tar.gz 2.解压 tar xzvf redis-6.0.10.tar.gz 3.安装 cd redis-6.0.10 make cd src make install PREFIX=/usr/local/redis 4.移动配置文件到安装目录下 cd ../ mkdir /usr/