码迷,mamicode.com
首页 > 其他好文 > 详细

redis的坑

时间:2018-07-02 19:27:20      阅读:156      评论:0      收藏:0      [点我收藏+]

标签:修改   systemctl   make   gcc   conf   tables   fir   命令   bsp   

1.外网无法连接redis

解决方法:

把redis.conf里的bind 127.0.0.1注释掉,不行的话把127.0.0.1修改成0.0.0.0

2.make的时候显示没有gcc

解决方法:

安装gcc,命令:

yum -y install gcc

yum -y install gcc-c++

3.关闭防火墙:

systemctl stop firewalld.service

systemctl stop iptables.service

 

redis的坑

标签:修改   systemctl   make   gcc   conf   tables   fir   命令   bsp   

原文地址:https://www.cnblogs.com/shanshen/p/9255288.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!