2.9. Installing and upgrading with full source distribution Previous topic Parent topic Child topic Next topic

Also known as the tar or zip package, this is the general and widely portable procedure for installing Radiator. However, a number of platform-specific installation methods are also available.
This installation method requires ExtUtils::MakeMaker, which is part of Perl. Some recent Linux distributions, such as Red Hat Enterprise Linux, may not have ExtUtils::MakeMaker installed by default. Install it with the following command:
yum install perl-ExtUtils-MakeMaker
The minimum prerequisite is Perl Digest::SHA module, which is part of core Perl since Perl 5.10.0. For example, on Red Hat Enterprise Linux, it is packaged separately as perl-Digest-SHA and can be installed with yum. For more information, see Section 2.1.2. CPAN.
The Radiator full source distribution is supplied as a gzipped, tarred distribution file. The standard distribution file name is Radiator-x.yy.tgz, where "x.yy" is the revision number. Radiator zip distribution is named similarly with file name ending as zip instead of tgz. Save the distribution archive somewhere suitable, such as /usr/local/src/, and unpack it as follows:
zcat Radiator-x.yy.tgz | tar xvf -
In this case, zcat is the GNU zcat command. If your path does not include the GNU zcat:
cat Radiator-x.yy.tgz | gunzip -c| tar xvf -
To unpack a zip distribution, use a GUI tool or command line:
unzip Radiator-x.yy.zip
In either case, this creates a directory Radiator-x.yy into the current directory:
cd Radiator-x.yy
perl Makefile.PL
make test
This runs a fairly exhaustive test suite on your RADIUS server. It can take few minutes.
make install
This optional command installs the RADIUS modules that Radiator requires in your site-Perl directory (for example /usr/local/lib/perl5/site_perl/). It installs the RADIUS daemon (radiusd, the command line password test program radpwtst, the DBM file builder builddbm, and the SQL database builder buildsql in your default directory for local executables, which is typically /usr/local/bin/.
You can omit make install command and run your Radiator directly in the distribution directory.

Upgrading

To upgrade Radiator with .zip or .tgz package, repeat the installation using the new distribution package file. The files in the new distribution will overwrite any files in the old distribution.