...
Code Block | ||
---|---|---|
| ||
cd /usr/local tar xvf ~/opFlow-Linux-x86_64-<version>.tar.gz cd opmantek/ cp install/opCommon.nmis conf/ cp install/opFlow.nmis conf/ bin/opfixperms.pl cp install/01opmantek.conf /etc/httpd/conf.d/ service httpd restart |
Debian/Ubuntu
Code Block |
---|
cp install/01opmantek.conf /etc/apache2/conf.d/ service apache2 restart |
Considerations for NetFlow Data Storage
Anchor | ||||
---|---|---|---|---|
|
...
Code Block | ||
---|---|---|
| ||
yum install byacc |
Debian/Ubuntu
Code Block |
---|
apt-get install byacc |
Compiling Flowd
Code Block | ||
---|---|---|
| ||
cd /usr/local/opmantek/source tar xvf flowd-0.9.1.tar.gz cd flowd-0.9.1.tar.gz ./configure make make install |
...
Code Block | ||
---|---|---|
| ||
wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.0.7-rc0.tgz tar xvf mongodb-linux-x86_64-2.0.7-rc0.tgz mv mongodb-linux-x86_64-2.0.7-rc0 /usr/local/ cd /usr/local/ ln -s mongodb-linux-x86_64-2.0.7-rc0 mongodb ln -s mongodb/bin/mongo bin/mongo mkdir /var/mongodb |
Debian/Ubuntu
Code Block |
---|
apt-get install mongodb-clients |
Opmantek Setup for Flowd
Now that you have the binaries for flowd we have a bunch of Opmantek goodness to make it work easily. The following commands get this running
...
When trying to add the _flowd user, you will get the following error message:
adduser: Please enter a username matching the regular expression configured
via the NAME_REGEX[_SYSTEM] configuration variable. Use the `--force-badname'
option to relax this check or reconfigure NAME_REGEX.
Code Block |
---|
adduser --force _flowd |
Debian/Ubuntu follow the LSB (Linux Standard Base) specification, init script functions be available at /lib/lsb/init-functions.
Edit /etc/init.d/flowd
Code Block |
---|
#change this line: . /etc/init.d/functions #to this: . /lib/lsb/init-functions |
The start flowd
Code Block |
---|
sysv-rc-conf flowd on service flowd start |
Opmantek Setup for MongoDB
...
Edit /etc/init.d/mongod
Code Block |
---|
#change this line: . /etc/init.d/functions #to this: . /lib/lsb/init-functions |
The start mongod
Code Block |
---|
sysv-rc-conf mongod on service mongod start |
Installing the Opmantek License and Accepting the EULA
...
Edit /etc/init.d/opflowd
Code Block |
---|
#change this line: . /etc/init.d/functions #to this: . /lib/lsb/init-functions |
The start opflowd
Code Block |
---|
sysv-rc-conf opflowd on service opflowd start |
Access opFlow Web Page
The default URL to access opFlow is http://nmis.domain.com/cgi-omk/opFlow.pl
...