- To install epel
yum install epel-release
- To install php 5.6 Software Collection
yum install centos-release-scl yum install rh-php56
- To enable php 5.6
scl enable rh-php56 bash
Install the FusionDirectory Repos¶
To easily install the latest version, you can install the fusion directory repos
Chose the repositories that goes with your centos version
Create 2 new repo file your favorite text editor.
- One for fusiondirectory
- One for fusiondirectory-extra
You can then install FusionDirectory by running:
yum install -y fusiondirectory yum install -y fusiondirectory-selinux fusiondirectory-schema schema2ldif
If you use SELinux (same in permissive), you must install fusiondirectory-selinux !
FusionDirectory Schema Setup¶
Now that we have FusionDirectory installed, we need to install the FusionDirectory schemas into our LDAP database.
We can easily do this by running:
fusiondirectory-insert-schema -i /etc/openldap/schema/cosine.schema fusiondirectory-insert-schema -i /etc/openldap/schema/inetorgperson.schema fusiondirectory-insert-schema -i /etc/openldap/schema/nis.schema fusiondirectory-insert-schema
Now we just need to restart apache:
systemctl restart httpd
You should see the FusionDirectory setup page come up by going to: