RADIUSdesk是理想的管理访问WiFi网络的用户.
RADIUSdesk是FreeRADIUS的web-based administration fron-end, 是专业的, 容易并且有趣去使用, 然而非常强大.
RADIUSdesk有强大的特性, 但是也容易开始.
一个中心位置来管理:
提供AAA服务给
sudo aptitude install -y php5-gd php5-curl
wget https://github.com/cakephp/cakephp/archive/2.5.3.tar.gz
sudo cp 2.5.3.tar.gz /var/www
cd /var/www
sudo tar -xvf 2.5.3.tar.gz
sudo ln -s cakephp-2.5.3 cakephp
cd /var/www/cakephp
sudo svn checkout svn://dvdwalt@svn.code.sf.net/p/radiusdesk/code/trunk/rd_cake ./rd_cake
sudo chown www-data:www-data cakephp -R
mysql -u root -p
create database rd;
GRANT ALL PRIVILEGES ON rd.* to 'rd'@'127.0.0.1' IDENTIFIED BY 'rd';
GRANT ALL PRIVILEGES ON rd.* to 'rd'@'localhost' IDENTIFIED BY 'rd';
exit;
mysql -u root -p rd < /var/www/cakephp/rd_cake/Setup/Db/rd.sql
sudo a2enmod rewrite
sudo a2enmod deflate
sudo a2enmod headers
sudo /etc/init.d/apache2 reload
<Directory /var/www/cakephp>
AllowOverride All
</Directory>
#-------COMPRESS CONTENT-----------
# place filter 'DEFLATE' on all outgoing content
SetOutputFilter DEFLATE
# exclude uncompressible content via file type
SetEnvIfNoCase Request_URI \.(?:exe|t?gz|jpg|png|pdf|zip|bz2|sit|rar)$ no-gzip
#dont-vary
# Keep a log of compression ratio on each request
DeflateFilterNote Input instream
DeflateFilterNote Output outstream
DeflateFilterNote Ratio ratio
LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate
CustomLog /var/log/apache2/deflate.log deflate
# Properly handle old browsers that do not support compression
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
#----------------------------------
#------ADD EXPIRY DATE-------------
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
Header set Expires "Thu, 15 Apr 2015 20:00:00 GMT"
</FilesMatch>
#----------------------------------
#--------Remove ETags --------------------
FileETag none
#-----------------------------------------
sudo /etc/init.d/apache2 reload
cd /var/www
sudo svn checkout svn://dvdwalt@svn.code.sf.net/p/radiusdesk/code/trunk/rd ./rd
cd /var/www
svn checkout svn://svn.code.sf.net/p/radiusdesk/code/extjs/ ./
sudo mv ext-4.2.1-gpl.zip ./rd
cd /var/www/rd
sudo unzip ext-4.2.1-gpl.zip
sudo mv ext-4.2.1.883 ext
sudo cp -R /var/www/rd/ext/examples/ux /var/www/rd/ext/src