2022-03-16-Redis使用教程 防火墙_5788 2023-09-05 30 阅读1分钟 sudo apt update //安装 sudo apt install redis-server //启动 redis-server //修改配置文件 外网访问,端口改成:8368,密码改成:123456 /etc/redis/redis.conf 其中: bind 0.0.0.0 Host 8368 requirepass 123456 //登录redis: redis-cli -p 8379 -a 123456