Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added cpan install location config info

...

And that's really all there is to it! When the installer finishes, NMIS should be fully installed and working.

If the installer asks you about installing some Perl modules with CPAN...

...don't panic, this is more or less expected: not all Linux distributions provide readymade packages for all of NMIS' needs, thus certain modules require installation from CPAN, the "comprehensive perl archive network").

There is one important aspect regarding the initial configuration of the CPAN tool. Depending on your versions of Perl and the CPAN tool, and whether SELinux is enabled or not,  you may be asked about the "approach for installing modules" in a dialog  similar to this example:

Code Block
Warning: You do not have write permission for Perl library directories.
To install modules, you need to configure a local Perl library directory or
escalate your privileges.  CPAN can help you by bootstrapping the local::lib
module or by configuring itself to use 'sudo' (if available).  You may also
resolve this problem manually if you need to customize your setup.
What approach do you want?  (Choose 'local::lib', 'sudo' or 'manual')

It is essential that you  choose sudo for this question, not the default local::lib.

Initial NMIS Test

 

When the installer has completed its work you should be set to start using NMIS. As an initial check of NMIS you should likely try the command line tool nmis.pl and then the NMIS web GUI:

Code Block
cd /usr/local/nmis8/
sudo ./bin/nmis.pl type=audit

This command will do a quick check of directory and file existence as well as ownership and permissions; if all is well it will not print anything whatsoever.

...