LDAP实战应用指南

Posted junxun

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了LDAP实战应用指南相关的知识,希望对你有一定的参考价值。

第1章 ladp master服务安装

1.1 安装前系统环境准备

1.1.1 查看系统版本信息

[[email protected] ~]# cat /etc/redhat-release 
CentOS release 6.7 (Final)
[[email protected] ~]# uname -r
2.6.32-573.el6.x86_64
[[email protected] ~]# uname -m
x86_64

1.1.2 配置yum安装源

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup &&wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
mv /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.backup
mv /etc/yum.repos.d/epel-testing.repo /etc/yum.repos.d/epel-testing.repo.backup
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-6.repo

1.1.3 保存yum安装的rpm包

[[email protected] ~]# sed -i.bak ‘s#keepcache=0#keepcache=1#g‘ /etc/yum.conf
[[email protected] ~]# grep keepcache /etc/yum.conf 
keepcache=1

  

1.1.4 关闭selinux和防火墙

[[email protected] ~]# sed -i.bak ‘s#SELINUX=enforcing#SELINUX=disabled#g‘ /etc/selinux/config 
[[email protected] ~]# grep SELINUX=disabled /etc/selinux/config
SELINUX=disabled
[[email protected] ~]# setenforce 0
[[email protected] ~]# getenforce 0
Disabled

 关闭防火墙

[[email protected] ~]#  /etc/init.d/iptables stop

1.1.5 时间同步

[[email protected] ~]# crontab -l
#time sync by junxun at 2017-07-23
*/5 * * * * /usr/sbin/ntpdate pool.ntp.org >/dev/null 2>&1

  

  

 

  

以上是关于LDAP实战应用指南的主要内容,如果未能解决你的问题,请参考以下文章

ldap统一认证架构方案及实现指南

《Buildozer打包实战指南》实战打包requests

《Buildozer打包实战指南》实战打包pillow

《Buildozer打包实战指南》实战打包pillow

《Buildozer打包实战指南》实战打包numpy

《Buildozer打包实战指南》实战打包requests