jay's some development note
linux
driver
- ramfs、initrd
display
tools
others
jay's some development note
linux
driver
display
tools
others
对于redis-server 的操作可以直接通过redis-cli进行增删查改。这里记录常用操作。
pi@350-tf-s2 ~$ redis-cli
127.0.0.1:6379> keys * #获取所有key
1) "app:cards"
2) "app:config"
3) "pet"
4) "website"
5) "app:users"
127.0.0.1:6379> hkeys app:cards #获取key
1) "100283"
2) "100108"
127.0.0.1:6379> hget app:cards 100283
"[\"832498338\",\"573086265\",\"2347483355\"
修改默认默认配置文件,使支持远程访问。
$vi /etc/redis/6379.conf
bind 0.0.0.0