128.1 安装及配置
- 安装环境及版本
- Redhat版本为7.3
- OpenLDAP版本为2.4.44
- 在集群中选择一台服务器(ip-xxx-xx-xx-xxx.ap-southeast-1.compute.internal)作为OpenLDAP的Server
[root@i-xxx-xx-xx-xxx ~]# yum -y install openldap openldap-clients openldap-servers migrationtools openldap-devel nss- pam-ldapd bind-dyndb-ldap compat-openldap perl-LDAP krb5-server-ldap php-ldap openssl

[root@ip-xxx-xx-xx-xxx ~]# rpm -qa |grep openldap

[root@ip-xxx-xx-xx-xxx certs]# openssl genrsa -out ldap.key 1024

[root@ip-xxx-xx-xx-xxx certs]# openssl req -new -key ldap.key -out ldap.csr

[root@ip-xxx-xx-xx-xxx certs]# openssl x509 -req -days 3653 -in ldap.csr -signkey ldap.key -out ldap.crt
[root@ip-xxx-xx-xx-xxx certs]# scp