Evil_TTL> show | s


Category:Unix -> FreeBSD


Installing FreeRADIUS on FreeBSD

If not using ports.

One way:

cd /usr/local/src
wget ftp
tar zxfv freeradius-1.0.0.tar.gz
cd freeradius

The other way:

cd /usr/local/src
fetch ftp
://ftp.freeradius.org/pub/radius/freeradius-[see official website for latest release].tar.gz
tar zxfv freeradius-[see official website for latest release].tar.gz
cd freeradius
-[see official website for latest release] 

Use the following commands to install it:

make install clean 

If it doesn’t work and you see the following error see instructions below:

configureerrorGNU Make is not installedPlease download and install it from ftp://prep.ai.mit.edu/pub/gnu/make/ before continuing. 

Install GNU make instead of just make:

fetch http://prep.ai.mit.edu/pub/gnu/make/make-3.81.90.tar.gz
make install clean

% csh / % rehash causes the shell to recompute a table of where commands are
  located.  This is necessary if you add a command to a directory
  in the current shell’s search path and wish the shell to find it,
  since otherwise the hashing algorithm may tell the shell that the
  command wasn’t in that directory when the hash table was computed.

Now proceed to FreeRADIUS directory and enter the following commands:

gmake install clean

It’s going to work out now. To start the server use radiusd command. To stop the server use pkill radiusd.

Installing FreeRADIUS on CentOS

By privilege15