Sniffer installation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 16: | Line 16: | ||
== Debian 7.0 == | == Debian 7.0 == | ||
apt-get install build-essential subversion libmysqlclient-dev libvorbis-dev libpcap-dev apache2 php5-mysql php5-gd mysql-server unixodbc-dev libsnappy-dev | apt-get install build-essential subversion libmysqlclient-dev libvorbis-dev libpcap-dev apache2 php5-mysql php5-gd mysql-server unixodbc-dev libsnappy-dev libssl-dev | ||
cd /usr/src | cd /usr/src | ||
svn co http://svn.code.sf.net/p/voipmonitor/code/trunk voipmonitor-svn | svn co http://svn.code.sf.net/p/voipmonitor/code/trunk voipmonitor-svn | ||
Line 30: | Line 30: | ||
update-rc.d voipmonitor defaults | update-rc.d voipmonitor defaults | ||
/etc/init.d/voipmonitor start | /etc/init.d/voipmonitor start | ||
== Centos == | == Centos == |
Revision as of 14:33, 14 January 2014
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
Debian 7.0
apt-get install build-essential subversion libmysqlclient-dev libvorbis-dev libpcap-dev apache2 php5-mysql php5-gd mysql-server unixodbc-dev libsnappy-dev libssl-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 wget https://snappy.googlecode.com/files/snappy-1.1.1.tar.gz tar xzf snappy-1.1.1.tar.gz cd snappy-1.1.1 ./configure make make install echo "/usr/local/lib" >> /etc/ld.so.conf ldconfig 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