Commit b572cb9d authored by Benoit Mortier's avatar Benoit Mortier
Browse files

:sparkles: feat(centos) migrate "Installation on Centos 7 and OpenLDAP


Signed-off-by: default avatarBenoit Mortier <benoit.mortier@opensides.be>
Showing with 101 additions and 0 deletions
+101 -0
Installing Dependencies
'''''''''''''''''''''''
FusionDirectory requires both the `EPEL`_ repository and
the Software Collection `SCL`_ for php 5.6 or higher.
- To install epel
.. code-block:: shell
yum install epel-release
- To install php 5.6 Software Collection
.. code-block:: shell
yum install centos-release-scl
yum install rh-php56
- To enable php 5.6
.. code-block:: shell
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
:ref:`rpm-repository-centos6-label`
:ref:`rpm-repository-centos7-label`
Create 2 new repo file your favorite text editor.
- One for fusiondirectory
- One for fusiondirectory-extra
Install FusionDirectory
'''''''''''''''''''''''
You can then install FusionDirectory by running:
.. code-block:: shell
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:
.. code-block:: shell
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:
.. code-block:: shell
systemctl restart httpd
You should see the FusionDirectory setup page come up by going to:
http://SERVER-IP/fusiondirectory
.. _EPEL : https://fedoraproject.org/wiki/EPEL
.. _SCL : https://www.softwarecollections.org
.. _rh-php56 : https://www.softwarecollections.org/en/scls/rhscl/rh-php56
Install FusionDirectory on Centos
=================================
Install FusionDirectory
.. toctree::
:maxdepth: 4
centos-fd-install.rst
......@@ -46,6 +46,8 @@ FusionDirectory.
To use the lastest published version put this in your yum config :
.. _rpm-repository-centos6-label:
CentOS 6 / RHEL 6
^^^^^^^^^^^^^^^^^
......@@ -82,6 +84,8 @@ SRPMS are also available in the following repo :
!!! Scientific Linux is deprecated and will not be maintained anymore, you can switch the centos packages !!!
.. _rpm-repository-centos7-label:
CentOS 7 / RHEL 7
^^^^^^^^^^^^^^^^^
......
......@@ -8,3 +8,4 @@ Install FusionDirectory
gpg-keys.rst
download.rst
centos/index.rst
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment