![](../../asset/images/user/BgImg_default.jpg)
简介
该用户还未填写简介
擅长的技术栈
未填写擅长的技术栈
可提供的服务
暂无可提供的服务
Linux安装Redis5.0
方法一:yum安装安装redis4/5版本通过IUS存储库(仅支持redhat/centos)1. 安装 epel repoyum install -y epel-release bash-completion安装 IUS repo社群版( 可能不行, 可以用下吗的官网版 )yum install -y https://centos7.iuscommunity.org/ius-release.rp
![文章图片](https://img-blog.csdnimg.cn/525d84208ab343d3afda165375a51da9.png?x-oss-process=image/watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBATHVjYXNf546L,size_20,color_FFFFFF,t_70,g_se,x_16)
Linux安装Redis后开启外网访问
1. 把redis加入到防火墙的开放端口中2. 如果阿里云的ECS, 还需要在安全组放开对应的6379端口3. 更改redis.conf 文件vim /etc/redis.conf大概第70行左右加 # 号注释掉这一样, 这一行意思是, 只能本机访问大概第89行左右protected-mode 模式改为noprotected-mode no4. 重启redis就可以了...
![文章图片](https://img-blog.csdnimg.cn/7ca27361406b4a3388c6201eff5fb134.png?x-oss-process=image/watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA5bC555m9aW5iYWk=,size_20,color_FFFFFF,t_70,g_se,x_16)
暂无文章信息