How To Install 389-dsgw on CentOS 7

In this tutorial we learn how to install 389-dsgw on CentOS 7. 389-dsgw is 389 Directory Server Gateway (dsgw)

Introduction

In this tutorial we learn how to install 389-dsgw on CentOS 7.

What is 389-dsgw

389 Directory Server Gateway is a collection of 3 web applications that run on top of the Administration Server used by the Directory Server. These 3 applications are * phonebook - a simple phonebook application geared towards end users, with simple search screens and simple self-service management * orgchart - an organization chart viewer * gateway - a more advanced search interface that allows admins to create and edit user entries, and allows creation of templates for different types of user and group entries

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

Install 389-dsgw on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install 389-dsgw using yum by running the following command:

sudo yum -y install 389-dsgw

Install 389-dsgw 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 389-dsgw using dnf by running the following command:

sudo dnf -y install 389-dsgw

How To Uninstall 389-dsgw on CentOS 7

To uninstall only the 389-dsgw package we can use the following command:

sudo dnf remove 389-dsgw

References

Summary

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