On Feb 14, 2020, at 11:04 PM, RJ Jafarkhani <rj@newtality.com> wrote:
Hello FreeRADIUS gurus! I’m installing on Amazon Linux (centos) and hit a couple of snags I’m hoping you could help me with. The yum install (3.0.18) doesn’t pull in any of the mods-config, specifically the mysql (sql) support I’m looking for (maybe I’m missing something?).
Install the freeradius-mysql package. It may be called different things, depending on your OS.
So I’m trying to build it (3.0.20), follow the posted instructions (configure, make, etc), but wasn’t sure if it’s completing successfully. Mysql is installed and I don’t get any warnings for it when configuring (haven’t configured the sql connection yet). Some questions:
1. How can I tell if the install is successful? I get the below at the end of the configure: configure: creating ./config.status config.status: creating all.mk
That's good.
1. It seems to run from where I set it up (./buid/radiusd). Do I need to move it to a specific path? If so, where does it go? Looks like the confs were placed in /usr/local/etc/raddb
The typical process is: ./configure make make install This is documented, too.
1. Is the mysql schema the same for all 3.0.xx versions?
Yes.
I’m not a sysadmin, but know a little to be dangerous and I want to learn. So your help is greatly appreciated!
TBH, just install a package. It's much simpler. Alan DeKok.