Sniffer installation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 18: | Line 18: | ||
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 | 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 | ||
git clone https://github.com/voipmonitor/sniffer.git | |||
cd voipmonitor-svn | cd voipmonitor-svn | ||
./configure | ./configure | ||
Line 44: | Line 44: | ||
echo "/usr/local/lib" >> /etc/ld.so.conf | echo "/usr/local/lib" >> /etc/ld.so.conf | ||
ldconfig | ldconfig | ||
git clone https://github.com/voipmonitor/sniffer.git | |||
cd voipmonitor-svn | cd voipmonitor-svn | ||
./configure | ./configure |
Revision as of 15:53, 24 March 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 git clone https://github.com/voipmonitor/sniffer.git 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 git clone https://github.com/voipmonitor/sniffer.git 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