		INSTALLATION GUIDE
		------------------

Install from binary package
---------------------------

1. get binary build from ftp or http for appropriate platform
ftp://ftp.kht.ru/pub/unix/tacppd
http://provider.kht.ru/products/tacppd/ftp

-latest build from nightly builds
tacppd-linux-x86-BUILDDATE.tgz
tacppd-linux-x86-snmpstatic-BUILDDATE.tgz
tacppd-fbsd-x86-BUILDDATE.tgz
tacppd-fbsd-x86-snmpstatic-BUILDDATE.tgz
tacppd-solaris-SPARC-BUILDDATE.tgz
tacppd-solaris-SPARC-snmpstatic-BUILDDATE.tgz

where BUILDDATE - this is build date in YYYYMMDD form

-latest release build
tacppd-linux-x86-VERSION.tgz
tacppd-linux-x86-snmpstatic-VERSION.tgz
tacppd-fbsd-x86-VERSION.tgz
tacppd-fbsd-x86-snmpstatic-VERSION.tgz
tacppd-solaris-SPARC-VERSION.tgz
tacppd-solaris-SPARC-snmpstatic-VERSION.tgz

where VERSION - build version in form 0.0.0
last digit - development version
middle - update version
first - release version

word "snmpstatic" means, that binaries statically linked with
Net-Snmp package library. For use program with dynamic Net-Snmp library
you should get Net-Snmp from it's homepage http://www.net-snmp.org
(I should say thanks to this great project) and install it (read throught
it documentation). And use tacppd package without "snmpstatic" word.

2. untar/ungzip it
if you use GNU tar, then:
tar xvzf tacppd-linux-x86-0.0.1.tgz
or for Solaris systems with GNU tar:
gtar xvzf tacppd-solaris-SPARC-0.0.1.tgz

if you use Solaris without GNU tar package, rename tacppd package
to have standard .tar.gz extension
mv tacppd-solaris-SPARC-0.0.1.tgz tacppd-solaris-SPARC-0.0.1.tar.gz
and do gunzip and tar:
gunzip tacppd-solaris-SPARC-0.0.1.tar.gz
tar xvpf tacppd-solaris-SPARC-0.0.1.tar



Install from source
-------------------

You should have:

net-snmp library from http://www.net-snmp.org
(or from my ftp site - ftp://ftp.kht.ru/pub/unix/snmp)

for CryptoCard code you need in
libdes library from ftp://ftp.psy.uq.oz.au/pub/Crypto/DES
(or from ftp://ftp.kht.ru/pub/unix/libs/libdes)
libdes is now also shipped with SSLeay.  Primary ftp site of
ftp://ftp.psy.uq.oz.au/pub/Crypto/SSL/SSLeay-x.x.x.tar.gz


Run 
./configure --help | more
for configuration information

	--with-pgsql
	--with-pgsql-prefix=[/usr/local/pgsql]
	
	--with-mysql
	--with-mysql-prefix=[/usr/local]
	
	--with-msql
	--with-msql-prefix=[/usr/local/msql3]


do "configure" with needed arguments:
./configure --with-pgsql --with-pgsql-prefix=/var/pgsql

to compile project, do
make

to compile database modules, do
make dbmodules

to compile snmp modules
make snmpmodules

to install it, do
make install

make install will not rewrite existed tacppd.conf file - it create
tacppd.conf.orig
Be careful - config file sintax can be changed during development process!

for first-time installation you should rename tacppd.conf.orig to
tacppd.conf

and also you should set up start script START.sh: after install
you will find START.sh.orig

edit this files (START.sh and tacppd.conf) before run.



Read throught README file for more information


Good luck!
Roman Volkov
