Changeset 880 for server/doc


Ignore:
Timestamp:
Nov 14, 2008, 4:18:10 AM (15 years ago)
Author:
quentin
Message:
Add indexes for Apache vhosts
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/doc/HOWTO-SETUP-LDAP

    r862 r880  
    1313- Apply ./fedora-ds-enable-ssl-and-kerberos.diff manually
    1414- /sbin/service dirsrv stop
     15- Add the scripts schemas to /var/lib/dirsrv/slapd-scripts
    1516- wget http://web.mit.edu/geofft/Public/scripts-ca.pem
    1617- certutil -d /etc/dirsrv/slapd-scripts -A -n "scripts.mit.edu CA" -t CT,, -a -i scripts-ca.pem
     
    2223- chown fedora-ds:fedora-ds /var/tmp/dirsrv
    2324- /sbin/service dirsrv restart
     25- Use ldapvi -b cn=config to add these indexes:
     26
     27add cn=apacheServerName, cn=index, cn=userRoot, cn=ldbm database, cn=plugins, cn=config
     28objectClass: top
     29objectClass: nsIndex
     30cn: apacheServerName
     31nsSystemIndex: false
     32nsIndexType: eq
     33nsIndexType: pres
     34
     35add cn=apacheServerAlias, cn=index, cn=userRoot, cn=ldbm database, cn=plugins, cn=config
     36objectClass: top
     37objectClass: nsIndex
     38cn: apacheServerAlias
     39nsSystemIndex: false
     40nsIndexType: eq
     41nsIndexType: pres
     42
     43- Build the indexes with:
     44    - /usr/lib64/dirsrv/slapd-scripts/db2index.pl -D "cn=Directory Manager" -j /etc/signup-ldap-pw -n userRoot -t apacheServerName
     45    - Watch the progress with: ldapsearch -x -y /etc/signup-ldap-pw -D 'cn=Directory Manager' -b cn=tasks,cn=config
     46    - Wait for it to finish before:
     47    - /usr/lib64/dirsrv/slapd-scripts/db2index.pl -D "cn=Directory Manager" -j /etc/signup-ldap-pw -n userRoot -t apacheServerAlias
    2448
    2549- Set up replication:
Note: See TracChangeset for help on using the changeset viewer.