linux安装redis
作者:互联网
1.redis下载
进入reids官网找到下载链接 https://redis.io/download
#复制下载链接
wget https://download.redis.io/releases/redis-6.2.3.tar.gz
2.解压redis
//创建一个文件夹
cd /usr/local
mkdir reids
cd redis
//解压
tar -xvf redis-6.2.3.tar.gz
3.安装redis
//进入reids目录
cd /usr/local
//执行make命令
make
//进入src目录
cd src
make install PREFIX=/usr/local/redis
3.设置redis后台启动
vi redis.conf //将daemonize no 改成daemonize yes
3.redis启动
./redis-server redis.conf
#链接redis
./redis-cli
标签:tar,local,reids,redis,cd,usr,linux,安装 来源: https://blog.csdn.net/weixin_44358034/article/details/117254165