Installing and Configuring freeradius2.1.10+daloradius-0.9-9+MySQL on Ubuntu Server 12.04.3 LTS
I assume we have installed our operating system (Ubuntu Server 12.04.3 LTS), so we can straight to the point of this post. Before doing anything, dont forget to update the repository
$ sudo apt-get update && sudo apt-get upgrade
And we need worked web server with php for daloradius, so we install fully worked LAMP first
$ sudo apt-get install apache2
Check on your browser and point your ip, it should be shown 'It Works', then we can go to next step
$ sudo apt-get install php5 php5-mysql php5-gd php-pear php-db
We create some a php file to test php is work or not
$ sudo vi /var/ww/test.php
<?php phpinfo(); ?>
$ sudo apt-get update && sudo apt-get upgrade
And we need worked web server with php for daloradius, so we install fully worked LAMP first
$ sudo apt-get install apache2
Check on your browser and point your ip, it should be shown 'It Works', then we can go to next step
$ sudo apt-get install php5 php5-mysql php5-gd php-pear php-db
We create some a php file to test php is work or not
$ sudo vi /var/ww/test.php
<?php phpinfo(); ?>
Go back to your browser and refresh, if php info shown, then, we install MySQL server and freeradius too
$ sudo apt-get install mysql-server freeradius freeradius-mysqlThen we can prepare database for freeradius. We going to make a database called 'radius' with user and password called 'radius' too, to access the database itself
# mysql -u root -p
mysql> grant all on radius.* to radius@localhost identified by "yourpassword";
Query OK, 0 rows affected (0.00 sec)
mysql> exit
# mysql -u root -p radius < /etc/freeradius/sql/mysql/schema.sql
# mysql -u root -p radius < /etc/freeradius/sql/mysql/nas.sql
to be continued ...
Labels: Ubuntu Server 12.04
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home