In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Install and configure OpenLDAP + phpLDAPadmin under Linux system
Actual environment:
Operating system: Centos 7. four
Server ip:192.168.3.41
Running user: root
Network environment: Internet
LDAP (lightweight Directory access Protocol) is not only an information service called directory service, but also a set of user authentication system. Generally, it is widely used in large enterprises, schools and government units. LDAP consists of four parts: slapd (independent LDAP daemon), slurpd (independent LDAP update replication daemon), LDAP protocol library, tool software and sample client (php LDAPadmin). Directory service is a special database system, which is used to store user information. The speed of reading and writing is very fast, and the expansibility is very strong, which can be directly integrated with the local system to manage user information.
LDAP is not easy to say, but A LDP is widely used in Linux. If you want to have an in-depth understanding of LDAP, it is recommended to take a look at the tutorial "this is how to learn Linux", which is explained in great detail. You can also enter the title of this book in Baidu and go to the official website to see it. If you want to deploy in Linux or recommend this book to study systematically, there is still a great version for beginners. The ldap + phpldapadmin set up in this article also runs in the Linux environment, so you still need a basic Linux to understand the following configuration steps.
1. Install OpenLDAP
[root@centos7] # yum install openldap-servers openldap-clients-y
[root@centos7 ~] # cp / usr / share/ openldap-servers/ DB_CONFIG.example / var/lib/ ldap / DB_CONFIG
[root@centos7 ~] # ll / var/lib/ ldap / DB_CONFIG
-rw-Rafael Rafael. 1 root root 845 Aug 1 10:04 / var/lib/ ldap / DB_CONFIG
[root@centos7] # chown ldap. / var/lib/ ldap / DB_CONFIG / / Authorization profile
[root@centos7 ~] # more / etc / passwd | grep ldap
Ldap: x:55:55: OpenLDAP server:/var/lib/ ldap: / sbin / nologin
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.