「Redis Desktop Manager」- 安装 @20210427

Debian GNU/Linux 10 and snap

Enable snaps on Debian and install RedisDesktopManager

# 安装
snap install redis-desktop-manager

# 运行
/snap/bin/redis-desktop-manager.rdm

使用源码编译

#!/bin/sh

# 由于发行版的原因,不能直接执行构建脚本,
# 下面的内容是从src/cofigure中提炼出来的

################################################################################
# 安装依赖
################################################################################
apt-get install qt5-default qtdeclarative5-dev libqt5charts5-dev \
             qml-module-qtquick-controls qml-module-qtquick-controls2 qml-module-qt-labs-settings \
             qml-module-qtquick-dialogs qml-module-qtquick-layouts qml-module-qt-labs-folderlistmodel \
             qml-module-qtqml-models2 qml-module-qtcharts libssl1.0-dev libqt5svg5-dev -y

apt-get install automake libtool cmake -y

################################################################################
# 下载源码
################################################################################
git clone --recursive https://github.com/uglide/RedisDesktopManager.git -b 2019 rdm
cd ./rdm/

################################################################################
# 编译前的准备工作
################################################################################

# 处理「third_party/lss/linux_syscall_support.h: No such file or directory」错误
pushd
mkdir -pv 3rdparty/gbreakpad/src/third_party/lss/
cd 3rdparty/gbreakpad/src/third_party/lss/
git clone https://chromium.googlesource.com/linux-syscall-support
cp linux-syscall-support/linux_syscall_support.h .
popd

# 处理「libbreakpad_client.a': No such file or directory」错误
pushd
cd 3rdparty/gbreakpad/
./configure && make
popd

################################################################################
# 开始编译
################################################################################
cd src/
./configure
qmake && make && make install

# 默认的安装路径
cd /opt/redis-desktop-manager/

# 一定要执行这一步
mv qt.conf qt.backup

################################################################################
# 启动
################################################################################
/opt/redis-desktop-manager/rdm

常见问题汇总

Can't connect to redis-server

如果服务器配置了 AUTH 后,如果连接中没有指定认证信息,则返回 Can't connect to redis-server 错误。

参考文献

Redis Desktop Manager/Quick Install/Build from source
ubuntu16.04编译redis desktop manager遇到的问题


posted @ 2021-04-27 22:20  研究林纳斯写的  阅读(177)  评论(0编辑  收藏  举报