2.2. Installing from full source distribution Previous topic Parent topic Child topic Next topic

Also known as the tar ball, 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 RHEL 6, do 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. On RHEL 6 and 7, it is packaged separately and can be installed with yum. On RHEL 5, you have to install it from CPAN. 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. Save the distribution archive somewhere suitable, such as /usr/local/src/, and unpack it with the following command:
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 -
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 (typically /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.