http://www.aliyun.com/zixun/content/3_12_517262.html

CentOS系统安装Directory Server 8.1操作方法

发布时间:2014-12-19更新时间:2014-12-26 来源:网络

作者:annatuoli

关键词:
Directory
CentOS
操作方法

CentOS是Linux发行版之一,它是来自于Red Hat Enterprise Linux依照开放源代码规定释出的源代码所编译而成。由于出自同样的源代码,因此有些要求高度稳定性的服务器以CentOS替代商业版的Red Hat Enterprise Linux使用。两者的不同,在于CentOS并不包含封闭源代码软件。

CentOS,我们有很多人叫它社区企业操作系统,不管你怎么叫它,它都是linux的一个发行版本。CentOS并不是全新的linux
发行版,倘若一说到RedHat这个大名,大家似乎都听过,在RedHat家族中有企业版的产品,它是Red Hat Enterprise
Linux(以下称之为RHEL),CentOS正是这个RHEL的克隆版本,RHEL是很多企业采用的linux发行版本,需要向RedHat付费才可
以使用,并能得到付过费用的服务和http://www.aliyun.com/zixun/aggregation/12867.html">技
术支持和版本升级。这个CentOS可以像REHL一样的构筑linux系统环境,但不需要向RedHat付任何的费用,同样也得不到任何有偿技术支持和
升级服务。

CentOS计划是在2003年红帽决定不再提供免费的技术支持及产品认证之后的部份"红帽重建者"(Red Hat rebuilders)之一。

在CentOS 5.5平台安装CentOS Directory Server 8.1

首先,以root用户执行:

yum install centos-ds

然后修改CentOS的环境参数:

1.编辑/etc/sysctl.conf, 加上以下俩行:

net.ipv4.tcp_keepalive_time=600

fs.file-max = 64000

2.编辑/etc/security/limits.conf, 加上以下俩行:

# For Directory Server

*                -       nofile          8192

3.编辑/etc/pam.d/system-auth, 加上以下俩行:

# For Directory Server

session     required      /lib/security/$ISA/pam_limits.so

最后,执行setup-ds-admin.pl,Directory Server安装完成。

CentOS Directory Server是Redhat Diectory Server的再编译版本。除了一般LDAP服务器拥有的功能之外,最特殊的功能是可以和AD进行同步,除了同步用户和群组的信息,还可以同步用户的密码。这是很多LDAP软件所没有的功能。类似的有IBM Tivoli Directory Server,能够同步用户信息,却不能同步密码。Sun也有类似的软件。但是它们不是免费的。

要和AD同步密码,必须启用SSL。首先,确保AD域控制器启用SSL,然后为Directory Server启用SSL。过程如下:

First,for SSL issue, install a MicroSoft CA server (Windows 2003 + IIS + CA)。

1. Generate a certificate request.

a. In the Directory Server Console, select the "Tasks" tab, and click "Manage Certificates".

b. Select the "Server Certs" tab, and click the "Request" button.

c. Fill in the certificate information, and save the certificate request to a file.

2. apply a server certificate(Base 64 Encoded) on your Microsoft CA serve.

b. Download & save the server Certificate(Base 64 Encoded) from your Microsoft CA serve.

3. Install the new certificate.

a. In the Directory Server Console, select the Tasks tab, and click Manage Certificates.

b. Select the Server Certs tab, and click Install.

c. Paste in the certificate, and set the password for the token database.

4. Install the CA certificate of your microsoft CA server & AD root CA.

a. Download and save the CA certificate from your microsoft CA server, and copy the AD root CA file to CentOS.

b. In the Directory Server Console, select the Tasks tab, and click Manage Certificates.

c. Go to the CA Certs tab, and click Install.

d. Paste in the CA certificate or point to the downloaded file, and go through the certificate

centos directory server的更多相关文章

  1. Error Installing Tivoli Directory Server (TDS) for TNPMW1.3

    Install TDS with error "GLPCTL004E Failed to create database instance: 'ldapdb2'."   Error ...

  2. Solaris10安装配置LDAP(iPlanet Directory Server )

    Solaris10安装光盘自带了iPlanet Directory Server安装包,系统管理员可以利用iPlanet Directory Server在Solaris系统创建一个LDAP Serv ...

  3. centos git server 的搭建

    安装环境  centos7 说明:centos  yum 库里面的git  好像是不区分 客户端和服务器端, 安装 git 以后 就可以创建  仓库,也可以检出 别的 git 仓库的  代码了.所以不 ...

  4. Powershell About Active Directory Server

    一.获取域控制器服务器清单 (Get-ADForest).Domains | %{ Get-ADDomainController -Filter * -Server $_ } | select hos ...

  5. CentOS - FTP server

    1. install vsftpd.(PS:procedure 1-4 under the circumstance that the firewall is closed and the iptab ...

  6. Self Centos + Windows server 2016

    Set up by Derek: 2019-1-25 登陆个人物理机: license  60天Free , 如果过期,就在 VMware ESXI 6.5.0的黑屏界面去reset. https:/ ...

  7. Active Directory - Server Remote administration management

    Windows Admin Center: https://www.microsoft.com/en-us/evalcenter/evaluate-windows-admin-center Remot ...

  8. Install RabbitMQ server in CentOS 7

    About RabbitMQ RabbitMQ is an open source message broker software, also sometimes known as message-o ...

  9. Mount DVD on CentOS

    Mount DVD on CentOS need to mount CD/DVD on CentOS Temporarily or Permanently? Here’s the Process Us ...

随机推荐

  1. 3Sum Closest 解答

    Question Given an array S of n integers, find three integers in S such that the sum is closest to a ...

  2. 【编译原理】语法分析LL(1)分析法的FIRST和FOLLOW集

    近来复习编译原理,语法分析中的自上而下LL(1)分析法,需要构造求出一个文法的FIRST和FOLLOW集,然后构造分析表,利用分析表+一个栈来做自上而下的语法分析(递归下降/预测分析),可是这个FIR ...

  3. POJ 3046 Ant Counting DP

    大致题意:给你a个数字,这些数字范围是1到t,每种数字最多100个,求问你这些a个数字进行组合(不包含重复),长度为s到b的集合一共有多少个. 思路:d[i][j]——前i种数字组成长度为j的集合有多 ...

  4. Smart ——jiaoyou模板

    <!--{foreach $vip_data as $key=>$volist}-->    <!--{if $key==0 ||$key==1||$key==5||$key= ...

  5. JS~重写alter与confirm,让它们变成fancybox风格

    插件与系统命令 对于很多JS弹框插件来说,都提供了alter,confirm等功能,如fancybox,Boxy等插件,今天来介绍一下如何将系统的alter和confirm替换成指定插件的alter和 ...

  6. BZOJ 2733 HNOI 2012 永无乡 平衡树启示式合并

    题目大意:有一些岛屿,一開始由一些无向边连接. 后来也有不断的无向边增加,每个岛屿有个一独一无二的重要度,问随意时刻的与一个岛屿联通的全部岛中重要度第k大的岛的编号是什么. 思路:首先连通性一定要用并 ...

  7. C++空类中的默认函数

    定义一个空的C++类,例如 class Empty { } 一个空的class在C++编译器处理过后就不再为空,编译器会自动地为我们声明一些member function,一般编译过去就相当于 cla ...

  8. mysql的“Got error 28 from storage engine”错误

    磁盘临时空间不够导致.解决办法:清空/tmp目录,或者修改my.cnf中的tmpdir参数,指向具有足够空间目录

  9. TCP/IP系列——长连接与短连接的区别

    1 什么是长连接和短连接       三次握手和四次挥手   TCP区别于UDP最重要的特点是TCP必须建立在可靠的连接之上,连接的建立和释放就是握手和挥手的过程. 三次握手为连接的建立过程,握手失败 ...

  10. python-生成随机字符

    需求: 随机生成6位的大写字母: 方法一: #!/usr/bin/env python # -*- coding:utf-8 -*- import random li = [] for i in ra ...