M-Processing Server Installation (internal)
Différence entre versions
(→Autre instructions concernant le .conf) |
(Suppression d'anciennes mise en forme) |
||
Ligne 3 : | Ligne 3 : | ||
Cette documentation décrit une installation sur Apache 2.4 (puisque Apache 2.2 est End-of-Life). | Cette documentation décrit une installation sur Apache 2.4 (puisque Apache 2.2 est End-of-Life). | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Linux type Debian / Ubuntu == | == Linux type Debian / Ubuntu == | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
'''To install M-Processing Server on Linux 64-bit, follow the guidelines listed below :''' | '''To install M-Processing Server on Linux 64-bit, follow the guidelines listed below :''' | ||
{| class="wikitable" | {| class="wikitable" | ||
Ligne 59 : | Ligne 47 : | ||
| After install, enable Apache conf || <code>sudo a2enconf mapping-suite</code> | | After install, enable Apache conf || <code>sudo a2enconf mapping-suite</code> | ||
|} | |} | ||
− | |||
− | |||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Linux type RHEL / RedHat / CentOS == | == Linux type RHEL / RedHat / CentOS == | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
'''To install M-Processing Server on Linux 64-bit, follow the guidelines listed below :''' | '''To install M-Processing Server on Linux 64-bit, follow the guidelines listed below :''' | ||
{| class="wikitable" | {| class="wikitable" | ||
Ligne 90 : | Ligne 65 : | ||
{{Warning}} The file tree between a Debian like and a RHEL like if different inside etc apache dirs. <code>modules</code> directory is not placed at the same deepth. | {{Warning}} The file tree between a Debian like and a RHEL like if different inside etc apache dirs. <code>modules</code> directory is not placed at the same deepth. | ||
− | |||
− | |||
Version du 2 mai 2019 à 09:49
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
|
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
|
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
|