Step1: Download daloRadius going through this link http://sourceforge.net/projects/daloradius/files/
Step2:
Extract
the daloradius-0.0-9.tar.gz and copy in your web root
directory(default /var/www/).
tar
-xzvf daloradius-0.9-9.tar.gz
cp daloradius-0.9-8 /var/www -R
Step3: Change owner permission for
the www-data
chown
www-data:www-data /var/www/daloradius-0.9-9 -R
chown
www-data:www-data /var/www/daloradius-0.9-9 -R
chmod
644 /var/www/daloradius-0.9-9/library/daloradius.conf.php
Step4:
Install
daloRADIUS database sql script into mysql
mysql -u root -p radius
</var/www/daloradius-0.9-8/contrib/db/mysql-daloradius.sql
Step5: Change database Configuration as follows:
gedit
/var/www/daloradius-0.9-8/library/daloradius.conf.php
change user
name and password for mysql. Make sure this mysql user name and password is
correct
CONFIG_DB_HOST
= 127.0.0.1
CONFIG_DB_USER = root
CONFIG_DB_PASS = password #your mysql password
CONFIG_DB_USER = root
CONFIG_DB_PASS = password #your mysql password
CONFIG_DB_NAME
= radius
Step6: Install the php program
apt-get
install php5-common php5-gd php-pear php-db libapache2-mod-php5
Step6: Add touch and
set the permission to log files. Please check your log file directory is same
if different then change directory path and set permission
- touch /var/log/freeradius/radacct/sql-relay
- touch /var/log/freeradius/radutmp
- touch /var/log/daloradius.log
- chown 755 /var/log/freeradius
- chown freerad:freerad /var/log/freeradius/radutmp
Step7: Successfully Configured just test going through link: http://your-ipaddress/daloradius-0.9-9/login.php
You should get login page like below:
If you configure another IP change it and open the daloRADIUS login page. if there is any issue check log file or check comment on this link: http://manajung.blogspot.com/2010/01/daloradius-on-ubunto-910.html