Net-SNMP: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
No edit summary
Boiarino (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
cd /usr/local/src/net-snmp-5.4.2.1
cd /usr/local/src/net-snmp-5.4.2.1


./configure --prefix=/www --with-default-snmp-version="3" --with-sys-contact="boiarino@jlab.org" --with-sys-location="bldg97room102A" --with-logfile="/var/log/snmpd.log" --with-persistent-directory="/var/net-snmp"  
./configure --prefix=/www/netsnmp5.4.2.1 --with-default-snmp-version="3" --with-sys-contact="boiarino@jlab.org" --with-sys-location="bldg97room102A" --with-logfile="/var/log/snmpd.log" --with-persistent-directory="/var/net-snmp"  


You are about to be prompted with a series of questions.  Answer
make
them carefully, as they determine how the SNMP agent and related
applications are to function.


After the configure script finishes, you can browse the newly
make install
created net-snmp-config.h file for further - less important - parameters to
modify.  Be careful if you re-run configure though, since net-snmp-config.h
will be overwritten.

Latest revision as of 15:01, 23 February 2009

cd /usr/local/src/net-snmp-5.4.2.1

./configure --prefix=/www/netsnmp5.4.2.1 --with-default-snmp-version="3" --with-sys-contact="boiarino@jlab.org" --with-sys-location="bldg97room102A" --with-logfile="/var/log/snmpd.log" --with-persistent-directory="/var/net-snmp"

make

make install