M-Processing Server Installation (internal)
Différence entre versions
(Suppression d'anciennes mise en forme) |
(→Linux type Debian / Ubuntu) |
||
Ligne 48 : | Ligne 48 : | ||
|} | |} | ||
+ | == Suse12sp4== | ||
+ | |||
+ | Les paquets s'appellent <code>libc6-32bit</code> et <code>libstdc++6-32bit</code> | ||
== Linux type RHEL / RedHat / CentOS == | == Linux type RHEL / RedHat / CentOS == |
Version du 20 novembre 2019 à 13:41
Cette documentation décrit une installation sur Apache 2.4 (puisque Apache 2.2 est End-of-Life).
Sommaire
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
|
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: |
Apache final configuration | |
After install, enable Apache conf | sudo a2enconf mapping-suite
|
Suse12sp4
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)
|
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 :
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
|