Files
RedisDesktopManager/docs/install.md
T
Igor Malinovskiy 3722098d44 Update install.md
2019-05-08 19:02:05 +03:00

2.7 KiB

Quick Install

Windows

  1. Install Microsoft Visual C++ 2017 x64 (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 / ArchLinux / Debian / Fedora / CentOS / OpenSUSE / etc

  1. Install RedisDesktopManager using Snapcraft

!!! warning "SSH Keys" To be able to access your ssh keys from RDM please connect ssh-key interface: sudo snap connect redis-desktop-manager:ssh-keys

Build from source

Get source

  1. Install git

  2. Get source code:

    git clone --recursive https://github.com/uglide/RedisDesktopManager.git -b 2019 rdm && cd ./rdm
    

!!! warning "SSH Tunneling support" Since 0.9.9 RDM by default does not include SSH Tunneling support. You can create a SSH tunnel to your Redis server manually and connect to localhost: ssh -L 6379:REDIS_HOST:6379 SSH_USER@SSH_HOST -P SSH_PORT -i SSH_KEY -T -N or use pre-built binary for your OS

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 "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.
  7. Open ./src/rdm.pro in Qt Creator
  8. Run build

Build on Windows

  1. Install Visual Studio 2017 Community

  2. Install Qt 5.9

  3. Go to 3rdparty/qredisclient/3rdparty/hiredis and apply patch to fix compilation on Windows: git apply ../hiredis-win.patch

  4. Open ./src/rdm.pro in Qt Creator. Chooses Desktop Qt 5.9.x MSVC2017 64bit > Release profile.

  5. Run build. ( Just hit Ctrl-B )