openldap账号管理及web管理

一、环境准备

操作系统

90.139.hszq.ldap.inzwc.com<2017-03-24 17:11:49> ~
root># cat /etc/redhat-release
CentOS release 6.7 (Final)

升级系统

90.139.hszq.ldap.inzwc.com<2017-03-24 17:14:24> ~
root># yum update
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Update Process
Loading mirror speeds from cached hostfile
No Packages marked for Update

开启时间定时同步

90.139.hszq.ldap.inzwc.com<2017-03-24 17:12:21> ~
root># crontab -l
1 * * * * /usr/sbin/ntpdate tiger.sina.com.cn >/dev/null

配置域名解析:

90.139.hszq.ldap.inzwc.com<2017-03-24 17:12:55> ~
root># echo "192.168.90.139 90.139.hszq.ldap.inzwc.com" >>/etc/hosts
90.139.hszq.ldap.inzwc.com<2017-03-24 17:13:49> ~
root># cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.90.102 manager.inzwc.com
192.168.90.139 90.139.hszq.ldap.inzwc.com

二、安装OpenLDAP软件包

90.139.hszq.ldap.inzwc.com<2017-03-24 17:15:28> ~
root># yum install *openldap* -y
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
Package openldap-servers-2.4.40-7.el6_7.x86_64 already installed and latest version
Package 1:compat-openldap-2.3.43-2.el6.x86_64 already installed and latest version
Package openldap-servers-sql-2.4.40-7.el6_7.x86_64 already installed and latest version
Package openldap-clients-2.4.40-7.el6_7.x86_64 already installed and latest version
Package openldap-2.4.40-7.el6_7.x86_64 already installed and latest version
Package openldap-devel-2.4.40-7.el6_7.x86_64 already installed and latest version
Nothing to do
 
90.139.hszq.ldap.inzwc.com<2017-03-24 17:15:45> ~
root># rpm -qa|grep openldap
openldap-2.4.40-7.el6_7.x86_64
openldap-servers-2.4.40-7.el6_7.x86_64
openldap-servers-sql-2.4.40-7.el6_7.x86_64
openldap-clients-2.4.40-7.el6_7.x86_64
compat-openldap-2.3.43-2.el6.x86_64
openldap-devel-2.4.40-7.el6_7.x86_64

你可能感兴趣的:(openldap)