Prerequisites:
apache
Info yum install httpd
- a working copy of NMIS (starting from an NMIS VM is a good idea, if you prefer to install it yourself see the NMIS 8 Installation Guide)
Installation Steps
- Copy the opFlow opConfig tarball to the server (a tarball is a GZIP'd tar file, e.g. opConfig-Linux-x86_64-1.0.tar.gz)
- 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
Code Block | ||
---|---|---|
| ||
cd /usr/local tar xvf ~/opConfig-Linux-x86_64-<version>.tar.gz cd opmantek/ cp install/opCommon.nmis conf/ cp install/credential_sets.nmis conf/ cp install/command_sets.nmis conf/ cp install/connections.nmis conf/ cp -r install/phrasebooks conf/ bin/opfixperms.pl cp install/01opmantek.conf /etc/httpd/conf.d/ service httpd restarrestart |
Configure MongoDB
The standard Opmantek configuration MongoDB will suite here
...
Code Block |
---|
bin/opConfig-cli.pl act=create_indexes |
Note: if you get an error about missing packages for files (eg RRD.so) running this command make sure you have all prerequisites installed (likely NMIS and it's dependants are missing).
Configure opConfig
Credentials
...