查看安装包的路径 dpkg -L redis-server 防火墙 ufw redis 相关 service redis-server restart 转载于:https://www.cnblogs.com/gaocong/p/10775243.html