-
-
Notifications
You must be signed in to change notification settings - Fork 60
Install NicToolClient
Infern1 edited this page Dec 10, 2014
·
8 revisions
NOTE: more specific instructions are available for FreeBSD 10 and CentOS.
A free download from the TNPI store. Log in for access to the latest releases. NicTool Client and Server are in the NicTool-2.NN.tar.gz bundle.
tar -xzf NicToolClient-2.??.tar.gz
cd NicToolClient-2.??
perl Makefile.PL
make install clean
mv NicToolClient-2.?? /usr/local/nictool/client
This will vary dependent on your OS and Apache version. A typical configuration is presented. Make these additions to httpd.conf:
PerlRequire /usr/local/nictool/client/lib/nictoolclient.conf
<VirtualHost *:80>
# force a https connection
ServerName dns.example.net
Redirect / https://dns.example.net/
</VirtualHost>
<VirtualHost NNN.NNN.NNN.NNN:443>
ServerName dns.example.net
Alias /images/ "/usr/local/nictool/client/htdocs/images/"
DocumentRoot /usr/local/nictool/client/htdocs
DirectoryIndex index.cgi
SSLEngine on
SSLCertificateFile /etc/ssl/certs/server.crt
SSLCertificateKeyFile /etc/ssl/private/server.key
<Files "*.cgi">
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
</Files>
<Directory "/usr/local/nictool/client/htdocs">
AllowOverride None
#Order allow,deny
#Allow from all
Require all granted
</Directory>
</VirtualHost>
cd /usr/local/nictool/client
cp lib/nictoolclient.conf.dist lib/nictoolclient.conf
$EDITOR lib/nictoolclient.conf
service httpd restart || service apache24 restart
- NicTool Server
- NicTool Client
- on FreeBSD 10.1
- on CentOS 6, 7
- on Ubuntu 14, 16, 18
- Docker