Netdot
De Linuxmemo.
(Différences entre les versions)
(→Configuration) |
(→Installation) |
||
Ligne 19 : | Ligne 19 : | ||
#perl -MCPAN -e shell; | #perl -MCPAN -e shell; | ||
>install Apache2::SiteControl | >install Apache2::SiteControl | ||
+ | |||
+ | You should also run 'make testdeps' to make sure that you're not missing | ||
+ | any other requirements. | ||
$ vim etc/Default.conf | $ vim etc/Default.conf |
Version du 5 novembre 2012 à 17:31
Network Documentation Tool project
sources: https://osl.uoregon.edu/redmine/
Sommaire |
Installation
$ sudo apt-get install apache2 apache2-dev libapache2-mod-perl2 libapache2-mod-perl2-dev build-essential libapreq2 libapache2-request-perl librrds-perl $ sudo apt-get install rrdtool mysql-client mysql-server ### Choose a mysql 'root' admin password and remember it $ cd /path/to/netdot-1.0.2 $ sudo make install APACHEUSER=www-data APACHEGROUP=www-data $ make installdeps (voir Perl pour utilisation avec serveur proxy) (Modules Perl supplémentaire) #perl -MCPAN -e shell; >install Apache2::SiteControl
You should also run 'make testdeps' to make sure that you're not missing any other requirements.
$ vim etc/Default.conf $ sudo make installdb DB_TYPE=mysql DB_HOST=localhost DB_NETDOT_USER=netdot DB_NETDOT_PASS=netdot
Configuration
$cd /usr/local/netdot/etc $cp Default.conf Site.conf $vim Site.conf
erreur:
apache2ctl configtest Syntax error on line 34 of /etc/apache2/sites-enabled/netdot: Attempt to reload Netdot/Model/Device.pm aborted.\nCompilation failed in require at (eval 296) line 2.\n\t...propagated at /usr/share/perl/5.14/base.pm line 93.\nBEGIN ailed-- compilation aborted at (eval 295) line 1.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Model.pm line 418.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/UI.pm line 5.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/UI.pm line 5.\nCompilation failed in require at /usr/local/netdot/lib/Netdot /Mason.pm line 21.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Mason.pm line 21.\nCompilation failed in require at /etc/apache2/sites-enabled/netdot line 36.\nBEGIN failed--compilation aborted Action 'configtest' failed.
Commande
Automatisation
Astuces
Demo vmware
mdp netdot:netdot