• Printable version
  • Tell by mail
  • Export to OpenOffice
  • Export to PDF
  • Export to csv
  • Export to Timeline
  • Add page to book
  • Tools:

Installation FusionDirectory on RHEL / Centos 6

The Fusiondirectory installation needs applications non packaged in the base RHEL distributions. For that it is necessary to use the following package :

yum install epel-release

Install openLDAP server software

Import GPG key

Install FusionDirectory repository

Install prerequisite software

Php-pear-MDB2 does not automatically get installed via dependencies through yum. While Fusiondirectory will install without it, it will warn you later that it is an error.

yum install php-pear-MDB2

Install FusionDirectory and FusionDirectory Schemas

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

/!\ If you use SELinux (same in permisive), you must install fusiondirectory-selinux /!\

Insert FusionDirectory Schemas with this command :

fusiondirectory-insert-schema

Resolve miscellaneous settings/permission errors

These are housekeeping items that will resolve various errors that aren't taken care of in the initial install but are required to continue on.

First step is to run the following, It checks all your directories and fix's some permissions, creates some odds and ends.

fusiondirectory-setup --check-directories --update-cache --update-locales

By default your Apache permissions will be wrong on the fusiondirectory folders, and will cause you errors.

chgrp -R apache /var/cache/fusiondirectory/*
chmod g+rw /var/cache/fusiondirectory/class.cache

Expose_php = on is the default value in /etc/php.ini, but is a security risk. This next step is optional, but you will receive a warning about it later in the web configuration process. There is really no reason not to turn it off though

sed -i 's/^expose_php = On$/expose_php = Off/g' /etc/php.ini

Create a blank fusiondirectory.conf file. RHEL / CentOS installations need a blank file with the correct permissions before it is able to write the correct file later.

touch /var/cache/fusiondirectory/template/fusiondirectory.conf
chgrp apache /var/cache/fusiondirectory/template/fusiondirectory.conf 
chmod g+rw /var/cache/fusiondirectory/template/fusiondirectory.conf

Restart apache with this commande :

service httpd restart

Fusiondirectory is now available here : http://IP/fusiondirectory/ , Follow the web configuration process and your server will be ready to go!

Please note your bind account with be:

cn=Manager

and your password will be whatever you configured as your password in the LDAP installation/configuration steps.

en/documentation/admin_installation_redhat_6.txt · Last modified: 2017/10/31 10:32 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0