Some administrators may want to install NMIS in a location other than the default of /usr/local/nmis8. This is possible by telling the installer about the desired location and making a few other changes to the NMIS environment. For this example we'll assume the desired location is /opt/nmis.
bash /tmp/nmis8.6.4G.run -- site=/opt/nmis |
At the time of this writing the installer will create both the custom location and the default location. We can simply remove the unnecessary default location.
rm -rf /usr/local/nmis8 |
/opmantek/admin/patch_config.pl -b /opmantek/conf/Config.nmis /directories/\<nmis_base\>=/opt/nmis |