openLdap安装(安装包含:ldap安装、客户端sssd同步、ssh集成)
参考地址:https://blog.csdn.net/belialxing/article/details/87878614
如下是ldap客户端工具(phpldapadmin)的安装。
【防火墙关闭】
######关闭防火墙
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
######关闭SELinux
setenforce 0
sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config
cat /etc/selinux/config
1、获取epel源
wget http://mirror.centos.org/centos/7/extras/x86_64/Packages/epel-release-7-11.noarch.rpm ## rpm可能会更新,所以下载不到.可自己搜索最新的
2、
rpm -ivh epel-release-7-11.noarch.rpm
3、
yum -y install httpd php php-ldap php-gd php-mbstring php-pear php-bcmath php-xm