Skip to content

Commit

Permalink
convert readme to markdown format
Browse files Browse the repository at this point in the history
  • Loading branch information
yannis.mekaouche committed Feb 12, 2020
1 parent c60d880 commit 2169685
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 56 deletions.
36 changes: 16 additions & 20 deletions README.centos → README_centos.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
What is required
================
# What is required

- C and C++ compiler (gcc,g++)
- libpcap-dev package >= 1.0
Expand All @@ -11,8 +10,7 @@ What is required
- Make sure mysql is installed when building CentOS
- Under the Web Server include the mysql-devel and php-mysql packages

Pre-Build
=========
# 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
Expand All @@ -21,26 +19,26 @@ for CentOS >= 7.4:

yum install libicu-devel snappy-devel libcurl-devel libssh-devel libpng-devel fftw-devel openssl-devel json-c-devel rrdtool-devel glib2-devel libxml2-devel lzo-devel gnutls-devel libgcrypt-devel gperftools-devel

Snappy library
==============
# 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)
------------------------
## (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
=================
# Build voipmonitor

svn co http://svn.code.sf.net/p/voipmonitor/code/trunk voipmonitor-svn
cd voipmonitor-svn
rm Makefile
Expand All @@ -50,11 +48,10 @@ make install
mkdir /var/spool/voipmonitor
chown apache /var/spool/voipmonitor

Post Build
==========
# Post Build

## Start mysql

Start mysql
-----------
yum install mysql-server
chkconfig mysqld on
service mysqld start
Expand All @@ -64,16 +61,15 @@ cp config/init.d/voipmonitor /etc/init.d/
chkconfig --add voipmonitor
chkconfig voipmonitor on

Web Interface
=============
# Web Interface

## Enable Apache

Enable Apache
-------------
yum install httpd php php-gd php-mysql php-process
chkconfig httpd on
service httpd start

Install the voipmonitor Interface
---------------------------------
## Install the voipmonitor Interface

go to voipmonitor.org/download and download manual and GUI

3 changes: 1 addition & 2 deletions README.debian → README_debian.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Debian
------
# Debian

apt-get install build-essential git libmysqlclient-dev libvorbis-dev libpcap-dev unixodbc-dev libsnappy-dev libcurl4-openssl-dev libssh-dev libjson0-dev librrd-dev liblzo2-dev liblzma-dev libglib2.0-dev libxml2-dev

Expand Down
2 changes: 2 additions & 0 deletions README.freebsd → README_freebsd.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# FreeBSD

pkg install -y gmake pkgconf autoconf git libogg rrdtool google-perftools png fftw3 curl libvorbis vorbis-tools lzo2 snappy unixODBC json-c libgcrypt gbutls libssh icu
git clone https://github.com/voipmonitor/sniffer.git
autoconf
Expand Down
9 changes: 3 additions & 6 deletions README.gentoo → README_gentoo.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
Install voipmonitor dependencies
================================
# Install voipmonitor dependencies

emerge libpcap zlib

Install voipmonitor
===================
# Install voipmonitor

cd /path/to/voipmonitor
make clean
Expand All @@ -16,8 +14,7 @@ cp config/init.d/voipmonitor /etc/init.d/
Edit the config file, prepare the mysql table and run voipmonitor


Install voipmonitor
--------------------------------
## Install voipmonitor

cd /path/to/voipmonitor
make
Expand Down
2 changes: 1 addition & 1 deletion README.piaf → README_piaf.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PBX In A Flash
# PBX In A Flash

yum install mysql-devel
wget http://www.tcpdump.org/release/libpcap-1.1.1.tar.gz
Expand Down
35 changes: 16 additions & 19 deletions README.raspbian → README_raspbian.md
Original file line number Diff line number Diff line change
@@ -1,52 +1,49 @@
Debian 8
# Debian 8

What is required
================
# What is required

apt-get install build-essential
apt-get install unixodbc-dev libvorbis-dev libsnappy-dev libcurl4-openssl-dev libssh-dev libpng12-dev libfftw3-dev librrd-dev liblzma-dev libgoogle-perftools-dev libgcrypt11-dev libpcap-dev libicu-dev libjson-c-dev libglib2.0-dev libxml2-dev default-libmysqlclient-dev liblzo2-dev gnutls-dev


What is recommmended
====================
# What is recommmended

# For faster (*alloc) lib
## For faster (*alloc) lib
apt-get install libtcmalloc-minimal4

# locate directory of installed shared lib:
## locate directory of installed shared lib:
ldconfig -p |grep libtcmalloc_minimal

# cd to dir listed and create link if not already there:
## cd to dir listed and create link if not already there:
ln -s libtcmalloc_minimal.so.4.2.2 libtcmalloc_minimal.so


Build voipmonitor
=================
# 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
# 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
* 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
* 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
=============
# Web interface

Go to https://www.voipmonitor.org/doc/Debian_8
and follow instructions - start with 'Installing IOncube - php loader / decryptor'


Mysql server
============
# Mysql server

If you want use mysql server on localhost, don't forget to install also mysql-server
apt-get install mysql-server
File renamed without changes.
9 changes: 3 additions & 6 deletions README.ubuntu-10.04LTS → README_ubuntu-10-04LTS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
INSTALL libpcap.1.1.1
=====================
# INSTALL libpcap.1.1.1

sudo apt-get install flex
sudo apt-get install bison
Expand All @@ -12,13 +11,11 @@ make
make install
ldconfig

INSTALL MySQL
=============
# INSTALL MySQL

sudo apt-get install libmysqlclient15-dev

INSTALL VoipMonitor svn trunk version
=====================================
# INSTALL VoipMonitor svn trunk version

sudo apt-get install subversion libvorbis-dev libpcap-dev apache2 php5-mysql php5-gd unixodbc-dev libapache2-mod-php5
cd /usr/src
Expand Down
3 changes: 1 addition & 2 deletions README.ubuntu-12.04LTS → README_ubuntu-12-04LTS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Debian 6.0
----------
# Debian 6.0

apt-get install build-essential subversion libvorbis-dev libpcap-dev apache2 php5-mysql php5-gd mysql-server unixodbc-dev libapache2-mod-php5 tshark libmysqlclient-dev zlib1g-dev

Expand Down

0 comments on commit 2169685

Please sign in to comment.