FreeRADIUS requires OpenSSL, available from openssl.org
NOTE: The steps below use openssl 1.1.0e. Your version may be different.
1. Run the following commands:
A. curl -LO https://www.openssl.org/source/
openssl-1.1.0e.tar.gz
B. tar zxvf openssl-1.1.0e.tar.gz
C. cd openssl-1.1.0e
D. ./config
E. make
F. make test
G. sudo make install
FreeRADIUS
1. Download the current stable version of FreeRADIUS from
freeradius.org. and unpack the archive.
NOTE: The steps below use FreeRADIUS 3.0.21. Your version may be different.
2. Run the following commands:
A. tar zxvf freeradius-server-3.0.21.tar.gz
B. cd freeradius-server-3.0.21
C. ./configure --enable-developer=yes --localstatedir=/var --
with-openssl-lib-dir=/usr/local/lib
D. make
E. sudo make install
Configure FreeRADIUS
Once FreeRADIUS is built, you must configure it.
1. Verify that the package is functional using the following command:
sudo /usr/local/sbin/radiusd -X
2. Wait until the line "Ready to process requests" is printed, then press
Control-C to stop the service.
3. Verify that the opendirectory module is present using the following
command:
sudo ls /usr/local/etc/raddb/mods-available/
You should see opendirectory in the output.
4. Run the following command:
ls /usr/local/lib/rlm_opendirectory.*
You should see the following in the output:
• rlm_opendirectory.a
• rlm_opendirectory.dylib
• rlm_opendirectory.la
Configure sqlite
1. Run the following commands:
A. cd /usr/local/etc/raddb/
B. sudo -s
C. cd mods-enabled
D. ln -s ../mods-available/sql sql
E. cd ..
6. In the mods-enabled/sql file, make the following changes: