lunes 19 de septiembre de 2011

Instalando NetDoT en ubuntu 10.04 32 bits

Para este post he usado como referencia el manual de NetDoT del sitio oficial de la Universidad de Oregon: https://netdot.uoregon.edu/pub/manual/0.9/netdot-manual-es.pdf

# apt-get update
# apt-get upgrade
# apt-get install apache2 mysql-server libdbd-mysql-perl rrdtool graphviz perl-doc

* Luego de instalado todo esto procedí con


# cd /usr/local/src
# tar xzvf netdot-0.9.9.tar.gz
# cd netdot-0.9.9.tar.gz
# make testdeps

* Dado que me hacían falta muchas dependencias de perl, procedí con el siguiente comando

# make installdeps-apt-get

* Se instalaron todas las dependencias, las que no tienen paquetería de apt-get automáticamente las jala de CPAN. y a todo le dí YES.
# make install PREFIX=/usr/local/netdot APACHEUSER=www-data APACHEGROUP=www-data



* En este punto es necesario copiar el archivo /usr/local/src/netdot-0.9.9/etc/Default.conf a Site.conf y modificar los parámetros principales de la base de datos.  Los que modifiqué quedan de la siguiente manera:


DB_HOME => '/var/lib/mysql',
DB_DBA          =>  'root',
DB_DBA_PASSWORD =>  'CONTRASEÑA',  #Es necesario eliminar este campo luego de la instalación
DB_NETDOT_HOST =>  'localhost',


# set this to the name you want to give to the NetDoT database in
# your database server.
DB_DATABASE =>  'netdot',
# Set this to the name of the netdot database user
DB_NETDOT_USER =>  'netdot_uni',
# Set this to the password used by the NetDoT database user
# *** Change This Before Installation***
DB_NETDOT_PASS =>  'redes_uni',
ADMINEMAIL  => 'jaimeco@uni.edu',


# make installdb

Listo, ya instaló bien.
El usuario y el passdoword de inicio son: admin, admin.

0 comentarios:

Publicar un comentario en la entrada