Installing eGroupware on CentOS 7

I recently installed eGroupware on a CentOS 7 system. The eGroupware page contains an install guide but it looks to be a bit outdated.

The first step is to get php-5.6 installed, the RHEL 7.4 has php-5.4 (which the eGroupware guide requests) but the actual requirement is php-5.6.

–> Finished Dependency Resolution
Error: Package: egroupware-epl-core-17.1.20180321-1.1.noarch (server_eGroupWare)
Requires: php >= 5.6.0

This requires the Remi RPM Repository, which in turn requires EPEL.

rpm -ivh

Then in /etc/yum.repos.d/remi.repo enable the remi-php56 repo

name=Remi’s PHP 5.6 RPM repository for Enterprise Linux 7 – $basearch
# NOTICE: common dependencies are in “remi-safe”

After this you can get php-5.6 with a simple yum update.
# yum update php
Loaded plugins: fastestmirror
remi-php56 | 2.9 kB 00:00:00
remi-php56/primary_db | 230 kB 00:00:00
php.x86_64 0:5.6.35-1.el7.remi

Dependency Updated:
php-cli.x86_64 0:5.6.35-1.el7.remi php-common.x86_64 0:5.6.35-1.el7.remi php-gd.x86_64 0:5.6.35-1.el7.remi
php-mbstring.x86_64 0:5.6.35-1.el7.remi php-mcrypt.x86_64 0:5.6.35-1.el7.remi php-pdo.x86_64 0:5.6.35-1.el7.remi

php-mysql.x86_64 0:5.4.16-43.el7_4.1


Once this is done the eGoupware repo from OpenSUSE can be installed and eGroupware installed, you’ll also want MariaDB-server to get a mysql database as a backend.
cd /etc/yum.repos.d/
yum install eGroupware
yum install mariadb-server

Next set the timezone in /etc/php.ini and restart and enable apache. Also enable mariadb and set a root password.
systemctl enable httpd
systemctl enable mariadb

systemctl restart httpd
systemctl start mariadb
mysqladmin -u root password newpass

Then go to your webserver at /egroupware/setup/check_install.php to check for issues then continue through the rest of the setup.

Leave a Reply

Your email address will not be published. Required fields are marked *