Varnish Cache Plus supports relocated installation. This means that the
software can be installed to a separate non-system-wide location, for example
Normal use of this is to comply with local (security) policies. This functionality should be used sparingly, as it brings with extra complications when it comes to installation and setup of the software.
Installing relocated must be done using the RPM tool directly, as the normal
yum does not support it.
A script for doing semi-automatic modifications of changed paths in installed scripts/config files is added. Run this as described after the package installation is done.
yum install yum-utils yum downloader varnish-plus varnish-plus-libs varnish-plus-libs-devel
Install packages that Varnish Plus depends on:
$ rpm -Uvh --relocate /=/opt/varnish varnish-plus*.rpm $ /usr/share/doc/varnish-plus-*/relocate /opt/varnish
To install the packages Varnish depends on it is easiest to install it
yum first, and then uninstall it. This allows
the automatic dependency solver in
yum to do the work for you.
All files should now be installed to
will try to create system-wide symlinks for some necessary paths. PATH, LDPATH
and MANPATH defaults will be appended to.
After this it should be possible to start Varnish Cache Plus using the normal
Relocatable install is supported on Enterprise Linux 6 starting from Varnish
4.0.3r5. Enterprise Linux 7 has the necessary changes, but will
require some additional manual steps on installation.
Availability of other Varnish Plus components is limited when running on a relocated installation.