Install FreeIPA on Ubuntu 20.04 LTS - Step by step guide ?

FreeIPA is an open-source identity management system for Linux/Unix environments that provides centralized account management and authentication, like Microsoft Active Directory or LDAP.

Here at LinuxAPT, as part of our Server Management Services, we regularly help our Customers to perform related Linux Software installation queries.

In this context, we shall look into how to install FreeIPA on Ubuntu 20.04 LTS.


Steps to Install FreeIPA on Ubuntu 20.04 LTS Focal Fossa

1. Perform System Update

First, make sure that all your system packages are up-to-date by running these following apt commands in the terminal:

$ sudo apt update
$ sudo apt upgrade


2. Install FreeIPA on the system

Now we are going to do is to prepare the Ubuntu 20.04 system to run FreeIPA. In order to do this, we are going to set the IP address on the system, In our case, the host IP is 192.168.1.1/24:

$ nano /etc/hosts
192.168.1.1 freeipa.linuxapt.com

Next, run the following command to install FreeIPA packages on your Ubuntu server:

$ sudo apt install freeipa-server

In the mid of installation, you will be prompted to enter the Kerberos realm, the hostnames of Kerberos servers, and the hostname of the administrative server for the Kerberos realm:

  • Kerberos realm: linuxapt.com
  • Kerberos Server hostname:ipa.linuxapt.com
  • Administrative server hostname:ipa.linuxapt.com

After the installation is complete, run the FreeIPA installation command:

$ sudo ipa-server-install

Once successfully, authenticate to the Kerberos realm to ensure that the administrator is configured correctly:

$ kinit admin

Ensure the following ports are opened in the security group of the FreeIPA Server:

  • 80,443
  • TCP 88,464
  • LDAP 389


How to access FreeIPA ?

FreeIPA will be available on HTTP port 80 by default. Open your favorite browser and navigate to https://freeipa.linuxapt.com/ and complete the required steps to finish the installation.


[Need assistance in fixing Linux system issues ? We can help you. ]

This article covers the process of installing FreeIPA open source identity management system on your Ubuntu 20.04 LTS Focal Fossa. In fact, FreeIPA is free and open source Identity, Policy, and Audit (IPA) suite sponsored by RedHat. It's an IPA solution combination of Linux (Fedora), 389 Directory Server, MIT Kerberos, NTP, DNS Bind, Dogtag, Apache web server, and Python.

Related Posts