Manual Installation

Installation in Ubuntu

Estimated reading: 2 minutes

The prerequisite for these instructions is a current Ubuntu installation. LIMBAS requires PHP version 8.2 or higher.

Install packages

In addition to the standard installation, the following packages must be installed for LIMBAS (e.g. with Synaptic package management or apt):

$ sudo apt install postgresql postgresql-common postgresql-client apache2 php php-gd php-mbstring\php-pdo php-pgsql php-imap libapache2-mod-php imagemagick zip pdftohtml wget unzip libimage-exiftool-perl

PHP configuration

The PHP configuration must be adjusted in /etc/php/{x.x}/apache2/php.ini, where {x.x} must be replaced with the installed version (e.g. 8.0). First, the following general settings should be set:

  • short_open_tag = On
  • error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
  • max_input_vars = 10000

After php.ini has been adjusted, the Apache HTTP server must be restarted:

$ /etc/init.d/apache2 restart

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. To do this, a symlink from mod-available/rewrite.load to mods-enabled/rewrite.load must be created under /etc/apache2/mods-enabled.

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/apache2/apache2.conf:

<Directory "{DocumentRoot}/openlimbas/public">
AllowOverride All
Options FollowSymLinks
</Directory>

Start the apache HTTP server:

$ /etc/init.d/apache2 restart

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

Siehe LIMBAS installation.

Share this Doc

Installation in Ubuntu

Or copy link

CONTENTS