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 Privilege Management for Unix and Linux binary files and log files in. Certain files, such as pb.settings, pb.cfg, and Privilege Management for Unix and Linux key files, must be located in the /etc directory for 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:
- On the target machine, create the target base directory if it does not already exist.
- When you run pbinstall, use the -R option and specify the new base directory.
- 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.