lost and found ( for me ? )

How to build FreeRadius 3.0.2 from source on Ubuntu 13.10

Here is how to build FreeRadius 3.0.2 from source.

Download the source code from http://freeradius.org/ and build it.

Before building freeradius, install openssl libraries which are required to build radius.

# apt-get install libssl1.0.0 libssl-dev

build freeradius

# tar xzvf freeradius-server-3.0.2.tar.gz
# cd freeradius-server-3.0.2

nn, error

# ./configure
configure: WARNING: talloc headers not found. Use --with-talloc-include-dir=<path>.
configure: error: FreeRADIUS requires libtalloc

# apt-get install libtalloc-dev -y

# ./configure
# make
# make install

Okay, I was able to build radius.

# which radiusd

# /usr/local/sbin/radiusd -v
radiusd: FreeRADIUS Version 3.0.2, for host x86_64-unknown-linux-gnu, built on Apr 16 2014 at 01:09:14

# ls -l /usr/local/etc/raddb/
README.rst         hints              panic.gdb          sites-enabled/
certs/             huntgroups         policy.d/          templates.conf
clients.conf       mods-available/    proxy.conf         trigger.conf
dictionary         mods-config/       radiusd.conf       users
experimental.conf  mods-enabled/      sites-available/  

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.