Installation in CentOS/Rocky/RedHat
The prerequisite for these instructions is a standard CentOS 8 / Rocky or similar RedHat installation. In principle, the instructions can also be applied to other RedHat-based distributions. The minimum server package selection in the CentOS installation setup is sufficient. However, the web server setup can also be selected so that fewer basic adjustments for network SSH access etc. are required. If the client (browser) is running on a different host (which is usually the case), no “desktop” installation is necessary. LIMBAS requires PHP version 8.2 or higher. To simplify matters, SELinux should be deactivated.
Install packages
In addition to the standard installation, the following packages must be installed for LIMBAS:
$ yum install epel-release
$ yum install httpd php php-gd php-pdo php-pgsql php-soap php-xml php-ctype php-mbstring php-json postgresql-server postgresql poppler-utils ImageMagick ghostscript\perl-Image-ExifTool wget unzip t1lib tar
$ yum update
Apache HTTP server setup
A rewrite module is required for the new version, as it is responsible for forwarding URL calls. The rewrite module is standard and part of almost every Apache server. The following entry must be added to the file /etc/httpd/conf.modules.de/00-base.conf:
Loadmodule rewrite_module modules/mod_rewrtie.so
To ensure that the .htaccess files used in the LIMBAS directories are interpreted by the Apache server, the following entry must be added to /etc/httpd/conf/httpd.conf:
<Directory "{DocumentRoot}/openlimbas/public">
AllowOverride All
</Directory>
Start the apache server:
$ /etc/init.d/httpd start
(alternatively)
$ systemctl start httpd.service
For problems with Apache versions (from 2.4), activating the access_compat module can help solve the problem. If this does not help, the following must be changed in every .htaccess file from
Order allow,deny
Allow from all
to
Require all granted
Install LIMBAS
See LIMBAS installation.
To enable individual settings to be saved in LIMBAS, LIMBAS must have write access to ./openlimbas/dependent and all subdirectories. To enable this, the owner of this directory and its subdirectories must be changed to the Apache user.
$ chown -R apache:apache openlimbas/dependent