forked from voipmonitor/sniffer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.raspbian
61 lines (45 loc) · 1.89 KB
/
README.raspbian
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Debian 8
What is required
================
apt-get install build-essential
apt-get install unixodbc-dev
apt-get install libvorbis-dev
apt-get install libsnappy-dev
apt-get install libcurl4-openssl-dev
apt-get install libssh-dev libpng12-dev libfftw3-dev
apt-get install librrd-dev
apt-get install libmysqlclient-dev
apt-get install liblzma-dev libgnutls-dev
apt-get install libgoogle-perftools-dev
apt-get install libgcrypt11-dev
What is recommmended
====================
# For faster (*alloc) lib
apt-get install libtcmalloc-minimal4
# locate directory of installed shared lib:
ldconfig -p |grep libtcmalloc_minimal
# cd to dir listed and create link if not already there:
ln -s libtcmalloc_minimal.so.4.2.2 libtcmalloc_minimal.so
Build voipmonitor
=================
git clone https://github.com/voipmonitor/sniffer.git /usr/src/voipmonitor-git
cd /usr/src/voipmonitor-git
./configure
make
make install
Post Build
==========
#copy default config from /usr/src/voipmonitor-git/config/voipmonitor.conf to /etc/voipmonitor.conf
cp /usr/src/voipmonitor-git/config/voipmonitor.conf /etc/voipmonitor.conf
#copy init script from /usr/src/voipmonitor-git/config/init.d/voipmonitor to /etc/init.d/voipmonitor
cp /usr/src/voipmonitor-git/config/init.d/voipmonitor /etc/init.d/voipmonitor
#in case you are using systemd for startup services follow instructions for systemd init file at begining of this how to: https://www.voipmonitor.org/doc/Centos_7
#edit configuration file /etc/voipmonitor.conf and set at least (mysqlhost, mysqlport, mysqlusername, mysqlpassword) options and auto-cleaning options (cleandatabase,maxpoolsize)
Web interface
=============
Go to https://www.voipmonitor.org/doc/Debian_8
and follow instructions - start with 'Installing IOncube - php loader / decryptor'
Mysql server
============
If you want use mysql server on localhost, don't forget to install also mysql-server
apt-get install mysql-server