instructivo de instalalacion de ntop-4.0.3 desde archivos fuente

Download Instructivo de Instalalacion de Ntop-4.0.3 desde archivos fuente

If you can't read please download the document

Upload: patricio-ghirardi

Post on 25-Nov-2015

13 views

Category:

Documents


1 download

DESCRIPTION

Instructivo de Instalalacion de Ntop-4.0.3 desde archivos fuente

TRANSCRIPT

Instructivo de Instalalacion de Ntop-4.0.3 desde archivos fuente ================================================================ Script de control para SuSE (/etc/init.d/ntopd): https://svn.ntop.org/svn/ntop/trunk/ntop/packages/suse/ntopd 1) Instalacion de paquetes necesarios para ntop zypper install glibc glibc-devel gcc cpp awk libtool m4 autoconf automake gdbm g dbm-devel libpcap libpcap-devel gd gd-devel libpng libpng-devel openssl openssldevel zlib zlib-devel rrdtool rrdtool-devel python-rrdtool librrd2 librrd-devel graphviz GeoIP libGeoIP-devel libGeoIP1 python-devel python-mako 2) Bajar Ntop-4.0.3 wget http://downloads.sourceforge.net/project/ntop/ntop/Stable/ntop-4.0.3.tgz?r= http%3A%2F%2Fwww.ntop.org%2Fnews.php&ts=1300759088&use_mirror=ufpr 3) Configurar ntop ./autogen.sh DEBE FINALIZAR SIN ERRORES (AS :) ----------------------------------------------------------------------This is your ntop 4.0.3 configuration: Host System Type : x86_64-suse-linux-gnu Preprocessor (cppflags) : -DLINUX -I/usr/local/include -I/opt/local/include Compiler (cflags) : gcc -g -O2 -I/usr/local/include -I/opt/local/include Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-ext erns -I/usr/include/python2.6 -I/usr/include/python2.6 -fno-strict-aliasing -D NDEBUG -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwi nd-tables -fasynchronous-unwind-tables -g -fwrapv Defines : -DHAVE_CONFIG_H Loader (ldflags) : -L/usr/local/lib -L/opt/local/lib Include path : -I/usr/include/python2.6 -fno-strict-aliasing -DNDEBUG -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tab les -fasynchronous-unwind-tables -g -fwrapv System Libs : -lcrypt -lc -lssl -lcrypto -lrrd_th -lpcap -lgdbm -lz -lpthread -ldl -lutil -lm -lpython2.6 -lGeoIP Locale : /usr/lib/locale External packages: LBL pcap LBL pcap GNU gdbm GNU gdbm zlib zlib openSSL openSSL .h library .h library .h library .h library : : : : : : : : standard standard standard standard standard standard standard standard system system system system system system system system headers libraries headers libraries headers libraries headers libraries

Install directories: Default prefix: /usr/local Install into: NONE (default or via --prefix request)

Data files are in Config files are in Run directory is Plugin files are in Database files are in

/usr/local/share/ntop /usr/local/etc/ntop /usr/local/var/ntop /usr/local/lib/ntop/plugins /usr/local/var/ntop

------------------------------------------------------------------4) Dado que Ntop se ejecuta bajo el usuario "nobody" es necesario asignar permisos al usuario "nobody" sobre los directorios. chown -R nobody:nobody /usr/local/share/ntop chown -R nobody:nobody /usr/local/var/ntop 5) Ejecutar ntop para verificar si funciona correctamente: ntop 6) Si al ejecutar ntop aparee el error: "/usr/local/bin/ntop: error while loading shared libraries: libntopreport-3.3 .7.so: cannot open shared object file: No such file or directory". Corregirlo ejecutando: ldconfig 6) Instalacion del manual (no lo hace solo) cd /usr/local/man ln -s /usr/local/share/man/man8/ntop.8 ./ export MANPATH=$MANPATH:/usr/local/share/man/man8 7) Fix de Graphviz ( @@webinterface IP --> Local --> Local Network Traffic Map ) ln -s /usr/bin/dot /usr/local/bin/dot ll /usr/local/bin/dot lrwxrwxrwx 1 root root 12 Mar 23 16:05 /usr/local/bin/dot -> /usr/bin/dot