Offline installation

If you install Redis Software on a machine with no internet connection, you need to perform two tasks manually.

Redis Software

By default, the installation process requires an internet connection to enable installing dependency packages and for synchronizing the operating system clock against an NTP server.

If you install Redis Software on a machine without an internet connection, you need to perform two tasks manually.

Install required dependency packages

When you install Redis Software on a machine that is not connected to the internet, the installation process fails and displays an error message informing you it failed to automatically install dependencies. Review the installation steps in the console to see which missing dependencies the process attempted to install. Install all these dependency packages and then run the installation again.

The same applies to hosts that install packages only from a private repository mirror. If the mirror doesn't contain a package that Redis Software requires, the installation or upgrade fails. Add the missing packages to the mirror, then run the installation or upgrade again.

To find the required packages before you install, use a host that runs the same operating system and version and can reach its package repositories:

  1. Extract the Redis Software installation package, as described in Install Redis Software on Linux.

  2. List the dependencies of the Redis Software package:

    • On RHEL-based systems, run rpm -qpR </path-to/package.rpm>.
    • On Ubuntu, run dpkg --info </path-to/package.deb> and check the Depends line.

    Some RHEL entries name a library or file instead of a package. To find the package that provides one, run yum provides '<dependency>'.

  3. Download the packages that the target host doesn't already have, then copy them to the target host or add them to your mirror.

The dependencies differ by operating system and Redis Software version, so check them again for each version you install.

Set up NTP time synchronization

At the end of the installation, the process asks if you want to set up NTP time synchronization. If you choose Yes while you are not connected to the internet, the action fails and displays the appropriate error message, but the installation completes successfully. Despite the successful completion of the installation, you still have to configure all nodes for NTP time synchronization.

RATE THIS PAGE
Back to top ↑