Tacacs+ Install Guide

Tacacs+ Install Guide
This document try to basicly explain how to install and use tacacs+
It's not prepared very well. I am sorry for this reason.

First off all there are 4 kind of installation methods for tacacs+.These are:
1)First time rpm install
2)Binary packet(rpm) upgrade 
3)src.rpm compile and install 
4)Tarball install

So lets describe it.

1)First time install

When you want to use tacacs+ at your RPM based system. You must use this choice.
It is very easy process.Just do following things:

Get lastest tacacs+ binary rpm file from http://www.gazi.edu.tr/tacacs.
Login as a root or switch user to root.
Type;
 rpm -ivh tac_plus.xxx.i386.rpm

By this command tacacs+ must install your system.

Try to query if tacacs+ correctly install
 rpm -q tac_plus

If this command give a output like :
 tac_plus-F4.0.3.alpha-7

Viola . You succesfully installed tacacs+ :).

Otherwise if not there are some problem either system or tacacs+ packet.
 
2) Binary packet(rpm) upgrade

When you use this choice, tacacs+ rpm must installed your system before.
I haven't add any check to avoid to erase for old config files. 
So please backupnecessary files before this operation.
(RPM backup old files but sometimes not)

So only just type:
 rpm -Fvh tac_plus.xxx.i386.rpm

Before upgrade tacacs+ please backup of your config files for all probable error.

3)src.rpm compile and install 

This type of installation are very complicated but i try to figure in basic way
If you want to use tacacs+ other features like db authentication etc. you must 
recompile tacacs+ rpm packet.

So first of all you must get lastest src.rpm file from my site.

Install it by command:
 rpm -ivh tac_plus.xxxx.src.rpm

By this command rpm installed tac_plus files to required location. On Redhat 
systems it's put files to /usr/src/redhat directory.

So find SPEC directory then edit tacacs.spec file

Change configure options for your requirements.

Next try to compile by typing:
 rpm -bb tacacs.spec

If the compiling is success it's write binary rpm to RPMS/i386 directory

Then go back and read stage 1 or 2.

Thats all..
 
4)Tarball install

These section is for other than RPM based systems.

For this type of installation you must get lastest tarball distro from my site 

Then unpack it by command:
 tar zxvf tac_plus_xxx.tgz

Then change directory to unpacked dir
For configure tac_plus type:
 ./configure 
If you like to add more feature like db AA or pam 
 ./configure --help   shows configure options

For compile ;
 make tac_plus

then for installing
 make install or manullay install files