This change makes it possible now to relocate the installation paths of the installed RPMs using the --relocate argument. For example, to relocate the installation to opt, you would use the following arguments:
rpm --relocate /usr=/opt --relocate /var=/opt/var --relocate /etc=/opt/etc --noscripts mongodb-enterprise-server.rpm
|
This is true for all of the RPMs produced by the main mongodb repository, but it does not yet affect the mongodb-tools RPM, nor does it affect Compass installation paths. This change is intended to make it possible for an experienced administrator to either install a second server or install into a container root directory. The --noscripts argument is required for installation to complete, and the administrator will need to do extra work to configure and start the server.
This is not a recommended procedure unless you really know what you're doing and why you're doing it. It's also completely untested (and essentially untestable given our current setup), so this is definitely "do at your own risk" territory.