原 centos 8 下安装redis
版权声明:本文为博主原创文章,请尊重他人的劳动成果,转载请附上原文出处链接和本声明。
本文链接:https://www.91mszl.com/zhangwuji/article/details/1294
yum -y install gcc
wget http://download.redis.io/releases/redis-6.0.8.tar.gz
解压
tar -zxvf redis-6.0.8.tar.gz
cd /opt/redis-6.0.8
make
make install PREFIX=/usr/local/redis
cd /usr/local/redis/bin
./redis-server
2)后台启动:从redis的源码目录中复制redis.conf到redis的安装目录
cp -rf /opt/redis-6.0.8/redis.conf /usr/local/redis/bin
cd /usr/local/redis/bin
./redis-server redis.conf
查看redis的进程
ps -ef | grep redis
参考资料:https://www.cnblogs.com/heqiuyong/p/10463334.html
2020-12-20 21:43:35 阅读(667)
名师出品,必属精品 https://www.91mszl.com
博主信息