Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Copy the opReports tarball to the server (a tarball is a GZIP'd tar file, e.g. opReports-2012-05-09-1315.tar.gz)
    1. You may need to use SCP or FTP to get the file onto the server.
  • The file will now likely be in the users home directory.
  • If the installation directory does not already exist
  • Change into the directory where the tarball was copied
  • Untar the file
unalias cp
cd /usr/local
tar xvf ~/opReports-<version>.tar.gz
cd opmantek/
mkdir /usr/local/opmantek
cp -r * /usr/local/opmantek/
mkdir /usr/local/opmantek/var
mkdir /usr/local/opmantek/var/reports
mkdir /usr/local/opmantek/logs
touch /usr/local/opmantek/logs/opReports.log
/usr/local/opmantek/bin/opupdateconfig.pl /usr/local/opmantek/install/opReports.nmis /usr/local/opmantek/conf/opReports.nmis

...

Often patches will be released for opReports, the following are commands to install a patch, unless other instructions are specifically provided.

unalias cp
cd ~
tar xvf ~/opReports-<version>.tar.gz
cd opmantek/
cp -r * /usr/local/opmantek/
/usr/local/opmantek/bin/opupdateconfig.pl /usr/local/opmantek/install/opReports.nmis /usr/local/opmantek/conf/opReports.nmis

...