Professional Documents
Culture Documents
https://arstech.net/daloradius-installation/
Requirement Package
Service Package Name
Apache (Web Server) httpd httpd-devel
Mariadb (Database) mariadb-server mariadb
Radius (Radius Server) freeradius freeradius-utils freeradius-mysql
PHP php mod_php php-cli php-mysqlnd php-devel php-gd php-mcrypt
php-mbstring php-xml php-pear
php php-mcrypt php-cli php-gd php-curl php-mysql php-ldap
php-zip php-fileinfo
Daloradius https://github.com/lirantal/daloradius/archive/master.zip
Daloradius Installation on CentOS 7
Disable SELinux
Start and enable MySQL service
# setenforce 0
# systemctl start mariadb
# systemctl enable mariadb
Edit file /etc/selinux/config and set:
SELINUX=disabled
Install PHP
# yum -y install php mod_php php-cli php-mysqlnd
php-devel php-gd php-mcrypt php-mbstring php-xml
Install MariaDB/MySQL php-pear
# yum update
# yum install mariadb-server mariadb
# yum -y install php-dba
# yum -y install freeradius freeradius-utils freeradius-
# pear install pear
mysql httpd httpd-devel
# pear install --force DB
# systemctl start httpd
# apachectl restart
# systemctl enable httpd php php-mcrypt php-cli php-gd php-curl
# systemctl enable radiusd.service php-mysql php-ldap php-zip php-fileinfo
Improve the security of your MariaDB and set a password for root account
# mysql_secure_installation
# mysql -u root -p
FLUSH PRIVILEGES;
\q
CONFIG_DB_USER
CONFIG_DB_PASS
CONFIG_DB_NAME
Open FirewallD Ports
# firewall-cmd --zone=public --add-service=radius --permanent
# firewall-cmd --permanent --zone=public --add-rich-rule=' rule family="ipv4" source address="Your_IP" port
protocol="tcp" port="80" accept'
# firewall-cmd --reload
Restart services
# systemctl restart radiusd.service
# systemctl restart mariadb.service
# systemctl restart httpd
Access the web interface
http://FQDN_OF_SERVER/daloradius/login.php
User: administrator
Pass: radius