Building RADIUS Services

Source: Internet
Author: User
Tags administrator password freeradius

RADIUS is the short name of the remote Access Dial in User service.

RADIUS is mainly used to provide authentication (authentication) mechanism, used to identify the user's identity and password –> confirmation, through the authorization (Authorization) user access to the network domain using the relevant resources –> A billing (Accounting) mechanism is available to keep users ' network usage records.

The Freeradius is a opensource software that enables RADIUS AAA (authentication, Authorization, Accounting) capabilities based on the RADIUS protocol.


#wget Http://mirrors.163.com/.help/CentOS6-Base-163.repo

#wget ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-3.0.6.tar.gz Download Freeraduis source Package

#yum install httpd httpd-devel mysql mysql-server mysql-develphp php-devel php-mysql php-common php-gd php-mbstring PHP-MC Rypt php-xml gcc gcc-c++ libtalloc-devel php-pear* lamp Environment Installation

#chkconfig httpd on && service httpd restart

#chkconfig mysqld on && service mysqld restart

#mysqladmin-uroot password ' database administrator password '

#tar-ZXVF freeradius-server-3.0.6.tar.gz

#cd freeradius-server-3.0.6

#./configure

#make && make Install

#radiusd-X test, CentOS uses the OPENSSL-1.0.1E version number for the blood patch, change allow_vulnerable_openssl in the config file = yes

#radiusd Start service mode

#vim/usr/local/etc/raddb/user.conf

Cancel 73-81 Steve Cleartext-password: = comment under "Testing"

#radtest Steve testing localhost 0 testing123 simulation test

#mysql-uroot-p Password

>create database radius;

>grant all on radius.* to [email protected] identified by "radius";

>exit

#mysql-uroot-p Password radius </usr/local/etc/raddb/mods-config/sql/main/mysql/schema.sql import Table structure

#cd/usr/local/etc/raddb/mods-enabled/

#ln-S. /mods-available/sql build MySQL Call

#vim/usr/local/etc/raddb/mods-available/sql

Driver = "Rlm_sql_mysql" changed to NULL for MySQL

Server = "localhost" to open 77-80 comment

Port = 3306

Login = "radius"

Password = "radius"

#wget http://jaist.dl.sourceforge.net/project/daloradius/daloradius/daloradius0.9-9/daloradius-0.9-9.tar.gz

#tar-ZXVF daloradius-0.9-9.tar.gz

#mv daloradius-0.9-9 Daloradius

#cp-RF daloradius/*/var/www/html/

#chown Apache:apache-r/var/www/html/

#chmod 644/var/www/html/library/daloradius.conf.php

#cd/var/www/html/contrib/db/

#mysql-u root-p Password radius < fr2-mysql-daloradius-and-freeradius.sql

#mysql-uroot-p Password Radius < mysql-daloradius.sql

#vim/var/www/html/library/daloradius.conf.php

$configValues [' config_db_user '] = ' radius ';

$configValues [' config_db_pass '] = ' radius ';

Don't change config_file_radius_proxy = '/usr/local/etc/raddb/proxy.conf ' for the time being

Config_path_dalo_variable_data = '/var/www/html/var '

$configValues [' config_iface_password_hidden '] = ' yes ';





Building RADIUS Services

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.