-
Notifications
You must be signed in to change notification settings - Fork 11
Building Arecibo
pierre edited this page Oct 10, 2012
·
8 revisions
- Make sure you have maven 3.0.3 (or more recent) by running
mvn --version
. If needed, install a more recent version from the Maven Apache website. Scroll down to the bottom of that page for installation instructions
- Download the WebNMS SNMP API 4 here
mvn install:install-file -DgroupId=adventnet -DartifactId=AdventNetSnmp -Dpackaging=jar -Dversion=4.0.4 -Dfile=/path/to/WebNMS/SNMPAPI/jars/AdventNetSnmp.jar -DgeneratePom=true
mvn install:install-file -DgroupId=adventnet -DartifactId=AdventNetLogging -Dpackaging=jar -Dversion=4.0.4 -Dfile=/path/to/WebNMS/SNMPAPI/jars/AdventNetLogging.jar -DgeneratePom=true
-
mvn clean install
in the Arecibo tree
- Create the spool directories
mkdir -p /var/tmp/arecibo ; mkdir -p dashboard/./spool/publisher/event
- Setup the database and user
create database arecibo; create user arecibo; grant all privileges on arecibo.* to arecibo@localhost identified by 'arecibo';
- Setup the schema:
cat collector/src/main/resources/collector.sql | mysql -uarecibo -parecibo arecibo