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
原文:https://www.cnblogs.com/shanshen/p/9255294.html