M-Processing Server Installation (internal)

Différence entre versions

De MappingDoc
(Suse12sp4)
(Autre instructions concernant le .conf)
 
(Une révision intermédiaire par le même utilisateur non affichée)
Ligne 97 : Ligne 97 :
  
 
{| class="wikitable"
 
{| class="wikitable"
 +
|-
 +
! Module à activer
 
|-
 
|-
 
| <code>LoadModule access_compat_module modules/mod_access_compat.so</code>
 
| <code>LoadModule access_compat_module modules/mod_access_compat.so</code>
Ligne 107 : Ligne 109 :
 
|-
 
|-
 
| <code>LoadModule authz_groupfile_module modules/mod_authz_groupfile.so</code>
 
| <code>LoadModule authz_groupfile_module modules/mod_authz_groupfile.so</code>
 +
|-
 +
| <code>LoadModule mpm_prefork_module modules/mod_prefork_module.so</code>
 +
|-
 +
! Module à désactiver
 +
|-
 +
| <code>#LoadModule mpm_event_module modules/mod_event_module.so</code>
 +
|-
 
|}
 
|}
  
 
[[Category:PrivateData]]
 
[[Category:PrivateData]]

Version actuelle datée du 4 août 2022 à 07:11


Cette documentation décrit une installation sur Apache 2.4 (puisque Apache 2.2 est End-of-Life).

Linux type Debian / Ubuntu

To install M-Processing Server on Linux 64-bit, follow the guidelines listed below :

Instructions Commands
Installation de dépendances pour Mapping
Add the i386 architecture, to run a 32-bit executable file on a 64-bit multi-architecture system. sudo dpkg --add-architecture i386
Update librairies. sudo apt-get update
Install the three library packages libc6:i386, libncurses5:i386, and libstdc++6:i386. sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
Installation d'Apache 2.4
Install apache2 (2.4) and apache2-utils packages. sudo apt-get install apache2 apache2-utils
Check if the mods access_compat, authz_groupfile and cgi are enabled.
Just checking their presence in mods-enabled directory.
Path: ls /etc/apache2/mod-enabled/
If not, enable them. sudo a2enmod authz_groupfile

sudo a2enmod cgi

Prepare an empty Apache conf file (Apache 2.4) sudo touch /etc/apache2/conf-available/mapping-suite.conf
Installation de Mapping
Uncompress the archive linux_lib6_autogenbuild then, the archive mapping_install_linux_autogenbuild tar -xvf mapping_install_Linux_Autogenbuild.tar.gz
Go in mapping_install directory Example: cd /home/username/desktop/mapping_install/
Run mapinst.sh sudo ./mapinst.sh
When asked use the previous settings Apache conf file: /etc/apache2/conf-available/mapping-suite.conf
Set perfect path Install path: /usr/bin/mapping/

Server datas: /srv/mapping/

Apache final configuration
After install, enable Apache conf sudo a2enconf mapping-suite

Linux type Suse (12sp4)

Les paquets s'appellent libc6-32bit et libstdc++6-32bit

Linux type RHEL / RedHat / CentOS

To install M-Processing Server on Linux 64-bit, follow the guidelines listed below :

Instructions Commands
Installation d'Apache 2.4
Install apache2 (2.4) package. sudo yum install httpd
Prepare an empty Apache conf file (Apache 2.4) sudo touch /etc/httpd/conf.modules.d/02-mapping-suite.conf (ça fonctionne aussi dans conf.d)

Warning-300px.png The file tree between a Debian like and a RHEL like if different inside etc apache dirs. modules directory is not placed at the same deepth.


Autre instructions concernant le .conf

Read : Mapping_Unix/Windows_-_modifier_le_httpd.conf_pour_Apache_2.4

Mapping apache configuration is relatively compatible with v2.4 as seen before.

But for a better compatibility, it is better to replace some commands by their 2.4 syntax.

So that the Module mod_compat is no more relevant.

Apache 2.2 Apache 2.4
Order deny,allow
Deny from all
==> Require all denied
Order allow,deny
Allow from all
==> Require all granted I have serious doubt
Order Deny,Allow
Deny from all
Allow from example.org
==> Require host example.org
NameVirtualHost *:8002 ==> deprecated

A list of some usefull modules (example taken on RHEL), not needed at first, but it is a WIP :

Module à activer
LoadModule access_compat_module modules/mod_access_compat.so
LoadModule cgid_module modules/mod_cgid.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule mpm_prefork_module modules/mod_prefork_module.so
Module à désactiver
#LoadModule mpm_event_module modules/mod_event_module.so