Show Contents / Index / Search

Install to a Non-Default Location on Linux

You can use the rpm --relocate option to specify new target locations for installed files. Two modifications are supported.

  • Specify a new target location for configuration files and keys that are installed by default to /etc/ssh2.
  • Specify a new target location for binaries and man pages that are installed by default to /usr.

The following installed items are not relocated: startup and shutdown scripts, the cryptographic module, and the PKI client library.

To install to a non-standard location

  1. Create the target directories.
  2. Use the rpm --relocate option to specify your target directories. The general syntax is:

    rpm --install --relocate /usr=PrefixDir --relocate /etc/ssh2=SysConfDir package_file.rpm

    For example

    rpm --install --relocate /usr=/opt/rsit --relocate /etc/ssh2=/opt/rsit/etc rsit-server-7.1.0.999-i386-rhel.rpm

Notes:

  • Use --relocate modifications to the installation only as described above. Using other modifications will likely result in an unusable installation.
  • To provide access to binaries and man pages after installing to a non-default location, modify the system PATH and MANPATH variables.

Related Topics

Install Reflection PKI Services Manager

Migrate Settings from Existing Configuration Files

Replace an Existing Secure Shell Program