Relocate the Base Directory

Using the RPM package management system you can set an alternative base directory for installing packages. With this feature, you can specify a directory to install the Endpoint Privilege Management for Unix and Linux binary files and log files in. Certain files, such as pb.settings, pb.cfg, and Endpoint Privilege Management for Unix and Linux key files, must be located in the /etc directory for Endpoint Privilege Management for Unix and Linux to run. These files are not relocatable.

To relocate the base directory from the default / (root) directory, do the following:

  1. On the target machine, create the target base directory if it does not already exist.
  2. When you run pbinstall, use the -R option and specify the new base directory.
  3. When installing the component packages, execute rpm with the --prefix option and specify the relocated directory.
rpm  -ivh  --prefix /local/powerbroker  powerbroker-runhost-9.4.1.03-1.x86_64.rpm

The files that are installed by the configuration package cannot be relocated. Do not use the --prefix option when installing the configuration package.