debian squeeze + freeradius 2.1.10 + daloradius

Install Prerequisites

Apache 2
PHP 5
PHP GD
PHP DB Abstraction Layer (may require PHP Pear)
MySQL 5
Install

# aptitude install mysql-server php5 php5-mysql php5-gd php-pear php-db freeradius freeradius-mysql subversion

# aptitude install mysql-server php5-gd php-pear php-db freeradius freeradius-mysql subversion -V
The following NEW packages will be installed:
apache2-mpm-prefork{a} [2.2.16-6+squeeze1] apache2-utils{a} [2.2.16-6+squeeze1] apache2.2-bin{a} [2.2.16-6+squeeze1] apache2.2-common{a} [2.2.16-6+squeeze1] fontconfig-config{a} [2.8.0-2.1]
freeradius [2.1.10+dfsg-2] freeradius-common{a} [2.1.10+dfsg-2] freeradius-mysql [2.1.10+dfsg-2] freeradius-utils{a} [2.1.10+dfsg-2] libapache2-mod-php5{a} [5.3.3-7+squeeze1] libapr1{a} [1.4.2-6]
libaprutil1{a} [1.3.9+dfsg-5] libaprutil1-dbd-sqlite3{a} [1.3.9+dfsg-5] libaprutil1-ldap{a} [1.3.9+dfsg-5] libdbd-mysql-perl{a} [4.016-1] libdbi-perl{a} [1.612-1] libfontconfig1{a} [2.8.0-2.1]
libfreeradius2{a} [2.1.10+dfsg-2] libgd2-xpm{a} [2.0.36~rc1~dfsg-5] libhtml-template-perl{a} [2.9-2] libjpeg62{a} [6b1-1] libltdl7{a} [2.2.6b-2] libmysqlclient16{a} [5.1.49-3] libnet-daemon-perl{a} [0.43-1]
libonig2{a} [5.9.1-1] libpcap0.8{a} [1.1.1-2] libperl5.10{a} [5.10.1-17] libplrpc-perl{a} [0.2020-2] libpng12-0{a} [1.2.44-1] libpython2.6{a} [2.6.6-8+b1] libqdbm14{a} [1.8.77-4] libt1-5{a} [5.1.2-3]
libxpm4{a} [1:3.5.8-1] mysql-client-5.1{a} [5.1.49-3] mysql-common{a} [5.1.49-3] mysql-server [5.1.49-3] mysql-server-5.1{a} [5.1.49-3] mysql-server-core-5.1{a} [5.1.49-3] php-db [1.7.13-2]
php-pear [5.3.3-7+squeeze1] php5-cli{a} [5.3.3-7+squeeze1] php5-common{a} [5.3.3-7+squeeze1] php5-gd [5.3.3-7+squeeze1] php5-suhosin{a} [0.9.32.1-1] ssl-cert{a} [1.0.28] ttf-dejavu-core{a} [2.31-1] libneon27-gnutls{a} [0.29.3-3] libserf-0-0{a} [0.3.1-1] libsvn1{a} [1.6.12dfsg-5] subversion [1.6.12dfsg-5]
0 packages upgraded, 46 newly installed, 0 to remove and 0 not upgraded.
Need to get 38.3 MB of archives. After unpacking 96.6 MB will be used.
Do you want to continue? [Y/n/?]

# mysql -V
mysql Ver 14.14 Distrib 5.1.49, for debian-linux-gnu (i486) using readline 6.1

# freeradius -v
freeradius: FreeRADIUS Version 2.1.10, for host i486-pc-linux-gnu, built on Nov 14 2010 at 20:41:03

# svn co https://daloradius.svn.sourceforge.net/svnroot/daloradius/trunk daloradius

Checked out revision 2047.

# cp daloradius/ /var/www -R
# chown www-data:www-data /var/www/daloradius -R
# chmod 644 /var/www/daloradius/library/daloradius.conf.php

# mysql -u root -p
Enter password:mysqladminsecret
mysql> CREATE DATABASE radius;
mysql> quit

# cd /var/www/daloradius/contrib/db/
# mysql -u root -p radius < fr2-mysql-daloradius-and-freeradius.sql
# nano /var/www/daloradius/library/daloradius.conf.php

$configValues['CONFIG_DB_PASS'] = 'mysqlpassword';

And then

http://your ip address/daloradius
username: administrator
password: radius

credit : https://help.ubuntu.com/community/CategoryNetworking/daloRADIUS

About ngengeh

Nama gw ndry

Posted on February 22, 2012, in Uncategorized. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: