PeachBlog
Redis安装 for centos7 修改密码开启远程连接
1、网上搜索redis,查找下载连接
wget http://download.redis.io/releases/redis-6.0.3.tar.gz tar -zxvf redis-6.0.3.tar.gz
编译之前请先检查gcc安装情况
gcc -v
没有则安装
yum install gcc
Redis6+版本需要安装gcc9以上
yum -y install centos-release-scl yum -y install devtoolset-9-gcc devtoolset-9-gcc-c++ devtoolset-9-binutils
切换gcc9
scl enable devtoolset-9 bash
进入Redis目录进行编译
make install
关于开启远程可以参考以下文章:
https://www.cnblogs.com/junjun511/p/11299575.html
暂无锐评!