On this page
- Installing Nictool On CentOS 5
- What is Nictool?
- 1. Download nictool
- 2. Extract nictoolclient
- 3. Install perl modules
- 4. Moving directory to web folder
- 5. Edit file httpd.conf like this
- 7. Restart service apache
- 9. Install Perl Modules
- 10. If your Apache2::SOAP has been installed you can continue to install perl modules
- 11. Moving folder to web folder
Installing Nictool On CentOS 5
What is Nictool?
Nictool is a free software for managing DNS, but for download we have to register at www.nictool.com; Nictool can export from djbdns, BIND, PowerDNS. All data is stored in MySQL and can be managed over the web using a browser. This tutorial shows how to install Nictool on CentOS 5.2.
1. Download nictool
2. Extract nictoolclient
[root@server ~]# tar -zxvf NicToolClient-2.07.tar.gz
[root@server ~]# cd NicToolClient-2.07
3. Install perl modules
[root@server NicToolClient-2.07]# perl Makefile.PL
[root@server NicToolClient-2.07]# make install clean
4. Moving directory to web folder
[root@server NicToolClient-2.07]# cd ..
[root@server ~]# mv NicToolClient-2.0.7.tar.gz /var/www/html/NicToolClient
5. Edit file httpd.conf like this
[root@server ~]# nano /etc/httpd/conf/httpd.conf
<VirtualHost *:80> ServerName server.com 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>
6. And we can edit the file nictoolclient.conf
[root@server ~]# nano /var/www/html/NicToolClient/lib/nictoolclient.conf
Change this line:
$NicToolClient::app_dir = '/usr/local/www/NicToolClient';
to:
$NicToolClient::app_dir = '/var/www/html/NicToolClient';
7. Restart service apache
[root@server ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
Now we can try to install NictoolServer.
8. Extract package NictoolServer
[root@server ~]# tar -zxvf NicToolServer-2.07.tar.gz
[root@server ~]# cd NicToolServer-2.07
9. Install Perl Modules
[root@server NicToolServer-2.07]# perl Makefile.PL
If we get messages like this:
'Warning: prerequisite Apache2::SOAP 0 not found'
please download Apache2::SOAP in www.cpan.org
You can download the module from this url: http://search.cpan.org/CPAN/authors/id/R/RK/RKOBES/Apache2-SOAP-0.73.tar.gz
[root@server NicToolServer]# tar zxvf Apache2-SOAP-0.73.tar.gz
[root@server NicToolServer]# cd Apache2-SOAP-0.73
[root@server Apache2-SOAP-0.73]# perl Makefile.PL
[root@server Apache2-SOAP-0.73]# make
[root@server Apache2-SOAP-0.73]# make test
[root@server Apache2-SOAP-0.73]# make install
10. If your Apache2::SOAP has been installed you can continue to install perl modules
[root@server NicToolServer-2.07]# make deps
[root@server NicToolServer-2.07]# make install clean
11. Moving folder to web folder
[root@server ~]# mv NicToolServer-2.07 /var/www/html/NicToolServer