JWhoisServer project is a small, fast, and highly configurable RFC 3912 compliant whois server written in Java and using RDBMS as a storage engine.
Requirements:
- ant
- log4j
- mysql-jdbc
- whois
Installation:
- Maybe you will have to point the build-script to the locations of log4j and mysql-jdbc
- Type 'ant help-classpath' to see how to do this 'ant help' may give you other hints.
- You may edit build.properties or use command-line arguments to adjust the properties required for the build and install
Run:
cd build
ant jar
ant -Dpackage.installdir.etc=/etc/jwhoisserver -Dpackage.installdir.init=/etc/init.d jar-install
(if you use some properties via commandline for building,
you should use the same one for the install target
... may be better: edit build.properties!)
after you install the server, edit the default cfg file (/etc/jwhoisserver/server.cfg)
The directory 'sql' contains several SQL - files:
data.sql - basic data inserts
db.sql - create database
struct.sql - db struct
test.sql - test data
user.sql - db user instructions
To configure the databes:
create db
create user
create struct
read in basic data
insert test data or insert your own data
mysql -u root -p < db.sql
mysql -u root -p < user.sql
mysql -u root -p jwhoisserver < struct.sql
mysql -u root -p jwhoisserver < data.sql
mysql -u root -p jwhoisserver < test.sql
Start server:
/usr/local/sbin/jwhoisserver
point your favorite whois-client to the host running jwhoisserver and query for 'test.tld':
whois -h localhost test.tld
if the server starts OK, you may use the init.d-script to start him sillently as daemon.
Product's homepage
What's New in This Release: [ read full changelog ]
· The dynamic JDBC driver loader has been fixed.
· Support for the CUBRID database and a dynamic plugin system for DBServerType have been implemented.
· A (beta) installer for Microsoft Windows is now available.