Welcome to Bruno Bonfils's (aka asyd homepage).
RoRadius, installation guideRequirements
Database
Installation
ConfigurationApachevirtual.confFastCgiServer /var/www/demo.asyd.net/roradius/public/dispatch.fcgi -processes 5 -initial-env RAILS_ENV=development -idle-timeout 120 <VirtualHost *:80> ServerName demo.asyd.net DocumentRoot /var/www/demo.asyd.net/roradius/public/ Alias /roradius/ /var/www/demo.asyd.net/roradius/public/ DocumentRoot /var/www/demo.asyd.net/htdocs <Location /roradius> AuthName roradius AuthType Basic AuthUserFile /etc/apache2/demo.htpasswd require valid-user </Location> </VirtualHost> RAILS_ROOT/public/.htaccessIf you want use a different alias (in the apache configuration) than /roradius, you must edit the following directive : # Example: # Alias /myrailsapp /path/to/myrailsapp/public # RewriteBase /myrailsapp RewriteBase /roradius DatabaseMySQLNote: A version 5 is actually required. # mysql -u root -p mysql msyql> INSERT INTO user (user, host, password) VALUES ('freeradius', '127.0.0.1', PASSWORD('xxxx')); mysql> FLUSH PRIVILEGES; mysql> CREATE DATABASE freeradius; mysql> GRANT ALL PRIVILEGES TO freeradius.* ON freeradius@'127.0.0.1'; mysql> FLUSH PRIVILEGES; mysql> exit # mysql -u freeradius -p < db/mysql.sql config/database.ymlEdit the production entry for a RoRadius release, edit the development one if you checkout the trunk. production: adapter: mysql database: freeradius_production username: root password: host: localhost 1)
The initial development was made with MySQL 5.0
2)
svn checkout http://svn.asyd.net/svn/roradius/trunk/
|