Installing Dependencies

FusionDirectory requires both the EPEL repository and the REMI repository for PHP 7.1

  • To install epel
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
  • To install remi repository
yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm

yum install yum-utils
  • To enable Remi repo an PHP 7.1
yum-config-manager --enable remi-php71
yum-config-manager --enable remi
yum update

Install FusionDirectory

You can then install FusionDirectory by running:

yum install -y fusiondirectory
yum install -y fusiondirectory-selinux fusiondirectory-schema schema2ldif

Warning

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:

http://SERVER-IP/fusiondirectory