Redis-cli安装
首先,Redis官网下载安装包,地址:https://redis.io
直接选择下载最新稳定版本即可
下载后,需要移动到/usr/local文件夹下
终端进入Redis文件夹下
/usr/local/redis-5.0.8
编译安装Redis
sudo make install
安装成功后,输入redis-server
启动redis
到此,Redis安装完成,可以尝试一下,Redis是否已经启动成功
终端输入'redis-cli',若启动成功则自动连接本地Redis库
Redis客户端可视化
正式版本下载是付费的,但在GitHub开源,可下载到本地自己编译
GitHub源码下载地址:
https://github.com/uglide/RedisDesktopManager/releases
cd ./src && cp ./resources/Info.plist.sample ./resources/Info.plist
.openssl
, cmake
and python3
. Install them: brew install openssl cmake python3
pip3 install -t ../bin/osx/release -r py/requirements.txt
./src/rdm.pro
in Qt Creator.3rdparty/qredisclient/3rdparty/hiredis
and apply the patch to fix compilation on Windows: git apply ../hiredis-win.patch
3rdparty/
folder and install zlib with nuget
: nuget install zlib-msvc14-x64 -Version 1.2.11.7795
C:\Python37-x64
.pip3 install -r src/py/requirements.txt
../src/rdm.pro
in Qt Creator. Choose the Desktop Qt 5.9.x MSVC2017 64bit > Release
build profile.Ctrl-B
)当然,也可以直接下载别人已经编译好的。