openldap部署
生活随笔
收集整理的這篇文章主要介紹了
openldap部署
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1.初始化環境
系統centos7 64位
配置yum源
wget http://mirrors.aliyun.com/repo/Centos-7.repo cp Centos-7.repo /etc/yum.repos.d/ cd /etc/yum.repos.d/ mv CentOS-Base.repo CentOS-Base.repo.bak mv Centos-7.repo CentOS-Base.repo yum clean all yum makecache
關閉selinux和防火墻
sed -i '/SELINUX/s/enforcing/disabled/' /etc/selinux/config && setenforce 0&& systemctl disable firewalld.service && systemctl stop
firewalld && shutdown -r now
環境初始化完畢后,我們就可以安裝OpenLDAP。
2.安裝OpenLDAP
使用如下命令安裝OpenLDAP:
yum -y install openldap compat-openldap openldap-clients openldap-servers openldap-servers-sql openldap-devel migrationtools
總結
以上是生活随笔為你收集整理的openldap部署的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ESD(静电测试)
- 下一篇: 网络功能虚拟化:NV和NFV的区别