Linux redis服务部署
2024年2月26日小于 1 分钟约 66 字
redis安装
apt update
apt install redis-server
vim /etc/redis/redis.conf
bind 0.0.0.0 ::
port 16379
requirepass pass1 # 访问密码
systemctl enable redis-server
systemctl restart redis-server
redis-cli -h yourServerIP -a yourStrongPassword # 客户端登录验证