System information
Installation
The packages listed in the required packages first following the instructions for each of these
packages, some of these packages will have there own dependencies.
After the required packages are installed you will need to unpack (if you already haven't) the
NMIS distribution. The base directory <BASE> is up to you a Solaris way is to use
/opt/<PROGRAM> like /opt/nmis. I use /data/nmis myself. The file system which has the
database is going to need a lot of space. You can have the program and library files stored in
one file system or directory and the data files stored in another directory.
File locations are controlled with the config.dat file, this is the link for the program files to read
your configuration you can modify the source to have a different config file but all other
directories and control files are stored in this files the default is /data/nmis/files/config.dat
Extract the distribution from the compressed tar file
Uncompress the distribution
gunzip <nmis distribution gz file>
Pick a base directory for the NMIS distribution like /data or /opt and untar the files
tar xvf <nmis distribution tar file>
Directory Structure
The basic directory structure is:
Directory
Required
Size
Type Description
<BASE>/bin small Program
directory for all program files - these will change with later
releases
<BASE>/cgi-bin small Program
directory for CGI program files - these will change with later
releases
<BASE>/conf small Program configuration files and some data files - these won't change
<BASE>/lib small Proram library files - these will change
<BASE>/mibs small Program mib files used by the program - these may or may not change
<BASE>/htdocs medium Data files which are generated for the web pages
<BASE>/var medium Data system files - generated
<BASE>/database LARGE Data database files are stored here - generated
<BASE>/logs medium Data log files
At the moment you should make all directories listed in this file, might automate this later on.
Might be a good idea to decide on a location for the data files and keep it separate from the
program files as you are likely to upgrade to new program versions.
Create nmis users and groups
Not a bad idea to have someone own nmis from the unix permissions point of view, I create a
NMIS user and group and put my own userid the HTTPD user and whoever else in the group of
nmis and then administration becomes a little easier. I have already set the distribution to be
owned by userid 4200 and groupid 4200.
NMIS - Network Management Information System http://www.sins.com.au/nmis/
5 of 43 15/04/2002 3:59 PM