zoukankan      html  css  js  c++  java
  • centos directory server

    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

  • 相关阅读:
    linux top
    虚拟内存
    strcpy与strncpy
    C++ 踩内存
    MySQL -- 全文检索
    MySQL -- 全文检索(自然语言全文检索)
    MySQL -- innodb中cardinality是如何统计的
    MySQL -- Fast Index Creation
    python -- 生成器
    MySQL中模拟oracle中的rownum列
  • 原文地址:https://www.cnblogs.com/ruiy/p/4447954.html
Copyright © 2011-2022 走看看