|
|
| Line 14: |
Line 14: |
| = Compile shared binary = | | = Compile shared binary = |
|
| |
|
| == Debian 7.0 ==
| | Please see README.* inside the sources (we recommend to use the static version) |
|
| |
|
| apt-get install build-essential git libmysqlclient-dev libvorbis-dev libpcap-dev libcurl4-openssl-dev libjson0-dev unixodbc-dev libsnappy-dev libssl-dev
| |
| cd /usr/src
| |
| git clone https://github.com/voipmonitor/sniffer.git | | git clone https://github.com/voipmonitor/sniffer.git |
| cd sniffer
| |
| ./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 git unixODBC-devel mysql-devel libogg libogg-devel vorbis-tools libvorbis libvorbis-devel libpcap-devel zlib-devel snappy-devel, curl-devel, json-c-devel, rrdtool-devel, glib2-devel, libxml2-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
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
| .
| |
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
Please see README.* inside the sources (we recommend to use the static version)
git clone https://github.com/voipmonitor/sniffer.git