Webdis 的使用方法请提供 Webdis 的使用指南
Webdis 的使用方法如下。
Webdis 是 Redis 的 HTTP 客户端。
将Arch Linux安装到计算机上。
yay -S webdis
启动
sudo systemctl start webdis
从客户端获取访问
获取存储在Redis中键为id0001的数据。
curl http://localhost:7379/GET/id0001
获取存储在Redis中的键的列表。
curl http://localhost:7379/KEYS/*
获取以id开头的键的列表
curl http://localhost:7379/KEYS/id*

使用Webdis的应用案例
使用Webdis的在席表
故障排除
当Webdis无法启动时
检查 Unit 文件
systemctl cat webdis
需要有用户组才能启动。
以下的方式使其无法启动。
(省略)
User=webdis
Group=webdis
(省略)
我进行了如下更改,并成功启动了。
(省略)
User=redis
Group=redis
(省略)