O'Reilly logo

FreeRADIUS Beginner's Guide by Dirk van der Walt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – incorporating a MySQL database in FreeRADIUS

We assume that MySQL is not yet installed on the system where you have FreeRADIUS deployed. We will first install and then configure MySQL in order for it to be usable to FreeRADIUS.

Installing MySQL

Ensure that MySQL server is installed on your Linux machine. The following table can be used as a guideline to install MySQL on each of the three distributions discussed in this book:

Distribution

Command to install MySQL server

CentOS

yum install mysql-server 

SUSE

zypper install mysql

Ubuntu

sudo apt-get install mysql-server

Note

MySQL server has a user called root, which by default does not have any password on the local machine. You are strongly encouraged to supply a password ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required