Sniffer installation

From VoIPmonitor.org
Revision as of 10:21, 2 October 2013 by Festr (talk | contribs) (→‎Centos)
Jump to navigation Jump to search

VoIP monitor sniffer can be installed in two ways - either as static binary which will run on any Linux distribution with kernels >= 2.6.18 or compiled from sources.

Static binary

Static binary for 32bit or 64bit can be downloaded from http://www.voipmonitor.org/download pages. Step by step for 64bit linux procedure:

tar xzf voipmonitor-*-static.tar.gz
cd voipmonitor-*-static
./install-script.sh
cp voipmonitor.conf /etc/
mysqladmin create voipmonitor
# Now edit configuration file /etc/voipmonitor.conf and run voipmonitor 
/etc/init.d/voipmonitor start

Compile shared binary

Debian

apt-get install build-essential subversion libmysqlclient-dev libvorbis-dev libpcap-dev apache2 php5-mysql php5-gd mysql-server unixodbc-dev
cd /usr/src
svn co http://svn.code.sf.net/p/voipmonitor/code/trunk voipmonitor-svn
cd voipmonitor-svn
./configure make make install
mkdir /var/spool/voipmonitor
mysqladmin create voipmonitor
cp config/voipmonitor.conf /etc/
#edit file /etc/voipmonitor.conf to your needs
cp config/init.d/voipmonitor /etc/init.d/
update-rc.d voipmonitor defaults
/etc/init.d/voipmonitor start


Centos

yum groupinstall 'Development Tools' 
yum install subversion unixODBC-devel mysql-devel libogg libogg-devel vorbis-tools libvorbis libvorbis-devel libpcap-devel zlib-devel
svn co http://svn.code.sf.net/p/voipmonitor/code/trunk voipmonitor-svn
cd voipmonitor-svn
./configure
make
make install
mkdir /var/spool/voipmonitor
/etc/init.d/mysqld start
mysqladmin create voipmonitor
cp config/voipmonitor.conf /etc/
#edit file /etc/voipmonitor.conf to your needs
cp config/init.d/voipmonitor /etc/init.d/
chkconfig --add voipmonitor
chkconfig voipmonitor on
/etc/init.d/voipmonitor start