forked from voipmonitor/sniffer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.centos
75 lines (62 loc) · 1.59 KB
/
README.centos
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
62
63
64
65
66
67
68
69
70
71
72
73
74
What is required
================
- C and C++ compiler (gcc,g++)
- libpcap-dev package >= 1.0
- zlib ibrary
- snappy library
- Libogg, Libvorbis
- unixODBC-devel
- Make sure mysql is installed when building CentOS
- Under the Web Server include the mysql-devel and php-mysql packages
Pre-Build
=========
yum groupinstall 'Development Tools'
yum install subversion unixODBC-devel mysql-devel libogg libogg-devel vorbis-tools libvorbis libvorbis-devel libpcap-devel zlib-devel
Snappy library
==============
wget https://snappy.googlecode.com/files/snappy-1.1.0.tar.gz
tar xzf snappy-1.1.0.tar.gz
cd snappy-1.1.0
./configure
make
make install
(for older centos < 6.3)
------------------------
wget http://www.tcpdump.org/release/libpcap-1.3.0.tar.gz
tar xzf libpcap-1.1.1.tar.gz
cd libpcap*
./configure
make
make install
Build voipmonitor
=================
svn co http://svn.code.sf.net/p/voipmonitor/code/trunk voipmonitor-svn
cd voipmonitor-svn
rm Makefile
./configure
make
make install
mkdir /var/spool/voipmonitor
chown apache /var/spool/voipmonitor
Post Build
==========
Start mysql
-----------
yum install mysql-server
chkconfig mysqld on
service mysqld start
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
Web Interface
=============
Enable Apache
-------------
yum install httpd php php-gd php-mysql php-process
chkconfig httpd on
service httpd start
Install the voipmonitor Interface
---------------------------------
go to voipmonitor.org/download and download manual and GUI