Use the last build and the other packages from system On ubuntu 16
Hello plp. I have got a little problem, not is a Radius problem exact. At this moment i am using the last build from source, all running and perfect on ubuntu 16 Now i need install daloradius, covachilli etc.. When i try for example install freeradius-mysql package the system want install too the freeradius package. I want use the last build, but i need the other packages for integration.a difference, the build install at /usr/local/etc/raddb/ and the original package system on /etc/ for example. other question is how update and compiling the new build without lose my actual CFG running. How i can solve this ??? where i can find the source from freeradius-mysql ??? Thank you in advanced, best regards.
On Wed, May 25, 2016 at 4:44 PM, Spider s <spidersoftware@gmail.com> wrote:
Hello plp.
I have got a little problem, not is a Radius problem exact.
At this moment i am using the last build from source, all running and perfect on ubuntu 16
Now i need install daloradius, covachilli etc..
When i try for example install freeradius-mysql package the system want install too the freeradius package.
That's what happens when you mix source and package. It CAN work, but not easy.
I want use the last build, but i need the other packages for integration.a difference, the build install at /usr/local/etc/raddb/ and the original package system on /etc/ for example.
other question is how update and compiling the new build without lose my actual CFG running.
How i can solve this ??? where i can find the source from freeradius-mysql ???
Option (1): use everything (including daloradius) compiled from source Option (2): replace your freeradius installation with a package version. Either compile it yourself (basically just 'dpkg-buildpackage -b' inside the source directory), or use https://launchpad.net/~freeradius/+archive/ubuntu/stable-3.0 Note that if you decide to use packages, you need to copy your configs first (/usr/local/etc -> /etc), by hand, applying whatever modifications you've made (do NOT just copy the files). There is no AUTOMATIC, fool-proof way that I know of to migrate it. After that, uninstall the old source build (for example, you need to remove /usr/local/sbin/radiusd and everything else that is installed from source) to make sure only the packaged version is used. -- Fajar
On Wed, May 25, 2016 at 11:44:20AM +0200, Spider s wrote:
How i can solve this ??? where i can find the source from freeradius-mysql ???
All the packages are built from the same source. There is no separate "freeradius-mysql" source. If your locally built copy doesn't have mysql support, it's probably because you didn't have the mysql dev packages installed when you built it. Really, for Ubuntu it's so easy to build packages just do that and don't contaminate your system with "make install". See what Fajar wrote. Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
Hello again. Thank you for your recomendations, i try install from repos first, is the best for the system, i read. Thank you again, for the help and advices. Byeee On Wed, May 25, 2016 at 12:20 PM, Matthew Newton <mcn4@leicester.ac.uk> wrote:
On Wed, May 25, 2016 at 11:44:20AM +0200, Spider s wrote:
How i can solve this ??? where i can find the source from freeradius-mysql ???
All the packages are built from the same source. There is no separate "freeradius-mysql" source.
If your locally built copy doesn't have mysql support, it's probably because you didn't have the mysql dev packages installed when you built it.
Really, for Ubuntu it's so easy to build packages just do that and don't contaminate your system with "make install". See what Fajar wrote.
Matthew
-- Matthew Newton, Ph.D. <mcn4@le.ac.uk>
Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom
For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk> - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Wed, May 25, 2016 at 02:37:05PM +0200, Spider s wrote:
Thank you for your recomendations, i try install from repos first, is the best for the system, i read.
The repository that Fajar linked to is the most up-to-date, if you don't want to build your own packages. Don't use packages from Debian or Ubuntu. They're obsolete. The packages at http://packages.networkradius.com/ are also out of date at present, though this is being worked on. There should be Debian/Ubuntu package building instructions on the wiki, but they seem to have gone walkies again :(. Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
participants (3)
-
Fajar A. Nugraha -
Matthew Newton -
Spider s