{"id":1602,"date":"2026-07-31T17:22:10","date_gmt":"2026-07-31T15:22:10","guid":{"rendered":"https:\/\/communaute-omr.fr\/?p=1602"},"modified":"2026-07-31T18:31:24","modified_gmt":"2026-07-31T16:31:24","slug":"installation-apache","status":"publish","type":"post","link":"https:\/\/communaute-omr.fr\/?p=1602","title":{"rendered":"Installation Apache"},"content":{"rendered":"\n<h1 id=\"avant-propos\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Avant-propos\"><\/span>Avant-propos<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Nous allons installer un serveur Apache sur ALMA9<\/p>\n\n\n\n<h1 id=\"installation-du-serveur-web\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Installation_du_serveur_WEB\"><\/span>Installation du serveur WEB<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<h2 id=\"preparation-des-depots\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Preparation_des_depots\"><\/span>Pr\u00e9paration des d\u00e9pots<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Nous allons installer les d\u00e9pots additionnels dont nous aurons besoin.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro omr-terminal\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.75rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#24292e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>dnf install -y dnf-plugins-core\ndnf install -y epel-release\ndnf config-manager --set-enabled crb<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #79B8FF\">dnf install -y dnf-plugins-core<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">dnf install -y epel-release<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">dnf config-manager --set-enabled crb<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 id=\"controle-des-depots\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Controle_des_depots\"><\/span>Contr\u00f4le des d\u00e9p\u00f4ts<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro omr-terminal\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.75rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#24292e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&#91;root@demo-alma9 ~&#93;#dnf repolist\nid du d\u00e9p\u00f4t                                                           nom du d\u00e9p\u00f4t\nappstream                                                             AlmaLinux 9 - AppStream\nbaseos                                                                AlmaLinux 9 - BaseOS\ncrb                                                                   AlmaLinux 9 - CRB\nepel                                                                  Extra Packages for Enterprise Linux 9 - x86_64\nepel-cisco-openh264                                                   Extra Packages for Enterprise Linux 9 openh264 (From Cisco) - x86_64\nextras                                                                AlmaLinux 9 \u2013 Extras<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #79B8FF\">&#91;root@demo-alma9 ~&#93;#dnf repolist<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">id du d\u00e9p\u00f4t                                                           nom du d\u00e9p\u00f4t<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">appstream                                                             AlmaLinux 9 - AppStream<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">baseos                                                                AlmaLinux 9 - BaseOS<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">crb                                                                   AlmaLinux 9 - CRB<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">epel                                                                  Extra Packages for Enterprise Linux 9 - x86_64<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">epel-cisco-openh264                                                   Extra Packages for Enterprise Linux 9 openh264 (From Cisco) - x86_64<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">extras                                                                AlmaLinux 9 \u2013 Extras<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<!--more-->\n\n\n\n<h2 id=\"installation-de-php\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Installation_de_php\"><\/span>Installation de php<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Pour ne pas avoir \u00e0 g\u00e9rer les diff\u00e9rentes d\u00e9pendances, nous allons passer par les modules pour \u00eatre sur que nous aurons bien les bonnes version pour toutes les briques php.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Petite note de plein page \ud83d\ude00 pour ceux qui on l&rsquo;habitude d&rsquo;utiliser yum : c&rsquo;est dans l\u00a0\u00bbid\u00e9e de ma fen\u00eatre, l&rsquo;\u00e9quivalent de la commande yum group install   &#8230; en un peu plus et pas seulement \ud83d\ude09 intelligent.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro omr-terminal\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.75rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#24292e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>dnf module reset php\ndnf module install php:8.2\nD\u00e9pendances r\u00e9solues.\n=============================================================================================================================================================================================\nPaquet                                      Architecture                      Version                                                            D\u00e9p\u00f4t                                Taille\n=============================================================================================================================================================================================\nInstallation des paquets du groupe\/module:\nphp-cli                                     x86_64                            8.2.32-1.module_el9.8.0+284+2e0ccc92                               appstream                            3.6 M\nphp-common                                  x86_64                            8.2.32-1.module_el9.8.0+284+2e0ccc92                               appstream                            709 k\nphp-fpm                                     x86_64                            8.2.32-1.module_el9.8.0+284+2e0ccc92                               appstream                            1.8 M\nphp-mbstring                                x86_64                            8.2.32-1.module_el9.8.0+284+2e0ccc92                               appstream                            519 k\nphp-xml                                     x86_64                            8.2.32-1.module_el9.8.0+284+2e0ccc92                               appstream                            143 k\nInstallation des d\u00e9pendances:\nhttpd-filesystem                            noarch                            2.4.62-13.el9_8.5                                                  appstream                             13 k\nlibxslt                                     x86_64                            1.1.34-14.el9_8.1                                                  appstream                            240 k\nnginx-filesystem                            noarch                            2:1.20.1-28.el9_8.4.alma.1                                         appstream                             11 k\nInstallation des profils de module:\nphp\/common\nActivation des flux de modules:\nphp                                                                           8.2\nR\u00e9sum\u00e9 de la transaction\n=============================================================================================================================================================================================\nInstaller  8 Paquets\nTaille totale des t\u00e9l\u00e9chargements\u00a0: 7.0 M\nTaille des paquets install\u00e9s\u00a0: 35 M\nVoulez-vous continuer\u00a0? &#91;o\/N&#93;\u00a0: o\nT\u00e9l\u00e9chargement des paquets\u00a0:\n(1\/8): nginx-filesystem-1.20.1-28.el9_8.4.alma.1.noarch.rpm                                                                                                  267 kB\/s |  11 kB     00:00\n(2\/8): httpd-filesystem-2.4.62-13.el9_8.5.noarch.rpm                                                                                                         305 kB\/s |  13 kB     00:00\n(3\/8): libxslt-1.1.34-14.el9_8.1.x86_64.rpm                                                                                                                  2.6 MB\/s | 240 kB     00:00\n(4\/8): php-common-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64.rpm                                                                                            5.1 MB\/s | 709 kB     00:00\n(5\/8): php-fpm-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64.rpm                                                                                                17 MB\/s | 1.8 MB     00:00\n(6\/8): php-cli-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64.rpm                                                                                                19 MB\/s | 3.6 MB     00:00\n(7\/8): php-xml-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64.rpm                                                                                               2.9 MB\/s | 143 kB     00:00\n(8\/8): php-mbstring-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64.rpm                                                                                          6.3 MB\/s | 519 kB     00:00\n---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\nTotal                                                                                                                                                         13 MB\/s | 7.0 MB     00:00\nTest de la transaction\nLa v\u00e9rification de la transaction a r\u00e9ussi.\nLancement de la transaction de test\nTransaction de test r\u00e9ussie.\nEx\u00e9cution de la transaction\nPr\u00e9paration           :                                                                                                                                                                1\/1\nInstallation          : php-common-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64                                                                                                         1\/8\nEx\u00e9cution du scriptlet: nginx-filesystem-2:1.20.1-28.el9_8.4.alma.1.noarch                                                                                                             2\/8\nInstallation          : nginx-filesystem-2:1.20.1-28.el9_8.4.alma.1.noarch                                                                                                             2\/8\nInstallation          : libxslt-1.1.34-14.el9_8.1.x86_64                                                                                                                               3\/8\nEx\u00e9cution du scriptlet: httpd-filesystem-2.4.62-13.el9_8.5.noarch                                                                                                                      4\/8\nInstallation          : httpd-filesystem-2.4.62-13.el9_8.5.noarch                                                                                                                      4\/8\nInstallation          : php-fpm-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64                                                                                                            5\/8\nEx\u00e9cution du scriptlet: php-fpm-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64                                                                                                            5\/8\nInstallation          : php-xml-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64                                                                                                            6\/8\nInstallation          : php-cli-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64                                                                                                            7\/8\nInstallation          : php-mbstring-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64                                                                                                       8\/8\nEx\u00e9cution du scriptlet: php-mbstring-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64                                                                                                       8\/8\nV\u00e9rification de       : httpd-filesystem-2.4.62-13.el9_8.5.noarch                                                                                                                      1\/8\nV\u00e9rification de       : libxslt-1.1.34-14.el9_8.1.x86_64                                                                                                                               2\/8\nV\u00e9rification de       : nginx-filesystem-2:1.20.1-28.el9_8.4.alma.1.noarch                                                                                                             3\/8\nV\u00e9rification de       : php-cli-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64                                                                                                            4\/8\nV\u00e9rification de       : php-common-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64                                                                                                         5\/8\nV\u00e9rification de       : php-fpm-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64                                                                                                            6\/8\nV\u00e9rification de       : php-mbstring-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64                                                                                                       7\/8\nV\u00e9rification de       : php-xml-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64                                                                                                            8\/8\nInstall\u00e9:\nhttpd-filesystem-2.4.62-13.el9_8.5.noarch                        libxslt-1.1.34-14.el9_8.1.x86_64                               nginx-filesystem-2:1.20.1-28.el9_8.4.alma.1.noarch\nphp-cli-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64              php-common-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64         php-fpm-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64\nphp-mbstring-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64         php-xml-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64\nTermin\u00e9\u00a0!<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #79B8FF\">dnf module reset php<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">dnf module install php:8.2<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">D\u00e9pendances r\u00e9solues.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">=============================================================================================================================================================================================<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Paquet                                      Architecture                      Version                                                            D\u00e9p\u00f4t                                Taille<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">=============================================================================================================================================================================================<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Installation des paquets du groupe\/module:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">php-cli                                     x86_64                            8.2.32-1.module_el9.8.0+284+2e0ccc92                               appstream                            3.6 M<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">php-common                                  x86_64                            8.2.32-1.module_el9.8.0+284+2e0ccc92                               appstream                            709 k<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">php-fpm                                     x86_64                            8.2.32-1.module_el9.8.0+284+2e0ccc92                               appstream                            1.8 M<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">php-mbstring                                x86_64                            8.2.32-1.module_el9.8.0+284+2e0ccc92                               appstream                            519 k<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">php-xml                                     x86_64                            8.2.32-1.module_el9.8.0+284+2e0ccc92                               appstream                            143 k<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Installation des d\u00e9pendances:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">httpd-filesystem                            noarch                            2.4.62-13.el9_8.5                                                  appstream                             13 k<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">libxslt                                     x86_64                            1.1.34-14.el9_8.1                                                  appstream                            240 k<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">nginx-filesystem                            noarch                            2:1.20.1-28.el9_8.4.alma.1                                         appstream                             11 k<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Installation des profils de module:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">php\/common<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Activation des flux de modules:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">php                                                                           8.2<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">R\u00e9sum\u00e9 de la transaction<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">=============================================================================================================================================================================================<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Installer  8 Paquets<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Taille totale des t\u00e9l\u00e9chargements\u00a0: 7.0 M<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Taille des paquets install\u00e9s\u00a0: 35 M<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Voulez-vous continuer\u00a0? &#91;o\/N&#93;\u00a0: o<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">T\u00e9l\u00e9chargement des paquets\u00a0:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">(1\/8): nginx-filesystem-1.20.1-28.el9_8.4.alma.1.noarch.rpm                                                                                                  267 kB\/s |  11 kB     00:00<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">(2\/8): httpd-filesystem-2.4.62-13.el9_8.5.noarch.rpm                                                                                                         305 kB\/s |  13 kB     00:00<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">(3\/8): libxslt-1.1.34-14.el9_8.1.x86_64.rpm                                                                                                                  2.6 MB\/s | 240 kB     00:00<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">(4\/8): php-common-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64.rpm                                                                                            5.1 MB\/s | 709 kB     00:00<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">(5\/8): php-fpm-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64.rpm                                                                                                17 MB\/s | 1.8 MB     00:00<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">(6\/8): php-cli-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64.rpm                                                                                                19 MB\/s | 3.6 MB     00:00<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">(7\/8): php-xml-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64.rpm                                                                                               2.9 MB\/s | 143 kB     00:00<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">(8\/8): php-mbstring-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64.rpm                                                                                          6.3 MB\/s | 519 kB     00:00<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Total                                                                                                                                                         13 MB\/s | 7.0 MB     00:00<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Test de la transaction<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">La v\u00e9rification de la transaction a r\u00e9ussi.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Lancement de la transaction de test<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Transaction de test r\u00e9ussie.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Ex\u00e9cution de la transaction<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Pr\u00e9paration           :                                                                                                                                                                1\/1<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Installation          : php-common-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64                                                                                                         1\/8<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Ex\u00e9cution du scriptlet: nginx-filesystem-2:1.20.1-28.el9_8.4.alma.1.noarch                                                                                                             2\/8<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Installation          : nginx-filesystem-2:1.20.1-28.el9_8.4.alma.1.noarch                                                                                                             2\/8<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Installation          : libxslt-1.1.34-14.el9_8.1.x86_64                                                                                                                               3\/8<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Ex\u00e9cution du scriptlet: httpd-filesystem-2.4.62-13.el9_8.5.noarch                                                                                                                      4\/8<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Installation          : httpd-filesystem-2.4.62-13.el9_8.5.noarch                                                                                                                      4\/8<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Installation          : php-fpm-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64                                                                                                            5\/8<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Ex\u00e9cution du scriptlet: php-fpm-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64                                                                                                            5\/8<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Installation          : php-xml-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64                                                                                                            6\/8<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Installation          : php-cli-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64                                                                                                            7\/8<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Installation          : php-mbstring-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64                                                                                                       8\/8<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Ex\u00e9cution du scriptlet: php-mbstring-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64                                                                                                       8\/8<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">V\u00e9rification de       : httpd-filesystem-2.4.62-13.el9_8.5.noarch                                                                                                                      1\/8<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">V\u00e9rification de       : libxslt-1.1.34-14.el9_8.1.x86_64                                                                                                                               2\/8<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">V\u00e9rification de       : nginx-filesystem-2:1.20.1-28.el9_8.4.alma.1.noarch                                                                                                             3\/8<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">V\u00e9rification de       : php-cli-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64                                                                                                            4\/8<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">V\u00e9rification de       : php-common-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64                                                                                                         5\/8<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">V\u00e9rification de       : php-fpm-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64                                                                                                            6\/8<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">V\u00e9rification de       : php-mbstring-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64                                                                                                       7\/8<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">V\u00e9rification de       : php-xml-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64                                                                                                            8\/8<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Install\u00e9:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">httpd-filesystem-2.4.62-13.el9_8.5.noarch                        libxslt-1.1.34-14.el9_8.1.x86_64                               nginx-filesystem-2:1.20.1-28.el9_8.4.alma.1.noarch<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">php-cli-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64              php-common-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64         php-fpm-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">php-mbstring-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64         php-xml-8.2.32-1.module_el9.8.0+284+2e0ccc92.x86_64<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Termin\u00e9\u00a0!<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 id=\"installation-du-server-apache\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Installation_du_server_Apache\"><\/span>Installation du server Apache <span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro omr-terminal\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.75rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#24292e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>dnf install -y httpd php mod_ssl openssl php-mysqlnd php-fpm php-xml php-mbstring php-json php-curl<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #79B8FF\">dnf install -y httpd php mod_ssl openssl php-mysqlnd php-fpm php-xml php-mbstring php-json php-curl<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h1 id=\"preparation-du-serveur\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Mise_en_route_du_serveur_WEB\"><\/span>Mise en route du serveur WEB<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<h2 id=\"demarrage-des-services\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Demarrage_des_services\"><\/span>D\u00e9marrage des services<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro omr-terminal\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.75rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#24292e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>systemctl enable --now httpd.service php-fpm.service\nCreated symlink \/etc\/systemd\/system\/multi-user.target.wants\/httpd.service \u2192 \/usr\/lib\/systemd\/system\/httpd.service.\nCreated symlink \/etc\/systemd\/system\/multi-user.target.wants\/php-fpm.service \u2192 \/usr\/lib\/systemd\/system\/php-fpm.service.<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #79B8FF\">systemctl enable --now httpd.service php-fpm.service<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Created symlink \/etc\/systemd\/system\/multi-user.target.wants\/httpd.service \u2192 \/usr\/lib\/systemd\/system\/httpd.service.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Created symlink \/etc\/systemd\/system\/multi-user.target.wants\/php-fpm.service \u2192 \/usr\/lib\/systemd\/system\/php-fpm.service.<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 id=\"gestion-de-la-securite\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Gestion_de_la_securite\"><\/span>Gestion de la s\u00e9curit\u00e9<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Mon serveur virtualis\u00e9 n\u2019\u00e9tant pas disponible directement, la gestion de la s\u00e9curit\u00e9 r\u00e9seau se fait au niveau de mon serveur physique.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On va donc d\u00e9sactiver tous les outils de gestion de s\u00e9curit\u00e9 (selinux, firewalld)<\/p>\n\n\n\n<h3 id=\"desactivation-de-selinux\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Desactivation_de_selinux\"><\/span>D\u00e9sactivation de selinux<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro omr-terminal\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.75rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#24292e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sed -i s\/^SELINUX=.*$\/SELINUX=disabled\/ \/etc\/selinux\/config<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #79B8FF\">sed -i s\/^SELINUX=.*$\/SELINUX=disabled\/ \/etc\/selinux\/config<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 id=\"desactivation-de-firewalld\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Desactivation_de_firewalld\"><\/span>D\u00e9sactivation de firewalld<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro omr-terminal\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.75rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#24292e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&#91;root@demo-alma9 ~&#93;# systemctl disable firewalld\nRemoved \"\/etc\/systemd\/system\/multi-user.target.wants\/firewalld.service\".\nRemoved \"\/etc\/systemd\/system\/dbus-org.fedoraproject.FirewallD1.service\".\n&#91;root@demo-alma9 ~&#93;# systemctl stop firewalld<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">&#91;root@demo-alma9 ~&#93;<\/span><span style=\"color: #E1E4E8\"># systemctl disable firewalld<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Removed &quot;\/etc\/systemd\/system\/multi-user.target.wants\/firewalld.service&quot;.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Removed &quot;\/etc\/systemd\/system\/dbus-org.fedoraproject.FirewallD1.service&quot;.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #B392F0\">&#91;root@demo-alma9 ~&#93;<\/span><span style=\"color: #E1E4E8\"># systemctl stop firewalld<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 id=\"on-redemarre-le-serveur\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"On_redemarre_le_serveur\"><\/span>On red\u00e9marre le serveur<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro omr-terminal\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.75rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#24292e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>reboot -n<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #79B8FF\">reboot -n<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h1 id=\"controle\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Controle\"><\/span>Contr\u00f4le<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<h2 id=\"selinux\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Selinux\"><\/span>Selinux<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro omr-terminal\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.75rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#24292e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&#91;root@demo-alma9 ~&#93;# sestatus\nSELinux status:                 disabled<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">&#91;root@demo-alma9 ~&#93;<\/span><span style=\"color: #E1E4E8\"># sestatus<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">SELinux status:                 disabled<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Firewalld\"><\/span>Firewalld<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.75rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#24292e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>systemctl status firewalld | egrep \"Active|.service\"\n\u25cf firewalld.service - firewalld - dynamic firewall daemon\nLoaded: loaded (\/usr\/lib\/systemd\/system\/firewalld.service; disabled; preset: enabled)\nActive: inactive (dead)<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #79B8FF\">systemctl status firewalld | egrep &quot;Active|.service&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">\u25cf firewalld.service - firewalld - dynamic firewall daemon<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Loaded: loaded (\/usr\/lib\/systemd\/system\/firewalld.service; disabled; preset: enabled)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Active: inactive (dead)<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 id=\"les-services\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Les_services\"><\/span>Les services<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"has-e-1-e-4-e-8-color has-text-color has-75-rem-font-size wp-block-paragraph\">On contr\u00f4le que les services WEB sont bien d\u00e9marr\u00e9s<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro omr-terminal\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.75rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#24292e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>systemctl status httpd php-fpm | egrep \"Active|.service\"\n\u25cf httpd.service - The Apache HTTP Server\nLoaded: loaded (\/usr\/lib\/systemd\/system\/httpd.service; enabled; preset: disabled)\nDrop-In: \/etc\/systemd\/system\/httpd.service.d\nActive: active (running) since Fri 2026-07-31 11:29:44 CEST; 4min 16s ago\nDocs: man:httpd.service(8)\nCGroup: \/system.slice\/httpd.service\n\u25cf php-fpm.service - The PHP FastCGI Process Manager\nLoaded: loaded (\/usr\/lib\/systemd\/system\/php-fpm.service; enabled; preset: disabled)\nActive: active (running) since Fri 2026-07-31 11:29:44 CEST; 4min 16s ago\nCGroup: \/system.slice\/php-fpm.service\n\u25cf firewalld.service - firewalld - dynamic firewall daemon\nLoaded: loaded (\/usr\/lib\/systemd\/system\/firewalld.service; disabled; preset: enabled)\nActive: inactive (dead)<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #79B8FF\">systemctl status httpd php-fpm | egrep &quot;Active|.service&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">\u25cf httpd.service - The Apache HTTP Server<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Loaded: loaded (\/usr\/lib\/systemd\/system\/httpd.service; enabled; preset: disabled)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Drop-In: \/etc\/systemd\/system\/httpd.service.d<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Active: active (running) since Fri 2026-07-31 11:29:44 CEST; 4min 16s ago<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Docs: man:httpd.service(8)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">CGroup: \/system.slice\/httpd.service<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">\u25cf php-fpm.service - The PHP FastCGI Process Manager<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Loaded: loaded (\/usr\/lib\/systemd\/system\/php-fpm.service; enabled; preset: disabled)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Active: active (running) since Fri 2026-07-31 11:29:44 CEST; 4min 16s ago<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">CGroup: \/system.slice\/php-fpm.service<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">\u25cf firewalld.service - firewalld - dynamic firewall daemon<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Loaded: loaded (\/usr\/lib\/systemd\/system\/firewalld.service; disabled; preset: enabled)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">Active: inactive (dead)<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 id=\"interface-web\" class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Interface_WEB\"><\/span>Interface WEB<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">On se connecte au serveur via l&rsquo;url http:\/\/&lt;Mon Site&gt; pour contr\u00f4ler le bon fonctionnement d&rsquo;apache<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/communaute-omr.fr\/wp-content\/uploads\/2026\/07\/image1-24.png\" alt=\"\"\/><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"php\"><\/span>php<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Optimisation\"><\/span>Optimisation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Le fonctionnement des serveurs necessite de plus en plus de m\u00e9moire et les fichiers mis \u00e0 disposition sur les sites peuvent \u00eatre de plus en plus volumineux \u00e9galement.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pour cela nous allons faire un peu de tunning de php afin d&rsquo;\u00e9viter les messages d&rsquo;erreur php sur la m\u00e9moire et la faille max des fichiers import\u00e9s ou export\u00e9s depuis l&rsquo;IHM<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>On augmente la m\u00e9moire allou\u00e9e \u00e0 php (Vers la ligne 430)<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.75rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#24292e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>memory_limit = 256M<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #79B8FF\">memory_limit<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #F97583\">=<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">256M<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>On augment la taille max des fichiers (Vers la ligne 460)<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.75rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#24292e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>upload_max_filesize = 20M<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #79B8FF\">upload_max_filesize<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #F97583\">=<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">20M<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Redemarrage_du_service\"><\/span>Red\u00e9marrage du service<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>On red\u00e9marrer le service et on contr\u00f4le<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.75rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#24292e\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly> systemctl restart php-fpm\n systemctl status php-fpm\n\u25cf php-fpm.service - The PHP FastCGI Process Manager\n     Loaded: loaded (\/usr\/lib\/systemd\/system\/php-fpm.service; enabled; preset: disabled)\n     Active: active (running) since Fri 2026-07-31 18:12:45 CEST; 7s ago\n   Main PID: 3016 (php-fpm)\n     Status: \"Ready to handle connections\"\n      Tasks: 6 (limit: 10646)\n     Memory: 13.0M (peak: 13.3M)\n        CPU: 24ms\n     CGroup: \/system.slice\/php-fpm.service\n             \u251c\u25003016 \"php-fpm: master process (\/etc\/php-fpm.conf)\"\n             \u251c\u25003017 \"php-fpm: pool www\"\n             \u251c\u25003018 \"php-fpm: pool www\"\n             \u251c\u25003019 \"php-fpm: pool www\"\n             \u251c\u25003020 \"php-fpm: pool www\"\n             \u2514\u25003021 \"php-fpm: pool www\"\n\njuil. 31 18:12:45 demo-alma9 systemd&#91;1&#93;: Starting The PHP FastCGI Process Manager...\njuil. 31 18:12:45 demo-alma9 systemd&#91;1&#93;: Started The PHP FastCGI Process Manager.\n<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #79B8FF\"> systemctl restart php-fpm<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\"> systemctl status php-fpm<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">\u25cf php-fpm.service - The PHP FastCGI Process Manager<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">     Loaded: loaded (\/usr\/lib\/systemd\/system\/php-fpm.service; enabled; preset: disabled)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">     Active: active (running) since Fri 2026-07-31 18:12:45 CEST; 7s ago<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">   Main PID: 3016 (php-fpm)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">     Status: &quot;Ready to handle connections&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">      Tasks: 6 (limit: 10646)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">     Memory: 13.0M (peak: 13.3M)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">        CPU: 24ms<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">     CGroup: \/system.slice\/php-fpm.service<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">             \u251c\u25003016 &quot;php-fpm: master process (\/etc\/php-fpm.conf)&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">             \u251c\u25003017 &quot;php-fpm: pool www&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">             \u251c\u25003018 &quot;php-fpm: pool www&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">             \u251c\u25003019 &quot;php-fpm: pool www&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">             \u251c\u25003020 &quot;php-fpm: pool www&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">             \u2514\u25003021 &quot;php-fpm: pool www&quot;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">juil. 31 18:12:45 demo-alma9 systemd&#91;1&#93;: Starting The PHP FastCGI Process Manager...<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">juil. 31 18:12:45 demo-alma9 systemd&#91;1&#93;: Started The PHP FastCGI Process Manager.<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Avant-propos Nous allons installer un serveur Apache sur ALMA9 Installation du serveur WEB Pr\u00e9paration des d\u00e9pots Nous allons installer les d\u00e9pots additionnels dont nous aurons besoin. Contr\u00f4le des d\u00e9p\u00f4ts<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[46,4,44],"tags":[],"class_list":["post-1602","post","type-post","status-publish","format-standard","hentry","category-apache","category-linux","category-serveur-web"],"_links":{"self":[{"href":"https:\/\/communaute-omr.fr\/index.php?rest_route=\/wp\/v2\/posts\/1602","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/communaute-omr.fr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/communaute-omr.fr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/communaute-omr.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/communaute-omr.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1602"}],"version-history":[{"count":19,"href":"https:\/\/communaute-omr.fr\/index.php?rest_route=\/wp\/v2\/posts\/1602\/revisions"}],"predecessor-version":[{"id":1636,"href":"https:\/\/communaute-omr.fr\/index.php?rest_route=\/wp\/v2\/posts\/1602\/revisions\/1636"}],"wp:attachment":[{"href":"https:\/\/communaute-omr.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/communaute-omr.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/communaute-omr.fr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}