How To Install freeradius on CentOS 7

In this tutorial we learn how to install freeradius on CentOS 7. freeradius is High-performance and highly configurable free RADIUS server

Introduction

In this tutorial we learn how to install freeradius on CentOS 7.

What is freeradius

The FreeRADIUS Server Project is a high performance and highly configurable GPL’d free RADIUS server. The server is similar in some respects to Livingston’s 2.0 server. While FreeRADIUS started as a variant of the Cistron RADIUS server, they don’t share a lot in common any more. It now has many more features than Cistron or Livingston, and is much more configurable. FreeRADIUS is an Internet authentication daemon, which implements the RADIUS protocol, as defined in RFC 2865 (and others). It allows Network Access Servers (NAS boxes) to perform authentication for dial-up users. There are also RADIUS clients available for Web servers, firewalls, Unix logins, and more. Using RADIUS allows authentication and authorization for a network to be centralized, and minimizes the amount of re-configuration which has to be done when adding or deleting new users.

We can use yum or dnf to install freeradius on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install freeradius.

Install freeradius on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install freeradius using yum by running the following command:

sudo yum -y install freeradius

Install freeradius on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install freeradius using dnf by running the following command:

sudo dnf -y install freeradius

How To Uninstall freeradius on CentOS 7

To uninstall only the freeradius package we can use the following command:

sudo dnf remove freeradius

References

Summary

In this tutorial we learn how to install freeradius on CentOS 7 using yum and dnf.