thorko . de
Linux / Unix systems administrator
Howto install NicTool on Debian
Installation of NicToolClient
Download the NicTool-2.08.tar.gz file which you can find in the download section
apt-get install librpc-xml-perl libapache2-mod-perl2
tar -xzvf NicToolClient-2.08.tar.gz
cd NicToolClient-2.08
perl Makefile.PL
make install clean
cd ..
mv NicToolClient-2.08 /var/www/NicToolClient
create /etc/apache2/site-available/nictool
<VirtualHost *:80>
ServerName nic.localhost
Alias /images/ "/var/www/html/NicToolClient/htdocs/images/"
DocumentRoot /var/www/html/NicToolClient/htdocs
DirectoryIndex index.cgi
<Files "*.cgi">
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
</Files>
<Directory "/var/www/html/NicToolClient/htdocs">
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
enable this virtual host
ln -s /etc/apache2/sites-available/nictool /etc/apache2/sites-enabled/nictool
vim /var/www/NicToolClient/lib/nictoolclient.conf
$NicToolClient::app_dir = '/var/www/NicToolClient';
apachectl graceful
Installation of NicToolServer
apt-get install libmysqlclient-dev
mkdir /usr/include/apache2
perl -MCPAN -e shell
cpan> install SOAP::Lite
cpan> install DBI
cpan> install DBD::mysql
cpan> install Apache2::SOAP
cpan> install Apache::DBI
cpan> install Net::IP
tar -xzvf NicToolServer-2.08.tar.gz
cd NicToolServer-2.08
perl Makefile.pl
make deps
make install clean
cd ..
mv NicToolServer-2.08 /var/www/NicToolServer
create /etc/apache2/site-available/nictoolserver
<IfDefine !MODPERL2>
PerlFreshRestart On
</IfDefine>
PerlTaintCheck Off
Listen 8082
PerlRequire /var/www/NicToolServer/nictoolserver.conf
PerlRequire /var/www/NicToolClient/lib/nictoolclient.conf
<VirtualHost 127.0.0.1:8082>
KeepAlive Off
<Location />
SetHandler perl-script
PerlResponseHandler NicToolServer
</Location>
<Location /soap>
SetHandler perl-script
# ATTENTION: Comment out one or the other!
#PerlResponseHandler Apache::SOAP
PerlResponseHandler Apache2::SOAP
# /ATTENTIONPerlSetVar
dispatch_to "/var/www/NicToolServer, NicToolServer::SOAP"
</Location>
</VirtualHost>
enable this virtual host
ln -s /etc/apache2/sites-available/nictoolserver /etc/apache2/sites-enabled/nictoolserver
create the database
perl /var/www/NicToolServer/sql/create_tables.pl
apachectl restart
to export the DNS records to bind configuration file use the script
php nt_to_bind.php
Attention: change the parameters at the beginning of the script
2010-09-02 6:56 pm
![]() | Info |
![]() | Download Zabbix Agent 1.8.10 - amd64 deb file Zabbix Server MySQL 1.8.10 - amd64 deb file Zabbix Frontend 1.8.10 - amd64 deb file Firefox 9.0.1 - x86_64 Thunderbird 9.0 - x86_64 LSI Util - manage LSI raid controller Nictool 2.0.8 Cisco VPN Client 4.9.01 for Mac |
![]() | Goodies Varnishd - Highly scalable web caching server CFengine - Configuration and installation automation of enterprise environments Open Benno - Another open source mail archive system (License: GPL). Lucene search engine, no database needed, mails stored in a directory structure |



