How To Install phpldapadmin on CentOS 7

In this tutorial we learn how to install phpldapadmin on CentOS 7. phpldapadmin is Web-based tool for managing LDAP servers

Introduction

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

What is phpldapadmin

PhpLDAPadmin is a web-based LDAP client. It provides easy, anywhere-accessible, multi-language administration for your LDAP server. Its hierarchical tree-viewer and advanced search functionality make it intuitive to browse and administer your LDAP directory. Since it is a web application, this LDAP browser works on many platforms, making your LDAP server easily manageable from any location. PhpLDAPadmin is the perfect LDAP browser for the LDAP professional and novice alike. Its user base consists mostly of LDAP administration professionals. Edit /etc/phpldapadmin/config.php to change default (localhost) LDAP server location and other things. Edit /etc/httpd/conf.d/phpldapadmin.conf to allow access by remote web-clients.

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

Install phpldapadmin on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install phpldapadmin

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

sudo dnf -y install phpldapadmin

How To Uninstall phpldapadmin on CentOS 7

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

sudo dnf remove phpldapadmin

References

Summary

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