Centos 5.10: Difference between revisions
Jump to navigation
Jump to search
(Created page with "= Sniffer compilation = echo "/usr/local/lib" >> /etc/ld.so.conf cd /usr/src wget https://snappy.googlecode.com/files/snappy-1.1.0.tar.gz tar -xzf snappy-1.1.0.tar.gz ...") |
No edit summary |
||
Line 1: | Line 1: | ||
= Sniffer compilation = | = Sniffer compilation 32bit = | ||
Install development tools | |||
yum groupinstall "Development Tools" | |||
Install latest epel-release from http://dl.fedoraproject.org/pub/epel/5/i386/ | |||
wget http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm | |||
rpm -Uvh epel-release*rpm | |||
Install snapy from epel archives | |||
yum install snappy | |||
Install json from epel archives | |||
yum install json-c-devel.i386 | |||
Install rrdtool | |||
yum install rrdtool rrdtool-devel | |||
Install XML2 | |||
yum install libxslt-devel libxml2-devel | |||
Install libpcap (tcpdump) from sources (packages in archive are too old) | |||
wget http://www.tcpdump.org/release/libpcap-1.5.3.tar.gz | |||
tar -xzf libpcap-1.5.3.tar.gz | |||
cd libpcap-1.5.3 | |||
./configure | |||
make | |||
make install | |||
Setting for dynamic libraries | |||
echo "/usr/local/lib" >> /etc/ld.so.conf | |||
ldconfig | |||
Compile latest voipmonitor sniffer | |||
wget http://www.voipmonitor.org/current-stable-sniffer-static-32bit.tar.gz | |||
tar -xzf voipmonitor-*-src.tar.gz | |||
cd voipmonitor-*-src | |||
./configure | |||
= Sniffer compilation 64bit = | |||
echo "/usr/local/lib" >> /etc/ld.so.conf | echo "/usr/local/lib" >> /etc/ld.so.conf |
Revision as of 13:45, 7 October 2014
Sniffer compilation 32bit
Install development tools
yum groupinstall "Development Tools"
Install latest epel-release from http://dl.fedoraproject.org/pub/epel/5/i386/
wget http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm rpm -Uvh epel-release*rpm
Install snapy from epel archives
yum install snappy
Install json from epel archives
yum install json-c-devel.i386
Install rrdtool
yum install rrdtool rrdtool-devel
Install XML2
yum install libxslt-devel libxml2-devel
Install libpcap (tcpdump) from sources (packages in archive are too old)
wget http://www.tcpdump.org/release/libpcap-1.5.3.tar.gz tar -xzf libpcap-1.5.3.tar.gz cd libpcap-1.5.3 ./configure make make install
Setting for dynamic libraries
echo "/usr/local/lib" >> /etc/ld.so.conf ldconfig
Compile latest voipmonitor sniffer
wget http://www.voipmonitor.org/current-stable-sniffer-static-32bit.tar.gz tar -xzf voipmonitor-*-src.tar.gz cd voipmonitor-*-src ./configure
Sniffer compilation 64bit
echo "/usr/local/lib" >> /etc/ld.so.conf
cd /usr/src wget https://snappy.googlecode.com/files/snappy-1.1.0.tar.gz tar -xzf snappy-1.1.0.tar.gz ./configure make make install
yum install cmake openssl openssl-devel curl-devel zlib-devel cpio expat-devel gettext-devel unixODBC-devel mysql-devel libogg-devel libvorbis-devel vorbis-tools
wget https://red.libssh.org/attachments/download/87/libssh-0.6.3.tar.xz --no-check-certificate tar xf libssh-0.6.3.tar.xz cd libssh-0.6.3 mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release -DWITH_ZLIB=OFF .. make install
ldconfig
wget https://git-core.googlecode.com/files/git-1.9.0.tar.gz tar -xzf git-1.9.0.tar.gz cd git-1.9.0 ./configure make make install
git clone https://github.com/json-c/json-c.git cd json-c;sh autogen.sh; ./configure // remove in Makefile : -Wno-error=deprecated-declarations and in AM_FLAGS remove -Werror make make install ln -s /usr/lib/libjson-c.so /usr/lib/libjson.so ln -s /usr/local/json-c /usr/local/json
wget http://www.tcpdump.org/release/libpcap-1.5.3.tar.gz tar -xzf libpcap-1.5.3.tar.gz cd libpcap-1.5.3 ./configure make make install
wget http://www.voipmonitor.org/current-stable-sniffer-static-32bit.tar.gz tar -xzf voipmonitor-*-src.tar.gz cd voipmonitor-*-src ./configure