redis desktop client 编译安装

Quick Install

Windows

  1. Install Microsoft Visual C++ 2015 (If you have not already)
  2. Download Windows Installer from http://redisdesktop.com/download (Requires subscription)
  3. Run downloaded installer

Mac OS X

  1. Download dmg image from http://redisdesktop.com/download (Requires subscription)
  2. Mount dmg image
  3. Run rdm.app

Ubuntu / Debian / Fedora / CentOS / OpenSUSE / ArchLinux / Other Linux di

  1. Install RedisDesktopManager using Snapcraft

Other platforms

You can build Redis Desktop Manager from source.

Build from source

Get source

  1. Install git
  2. Get source code:
git clone --recursive https://github.com/uglide/RedisDesktopManager.git -b 0.9 rdm && cd ./rdm

Build on Linux

Ubuntu

cd src/
./configure
qmake && make && sudo make install
cd /opt/redis-desktop-manager/
sudo mv qt.conf qt.backup

Fedora & CentOS & OpenSUSE

cd src/
./configure
qmake-qt5 && make && sudo make install
cd /usr/share/redis-desktop-manager/bin
sudo mv qt.conf qt.backup

Tip: checkinstall

Instead of sudo make install consider to use sudo checkinstall -D --install on deb-based OS and sudo checkinstall -R --install on rpm-based OS to generate package and install it into the system.

Build on OS X

  1. Install XCode with Xcode build tools
  2. Install Homebrew
  3. Copy cd ./src && cp ./resources/Info.plist.sample ./resources/Info.plist
  4. Building RDM dependencies require i.a. openssl and cmake. Install them: brew install openssl cmake
  5. Build RDM dependencies ./configure
  6. Install Qt 5.9. Add Qt Creator and under Qt 5.9.x add Qt Charts module. http://iso.mirrors.ustc.edu.cn/qtproject/archive/online_installers/3.0/qt-unified-mac-x64-3.0.5-online.dmg
  7. Open ./src/rdm.pro in Qt Creator
  8. Run build

Build on Windows

  1. Install Visual Studio 2015 Community with Updates
  2. Install Qt 5.9
  3. Install Win32 Openssl 1.0.X
  4. Install CMake
  5. Build libssh2 library in folder 3rdparty/qredisclient/3rdparty/qsshclient/3rdparty/libssh2 using CMake
  6. Open ./src/rdm.pro in Qt Creator
  7. Run build

猜你喜欢

转载自blog.csdn.net/fareast_mzh/article/details/82080880