-
-
Save bugcy013/08f8f94a22b6ab666c18 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Predepends | |
| apt-get install libnuma-dev | |
| #Download pf_ring | |
| #http://sourceforge.net/projects/ntop/files/PF_RING/ | |
| #--Version 5.6.1-- | |
| #wget http://freefr.dl.sourceforge.net/project/ntop/PF_RING/PF_RING-5.6.1.tar.gz | |
| #tar -xzf PF_RING-5.6.1.tar.gz | |
| #cd PF_RING-5.6.1 | |
| #--Version 5.6.2-- | |
| #wget http://freefr.dl.sourceforge.net/project/ntop/PF_RING/PF_RING-5.6.2.tar.gz | |
| #tar -xzf PF_RING-5.6.2.tar.gz | |
| #cd PF_RING-5.6.2 | |
| sudo su | |
| make clean | |
| make | |
| cd kernel; make install | |
| cd ../userland/lib; make install | |
| #Setting libpcap in system path | |
| cd ../libpcap-1.1.1-ring/ | |
| make install | |
| #pfring enabled tcpdump | |
| cd ../userland/tcpdump-4.1.1 | |
| ./configure | |
| make && make install | |
| #Enable pf_ring at boot | |
| #echo pf_ring >> /etc/modules | |
| ###PMACCT#### | |
| #Dowload cvs for pmacct | |
| #export CVSROOT=":pserver:[email protected]:2402/home/repo-0.14" | |
| #cvs login | |
| #cvs co pmacct | |
| #Compile pmacct with pf_ring suport | |
| ./configure --with-pcap-libs=/usr/local/lib/ --prefix=/usr --enable-mmap --enable-ipv6 --enable-threads | |
| make | |
| make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment