[Redis] Web Client工具 Redis-commander
前言
之前一直找不到好用的Redis Client端介面,最近剛好找到這個還不錯,web介面想開再開起來,紀錄一下。
Github
https://github.com/joeferner/redis-commander
安裝方式
$ npm install -g redis-commander
使用方式
$ redis-commander
他預設會使用 http://localhost:8081 開啟 關閉 ctrl+c 即可
其他指令
$ redis-commander --help
Options:
--redis-port The port to find redis on. [string]
--redis-host The host to find redis on. [string]
--redis-socket The unix-socket to find redis on. [string]
--redis-password The redis password. [string]
--redis-db The redis database. [string]
--http-auth-username, --http-u The http authorisation username. [string]
--http-auth-password, --http-p The http authorisation password. [string]
--port, -p The port to run the server on. [string] [default: 8081]
--address, -a The address to run the server on [string] [default: 0.0.0.0]
故障排除
如遇到下列錯誤訊息(權限問題)
npm ERR! Please include the following file with any support request:
npm ERR! /home/deploy/npm-debug.log
這邊使用sudo安裝,加上nodejs-legancy解決
$ sudo npm install -g redis-commander
$ sudo apt-get install nodejs-legacy
參考
- https://github.com/joeferner/redis-commander
- https://github.com/nodejs/node-v0.x-archive/issues/3911
留言