{"id":2460,"date":"2012-05-11T22:13:39","date_gmt":"2012-05-11T14:13:39","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=2460"},"modified":"2023-04-28T09:49:19","modified_gmt":"2023-04-28T09:49:19","slug":"how-to-install-and-configure-phpldapadmin-on-centos-6-2","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-install-and-configure-phpldapadmin-on-centos-6-2\/","title":{"rendered":"How to Install and Configure phpLDAPadmin on CentOS 6.2"},"content":{"rendered":"<p>phpLDAPadmin (also known as PLA) is a web-based LDAP administration tool to manage, browse and administer your LDAP directory server. Since it is a web application, this LDAP browser works on many platforms, making your LDAP server easily manageable from any location. With it you can browse your LDAP tree, view LDAP schema, perform searches, create, delete, copy and edit LDAP entries. You can even copy entries between servers. This post will show you on how to install phpLDAPadmin on linux CentOS 6.2 server. Assumed that you already install install EPEL repository on your CentOS 6.2 server as below :<br \/>\n<a href=\"https:\/\/webhostinggeeks.com\/howto\/how-to-install-and-configure-epel-repository-on-centos-6-2\/\">How to Install and Configure EPEL Repository on CentOS 6.2<\/a><\/p>\n<p>1. Install phpLDAPadmin using this command :<\/p>\n<pre>\n[root@centos62 ~]# yum install phpldapadmin -y\nLoaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: centos.ipserverone.com\n * epel: ftp.cuhk.edu.hk\n * extras: centos.ipserverone.com\n * updates: centos.maulvi.net\nSetting up Install Process\nResolving Dependencies\n--> Running transaction check\n---> Package phpldapadmin.noarch 0:1.2.2-1.el6 will be installed\n--> Processing Dependency: php-ldap for package: phpldapadmin-1.2.2-1.el6.noarch\n--> Running transaction check\n---> Package php-ldap.i686 0:5.3.3-3.el6_2.6 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n====================================================================================================\n Package                  Arch               Version                      Repository           Size\n====================================================================================================\nInstalling:\n phpldapadmin             noarch             1.2.2-1.el6                  epel                776 k\nInstalling for dependencies:\n php-ldap                 i686               5.3.3-3.el6_2.6              updates              35 k\n\nTransaction Summary\n====================================================================================================\nInstall       2 Package(s)\n\nTotal download size: 811 k\nInstalled size: 2.3 M\nDownloading Packages:\n(1\/2): php-ldap-5.3.3-3.el6_2.6.i686.rpm                                     |  35 kB     00:00\n(2\/2): phpldapadmin-1.2.2-1.el6.noarch.rpm                                   | 776 kB     00:08\n----------------------------------------------------------------------------------------------------\nTotal                                                                62 kB\/s | 811 kB     00:13\nRunning rpm_check_debug\nRunning Transaction Test\nTransaction Test Succeeded\nRunning Transaction\n  Installing : php-ldap-5.3.3-3.el6_2.6.i686                                                    1\/2\n  Installing : phpldapadmin-1.2.2-1.el6.noarch                                                  2\/2\n\nInstalled:\n  phpldapadmin.noarch 0:1.2.2-1.el6\n\nDependency Installed:\n  php-ldap.i686 0:5.3.3-3.el6_2.6\n\nComplete!\n<\/pre>\n<p>2. Configure phpLDAPadmin. Allow 198.168.1.x network to access thru phpLDAPadmin :<\/p>\n<pre>\n#\n#  Web-based tool for managing LDAP servers\n#\n\nAlias \/phpldapadmin \/usr\/share\/phpldapadmin\/htdocs\nAlias \/ldapadmin \/usr\/share\/phpldapadmin\/htdocs\n\n&lt;Directory \/usr\/share\/phpldapadmin\/htdocs&gt;\n  Order Deny,Allow\n  Deny from all\n  Allow from 127.0.0.1 192.168.1.0\/24\n  Allow from ::1\n&lt;\/Directory&gt;\n<\/pre>\n<p>3. Restart httpd server :<\/p>\n<pre>\n[root@ldap 389 ~]# \/etc\/init.d\/httpd restart\nStopping httpd:                                            [  OK  ]\nStarting httpd:                                            [  OK  ]\n<\/pre>\n<p>4. Installation and configuration completed. Navigate and administer ldap as below URL :<\/p>\n<p>http:\/\/ldap_server_ip\/ldapadmin<\/p>\n<p><img decoding=\"async\" alt=\"phpLDAPadmin\" class=\"alignnone lazyload\" height=\"165\" data-src=\"http:\/\/3.bp.blogspot.com\/-YhMakyLo6S8\/T2iRW72dOQI\/AAAAAAAACCo\/lrwLjLK3Ijw\/s400\/1.PNG\" title=\"phpLDAPadmin\" width=\"400\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 400px; --smush-placeholder-aspect-ratio: 400\/165;\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>phpLDAPadmin (also known as PLA) is a web-based LDAP administration tool to manage, browse and administer your LDAP directory server. Since it is a web application, this LDAP browser works&#8230;<\/p>\n","protected":false},"author":6,"featured_media":2462,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[1102,1160],"tags":[1178,1244,1253,1533,1536,1546],"class_list":["post-2460","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-389-directory-server","category-ldap-linux","tag-389-directory","tag-centos","tag-centos-6-2","tag-ldap","tag-linux","tag-linux-utilities"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/2460","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=2460"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/2460\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/2462"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=2460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=2460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=2460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}