{"id":875,"date":"2024-06-27T10:23:18","date_gmt":"2024-06-27T08:23:18","guid":{"rendered":"https:\/\/artheodoc.fr\/?page_id=875"},"modified":"2025-05-03T08:05:25","modified_gmt":"2025-05-03T06:05:25","slug":"mes-supports-de-cours","status":"publish","type":"page","link":"https:\/\/artheodoc.fr\/index.php\/mes-supports-de-cours\/","title":{"rendered":"Mes supports de cours"},"content":{"rendered":"\n<h2 class=\"wp-block-heading has-text-align-center has-pale-ocean-gradient-background has-background has-medium-font-size\"><em>Documentation r\u00e9alis\u00e9e dans le cadre de cours d&rsquo;informatique que je propose en distanciel.<\/em><\/h2>\n\n\n\n<div class=\"wp-block-columns has-background is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\" style=\"background-color:#e4eff7\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/07\/illustration-cours-informatiques.jpeg\" alt=\"\" class=\"wp-image-1032\" srcset=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/07\/illustration-cours-informatiques.jpeg 300w, https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/07\/illustration-cours-informatiques-150x150.jpeg 150w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<p>Le probl\u00e8me quand on veut travailler l\u2019installation de serveurs est que tout le monde ne dispose pas de machines d\u00e9di\u00e9es \u00e0 cela. Je vous propose donc d\u2019utiliser, du moins au d\u00e9but, la virtualisation avec VirtualBox. Cet hyperviseur peut \u00eatre install\u00e9 sous Windows ou Linux. Plus vous avez de m\u00e9moire vive, mieux cela est. Mais nos serveurs sous Debian 12 sans interfaces graphiques ne sont pas trop gourmands en ressources. La configuration de la carte r\u00e9seau de notre machine virtuelle en bridge (pont) lui permet de se trouver sur notre r\u00e9seau local. Par la suite, on pourra tester d\u2019autres installations, sur un Raspberry Pi, sous Proxmox\u2026<\/p>\n\n\n\n<p class=\"has-text-align-right\">Dominique Renaudeau<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"722\" height=\"58\" src=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/09\/Email-artheodoc-fr.png\" alt=\"\" class=\"wp-image-1182\" srcset=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/09\/Email-artheodoc-fr.png 722w, https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/09\/Email-artheodoc-fr-300x24.png 300w\" sizes=\"auto, (max-width: 722px) 100vw, 722px\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Documents que vous pouvez consulter<\/strong><\/p>\n\n\n\n<p>Durant les proc\u00e9dures d\u2019installation de serveurs, vous \u00eates amen\u00e9 \u00e0 utiliser PuTTY, FileZilla, Nano, les commandes Shell Linux. Vous installez \u00e9galement des certificats pour le HTTPS.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/utilisation-de-putty-depuis-le-reseau-local-ou-a-distance\/\" data-type=\"page\" data-id=\"54\" target=\"_blank\" rel=\"noreferrer noopener\">Utilisation de PuTTY depuis le r\u00e9seau local ou \u00e0 distance<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/utilisation-de-filezilla-depuis-le-reseau-local-ou-a-distance\/\" data-type=\"page\" data-id=\"58\" target=\"_blank\" rel=\"noreferrer noopener\">Utilisation de FileZilla depuis le r\u00e9seau local ou \u00e0 distance<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/lediteur-de-texte-nano\/\" data-type=\"page\" data-id=\"972\" target=\"_blank\" rel=\"noreferrer noopener\">L\u2019\u00e9diteur de texte&nbsp;Nano<\/a><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/commandes-shell-linux\/\" data-type=\"page\" data-id=\"11\" target=\"_blank\" rel=\"noreferrer noopener\">Commandes Shell Linux<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/exemple-dinstallation-dun-certificat-avec-certbot\/\" data-type=\"page\" data-id=\"998\" target=\"_blank\" rel=\"noreferrer noopener\">Exemple d\u2019installation d\u2019un certificat avec Certbot<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/securisation-de-linstallation-de-mariadb\/\" data-type=\"page\" data-id=\"66\" target=\"_blank\" rel=\"noreferrer noopener\">S\u00e9curisation de l\u2019installation de MariaDB<\/a><\/p>\n<\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center has-pale-ocean-gradient-background has-background has-medium-font-size\">1 &#8211; WordPress<\/h2>\n\n\n\n<p>Dans un premier temps, je vous propose d\u2019installer ce qui sera peut-\u00eatre votre premier serveur WEB avec WordPress sous Debian 12 en utilisant VirtualBox. Pas de nom de domaine ni de certificat pour le moment.<\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/installation-de-wordpress-sous-debian-12-dans-une-machine-virtuelle-sous-virtualbox\/\" data-type=\"page\" data-id=\"779\" target=\"_blank\" rel=\"noreferrer noopener\">Installation de WordPress sous Debian 12 dans une machine virtuelle sous VirtualBox<\/a><\/p>\n\n\n\n<p>Je vous propose de poursuivre avec la cr\u00e9ation de pages et d\u2019articles en utilisant Gutenberg l\u2019\u00e9diteur de WordPress.<\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/creation-de-pages-et-darticles-avec-wordpress\/\" data-type=\"page\" data-id=\"790\" target=\"_blank\" rel=\"noreferrer noopener\">Cr\u00e9ation de pages et d&rsquo;articles avec WordPress<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"has-vivid-red-color has-text-color has-link-color has-medium-font-size wp-elements-a6d0545a7cecde18c1aa29fb1f5fbf10\">Dans les tutoriels qui suivent, vous devez remplacer les param\u00e8tres suivants par les v\u00f4tres&nbsp;:<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table class=\"has-background\" style=\"background-color:#d7eaf6\"><tbody><tr><td><br><strong>mon_nom_de_domaine.com<\/strong><\/td><td><br><em>Par votre nom de domaine ou de sous-domaine.<\/em><\/td><\/tr><tr><td><br><strong>mon_nom_de_domaine.conf<\/strong><\/td><td><br><em>Par le nom du fichier de configuration .conf de votre site (Apache).<\/em><br><br><em>Dans mon cas dans le dossier \/etc\/apache2\/sites-available<\/em><\/td><\/tr><tr><td><br><strong>mon_serveur<\/strong><\/td><td><br><em>Par le nom de dossier de votre site et des logs.<\/em><br><br><em>Dans mon cas dans les dossiers \/var\/www\/html et \/var\/log\/apache2<\/em><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><br>Pour la suite, noms de domaine avec certificats, nous configurons des r\u00e8gles <a href=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/06\/2-Configuration_de_la_livebox_5_Orange_regles_NAT.pdf\" data-type=\"attachment\" data-id=\"858\" target=\"_blank\" rel=\"noreferrer noopener\">NAT<\/a> sur la BOX. Pour cela, notre BOX a une <a href=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/06\/1-Creer_un_nom_de_sous_domaine_avec_FreeDNS.pdf\" data-type=\"link\" data-id=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/06\/1-Creer_un_nom_de_sous_domaine_avec_FreeDNS.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">IP publique en IPV4<\/a> ce qui est le cas de la Livebox 5 d\u2019Orange utilis\u00e9e pour les tests. J\u2019ai d\u00e9j\u00e0 \u00e9t\u00e9 confront\u00e9 \u00e0 un probl\u00e8me avec SFR, il semble qu\u2019ils passent leurs BOX en IPV6\u2026 On est revenu \u00e0 une IPV4 qui semble fixe apr\u00e8s r\u00e9clamations.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center has-pale-ocean-gradient-background has-background has-medium-font-size\">2 \u2013 Installation d\u2019un site sur le serveur WEB Apache avec nom de domaine et certificat<\/h2>\n\n\n\n<p>Les supports de cours pour l\u2019installation d\u2019un site WEB avec nom de domaine (FreeDNS) et certificat (Let&rsquo;s Encrypt). Pour le moment, le site se r\u00e9sume \u00e0 une page d\u2019accueil.<\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/installation-dun-site-sur-le-serveur-web-apache-avec-nom-de-domaine-et-certificat\/\" data-type=\"page\" data-id=\"832\" target=\"_blank\" rel=\"noreferrer noopener\">Installation d\u2019un site sur le serveur WEB Apache avec nom de domaine et certificat<\/a><\/p>\n\n\n\n<p>La suite avec une nouvelle installation de <strong>WordPress<\/strong> en HTTPS pour tirer parti de notre certificat.<\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/installation-de-wordpress-sur-le-site-avec-nom-de-domaine-et-certificat\/\" data-type=\"page\" data-id=\"889\" target=\"_blank\" rel=\"noreferrer noopener\">Installation de WordPress sur le site avec nom de domaine et certificat<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center has-pale-ocean-gradient-background has-background has-medium-font-size\">3 &#8211; Installation d\u2019un serveur avec Piwigo pour h\u00e9berger votre phototh\u00e8que<\/h2>\n\n\n\n<p>On d\u00e9bute comme pr\u00e9c\u00e9demment par l\u2019installation d\u2019un site WEB avec nom de domaine et certificat.<\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/installation-dun-site-sur-le-serveur-web-apache-avec-nom-de-domaine-et-certificat\/\" data-type=\"page\" data-id=\"832\" target=\"_blank\" rel=\"noreferrer noopener\">Installation d\u2019un site sur le serveur WEB Apache avec nom de domaine et certificat<\/a><\/p>\n\n\n\n<p>On installe ensuite Piwigo.<\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/07\/Installation_de_Piwigo_apres_configuration_du_nom_de_domaine_et_du_certificat.pdf\" data-type=\"link\" data-id=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/07\/Installation_de_Piwigo_apres_configuration_du_nom_de_domaine_et_du_certificat.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">Installation de Piwigo apr\u00e8s configuration du nom de domaine et du certificat<\/a><\/p>\n\n\n\n<p>On peut installer le plugin piwigo-openstreetmap&nbsp;en administrateur :<\/p>\n\n\n\n<p><strong>Admin <\/strong>==&gt; <strong>Plugins<\/strong> ==&gt; <strong>Ajouter un plugin<\/strong><\/p>\n\n\n\n<p>Recherchez \u00ab&nbsp; piwigo-openstreetmap&nbsp;\u00bb<\/p>\n\n\n\n<p>Cliquez sur <strong>[Ajouter]<\/strong><\/p>\n\n\n\n<p>Activez ensuite le plugin.<\/p>\n\n\n\n<p>On peut \u00e9galement installer les clients Piwigo sur smartphones et tablettes Android et iOS.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center has-pale-ocean-gradient-background has-background has-medium-font-size\">4 &#8211; Installation d\u2019un serveur avec MediaWiki. Cr\u00e9ez votre propre Wiki&nbsp;!<\/h2>\n\n\n\n<p>On d\u00e9bute comme pr\u00e9c\u00e9demment par l\u2019installation d\u2019un site WEB avec nom de domaine et certificat.<\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/installation-dun-site-sur-le-serveur-web-apache-avec-nom-de-domaine-et-certificat\/\" data-type=\"page\" data-id=\"832\" target=\"_blank\" rel=\"noreferrer noopener\">Installation d\u2019un site sur le serveur WEB Apache avec nom de domaine et certificat<\/a><\/p>\n\n\n\n<p>Installation de MediaWiki apr\u00e8s configuration du nom de domaine et du certificat.<\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/07\/Installation_de_MediaWiki_apres_configuration_du_nom_de_domaine_et_du_certificat.pdf\" data-type=\"link\" data-id=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/07\/Installation_de_MediaWiki_apres_configuration_du_nom_de_domaine_et_du_certificat.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">Installation de MediaWiki sous Debian 12<\/a><\/p>\n\n\n\n<p>Pour terminer l&rsquo;installation de MediaWiki.<\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/07\/Finalisation_installation_de_MediaWiki.pdf\" data-type=\"link\" data-id=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/07\/Finalisation_installation_de_MediaWiki.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">Finalisation de l\u2019installation de MediaWiki<\/a><\/p>\n\n\n\n<p><strong>Voir l&rsquo;article :<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/2024\/07\/17\/changer-le-logo-dun-wiki\/\" data-type=\"post\" data-id=\"957\" target=\"_blank\" rel=\"noreferrer noopener\">Changer le logo d\u2019un wiki<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center has-pale-ocean-gradient-background has-background has-medium-font-size\">5 &#8211; Installation Nextcloud sur un serveur. H\u00e9bergez votre propre cloud !<\/h2>\n\n\n\n<p>Installation d\u2019un site WEB avec nom de domaine et certificat en pr\u00e9vision de l&rsquo;installation de Nextcloud.<\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/installation-dun-site-pour-nextcloud-avec-nom-de-domaine-et-certificat\/\" data-type=\"page\" data-id=\"964\" target=\"_blank\" rel=\"noreferrer noopener\">Installation d&rsquo;un site pour Nextcloud avec nom de domaine et certificat<\/a><\/p>\n\n\n\n<p>Installation de Nextcloud apr\u00e8s configuration du nom de domaine et du certificat.<\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/07\/Installation_de_Nextcloud_apres_configuration_du_nom_de_domaine_et_du_certificat.pdf\" data-type=\"link\" data-id=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/07\/Installation_de_Nextcloud_apres_configuration_du_nom_de_domaine_et_du_certificat.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">Installation de Nextcloud sous Debian 12<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center has-background has-medium-font-size\" style=\"background-color:#b0def9\">Pare-feu pfSense et Reverse Proxy Apache<\/h2>\n\n\n\n<div class=\"wp-block-group has-background is-layout-constrained wp-block-group-is-layout-constrained\" style=\"background-color:#daeefb\">\n<p>Pour aller plus loin, il peut \u00eatre int\u00e9ressant d\u2019installer un pare-feu puis un Reverse Proxy Apache pour desservir diff\u00e9rents sites WEB. Concernant le pare-feu sur le serveur sous Proxmox de l\u2019association M\u00e9moire Vive, on utilise IPFire. Ici, on va utiliser pfSense. Pour les tests, on pourra utiliser VirtualBox.<\/p>\n\n\n\n<p class=\"has-text-align-right\">Dominique Renaudeau<\/p>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center has-pale-ocean-gradient-background has-background has-medium-font-size\">1 &#8211; Installation d\u2019un pare-feu pfSense<\/h2>\n\n\n\n<p>Je vous propose maintenant de cr\u00e9er un environnement de tests du pare-feu pfSense avec VirtualBox et de placer un de nos serveurs cr\u00e9\u00e9s pr\u00e9c\u00e9demment derri\u00e8re ce pare-feu.<\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/le-pare-feu-pfsense\/\" data-type=\"page\" data-id=\"1076\" target=\"_blank\" rel=\"noreferrer noopener\">Le pare-feu pfSense<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-default\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center has-pale-ocean-gradient-background has-background has-medium-font-size\">2 &#8211; Reverse Proxy Apache<\/h2>\n\n\n\n<p>Pour la suite, on va pouvoir installer un Reverse Proxy derri\u00e8re notre pare-feu pour desservir plusieurs sites en HTTP avec le port 80 et en HTTPS avec le port 443 (Configuration NAT du pare-feu pour les ports 80 et 443 vers l\u2019IP du Reverse Proxy). <strong>Dans ce cas, les certificats seront install\u00e9s sur le Reverse Proxy<\/strong>. On peut poursuivre sous VirtualBox avec le Reverse Proxy sur le r\u00e9seau interne (192.168.2.0 \/ 24 dans mon cas)  &#8211; (2048 Mo \u2013 20 Go). Ce type de projet peut \u00e9galement \u00eatre men\u00e9 \u00e0 bien sous Proxmox. Les noms de domaine et l\u2019adressage IP sont \u00e0 adapter.<\/p>\n\n\n\n<p><br><strong>Sur le serveur WEB Apache point\u00e9 par le Reverse Proxy seul le VirtualHost 80 est configur\u00e9.<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/le-reverse-proxy-apache\/\" data-type=\"page\" data-id=\"1199\" target=\"_blank\" rel=\"noreferrer noopener\">Le Reverse Proxy Apache<\/a><\/p>\n\n\n\n<p>Vous pouvez maintenant multiplier les installations de serveurs derri\u00e8re votre Reverse Proxy Apache. C\u2019est possible sous VirtualBox dans la limite des ressources de votre machine h\u00f4te. Prochaine \u00e9tape, faire la m\u00eame chose sous Proxmox\u2026<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center has-pale-ocean-gradient-background has-background has-medium-font-size\">3 &#8211; Les installations de serveurs<\/h2>\n\n\n\n<p>Vous pouvez r\u00e9aliser vos installations de sites WEB sans installer les certificats, ces derniers sont install\u00e9s sur le Reverse Proxy. Vous finalisez par la suite les installations en HTTPS. Vous devez pour cela avoir cr\u00e9\u00e9 vos noms de domaine et configurer votre box pour acc\u00e9der au pare-feu depuis l\u2019ext\u00e9rieur. Si vous utilisez VirtualBox, ces machines sont sur le r\u00e9seau interne.<\/p>\n\n\n\n<p>Si vous reprenez les tutoriels vus pr\u00e9c\u00e9demment, dans \u00ab&nbsp;<strong><a href=\"https:\/\/artheodoc.fr\/index.php\/installation-dun-site-sur-le-serveur-web-apache-avec-nom-de-domaine-et-certificat\/\" data-type=\"page\" data-id=\"832\" target=\"_blank\" rel=\"noreferrer noopener\">Installation d\u2019un site sur le serveur WEB Apache avec nom de domaine et certificat<\/a><\/strong>&nbsp;\u00bb vous ne faites pas \u00ab&nbsp;<strong>Installation de Certbot et du certificat<\/strong>&nbsp;\u00bb.<\/p>\n\n\n\n<div class=\"wp-block-group has-background is-layout-constrained wp-block-group-is-layout-constrained\" style=\"background-color:#e0f0fa\">\n<p class=\"has-text-align-center has-pale-ocean-gradient-background has-background has-medium-font-size\"><strong>La marche \u00e0 suivre pour l\u2019installation sous VirtualBox<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"813\" height=\"494\" src=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/10\/pfSense-Reverse-Proxy-Apache.png\" alt=\"\" class=\"wp-image-1237\" srcset=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/10\/pfSense-Reverse-Proxy-Apache.png 813w, https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/10\/pfSense-Reverse-Proxy-Apache-300x182.png 300w, https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/10\/pfSense-Reverse-Proxy-Apache-768x467.png 768w\" sizes=\"auto, (max-width: 813px) 100vw, 813px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-center has-background has-medium-font-size\" style=\"background-color:#b0def9\"><strong>Dans ce cas, les certificats seront install\u00e9s sur le Reverse Proxy<\/strong>.<\/p>\n\n\n\n<p><strong>1 &#8211; La BOX<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>La box doit avoir des r\u00e8gles NAT de configur\u00e9es pour atteindre le pare-feu pfSence avec les ports 80 HTTP et 443 HTTPS. Dans mon cas le pare-feu a l\u2019IP <strong>192.168.1.253<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/06\/2-Configuration_de_la_livebox_5_Orange_regles_NAT.pdf\" data-type=\"attachment\" data-id=\"858\" target=\"_blank\" rel=\"noreferrer noopener\">Configuration de la Livebox 5 Orange r\u00e8gles NAT<\/a><\/p>\n\n\n\n<p><strong>2 &#8211; Le pare-feu pfSense<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Le pare-feu doit avoir des r\u00e8gles NAT pour que les ports 80 HTTP et 443 HTTPS pointent sur l\u2019IP que je vais donner au Reverse Proxy Apache (<strong>192.168.2.1<\/strong>). Le serveur DHCP doit \u00eatre configur\u00e9.<\/li>\n<\/ul>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/regles-du-pare-feu-pfsense\/\" data-type=\"page\" data-id=\"1242\" target=\"_blank\" rel=\"noreferrer noopener\">R\u00e8gles du pare-feu pfSense<\/a><\/p>\n\n\n\n<p><strong>3 &#8211; Le nom de domaine<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Je dois ensuite cr\u00e9er mon nom de domaine associ\u00e9 \u00e0 mon IP publique. On doit parfois attendre ensuite que cela soit op\u00e9rationnel (v\u00e9rifier avec un ping).<\/li>\n<\/ul>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/06\/1-Creer_un_nom_de_sous_domaine_avec_FreeDNS.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">Cr\u00e9er un nom de sous-domaine avec FreeDNS<\/a><\/p>\n\n\n\n<p><strong>4 &#8211; Installation de la machine virtuelle pour le Reverse Proxy Apache<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Debian 12 \u2013 2048 Mo -20,00 Gio \u2013 R\u00e9seau interne, \u00ab&nbsp;intnet&nbsp;\u00bb<\/li>\n\n\n\n<li>Le pare-feu pfSense est en fonction.<\/li>\n\n\n\n<li>Configuration IP (<strong>192.168.2.1<\/strong> \u2013 passerelle <strong>192.168.2.253<\/strong>)<\/li>\n<\/ul>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/exemple-de-parametrages-en-ip-fixe-sous-debian-11\/\" data-type=\"page\" data-id=\"41\" target=\"_blank\" rel=\"noreferrer noopener\">Exemple de param\u00e9trage en IP fixe sous Debian 11<\/a><\/p>\n\n\n\n<p><strong>5 &#8211; Configuration du Reverse Proxy avec le port 80 HTTP<\/strong><\/p>\n\n\n\n<p class=\"has-vivid-red-color has-text-color has-link-color wp-elements-a0c04518217b70c777d6ff0fa695bc3d\"><strong>Remplacez l\u2019adresse IP <em>192.168.2.79 <\/em>et le nom de domaine <em>exemple.memoirevive79.mooo.com<\/em> par vos param\u00e8tres.<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/installation-et-configuration-du-reverse-proxy-apache-pour-le-port80-http\/\" data-type=\"page\" data-id=\"78\" target=\"_blank\" rel=\"noreferrer noopener\">Installation et configuration du Reverse Proxy Apache pour le port 80 (HTTP)<\/a><\/p>\n\n\n\n<p><strong>6 &#8211; Installation de la machine virtuelle avec le site WEB<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Debian 12 \u2013 2048 Mo -20,00 Gio \u2013 R\u00e9seau interne, \u00ab&nbsp;intnet&nbsp;\u00bb<\/li>\n\n\n\n<li>Configuration IP (<strong>192.168.2.2<\/strong> \u2013 passerelle <strong>192.168.2.253<\/strong>)<\/li>\n\n\n\n<li>Configuration du site WEB avec le port 80 HTTP<\/li>\n<\/ul>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/06\/3-Configuration_du_serveur_WEB_Apache_avec_nom_de_domaine.pdf\" data-type=\"attachment\" data-id=\"860\" target=\"_blank\" rel=\"noreferrer noopener\">Configuration du serveur WEB Apache avec nom de domaine<\/a><\/p>\n\n\n\n<p><strong>7 &#8211; Configuration du Reverse Proxy avec le port 443 HTTPS<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Installation de Certbot &#8211; Certbot permet d&rsquo;automatiser la configuration de certificats SSL\/TLS pour des sites internet. Il utilise Let&rsquo;s Encrypt.<\/li>\n\n\n\n<li>Installation du certificat sur le Reverse Proxy<\/li>\n<\/ul>\n\n\n\n<p><br><a href=\"https:\/\/artheodoc.fr\/index.php\/installation-de-certbot\/\" target=\"_blank\" rel=\"noreferrer noopener\">Installation de Certbot<\/a><\/p>\n\n\n\n<p>Exemple de configuration du Reverse Proxy pour le HTTPS avec certificats (Let\u2019s Encrypt). <\/p>\n\n\n\n<p class=\"has-vivid-red-color has-text-color has-link-color wp-elements-e87419df6721555bb75d8cca78db8c3b\"><strong>Remplacez l\u2019adresse IP <em>192.168.2.79 <\/em>et le nom de domaine <em>exemple.memoirevive79.mooo.com<\/em> par vos param\u00e8tres.<\/strong> <br><strong>Normalement le fichier de configuration du VirtualHost 80 a d\u00e9j\u00e0 \u00e9t\u00e9 cr\u00e9\u00e9 lors de l\u2019\u00e9tape 5.<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/parametrage-du-reverse-proxy-avec-installation-des-certificats\/\" target=\"_blank\" rel=\"noreferrer noopener\">Param\u00e9trage du Reverse Proxy avec installation des certificats<\/a><\/p>\n\n\n\n<p>Pour plus d\u2019informations un exemple concret d\u2019installation d\u2019un certificat pour le nom de domaine <strong>domnextcloud.mooo.com.<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/exemple-dinstallation-dun-certificat-avec-certbot\/\" target=\"_blank\" rel=\"noreferrer noopener\">Exemple d\u2019installation d\u2019un certificat avec Certbot<\/a><\/p>\n\n\n\n<p><strong>8 \u2013 Finaliser l\u2019installation<\/strong><\/p>\n\n\n\n<p class=\"has-white-background-color has-background\">Vous pouvez ensuite installer WordPress, Piwigo, MediaWiki, Nextcloud, etc. Finalisez l\u2019installation en HTTPS.<\/p>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Proxmox<\/h2>\n\n\n\n<p>Maintenant, si vous ma\u00eetrisez l\u2019installation de serveurs et que vous avez le mat\u00e9riel, vous pouvez installer le v\u00f4tre. Proxmox est un hyperviseur de type 1 (syst\u00e8me d\u2019exploitation et de virtualisation) il est bas\u00e9 sur la distribution GNU\/Linux Debian, concr\u00e8tement cela permet d\u2019installer des serveurs virtualis\u00e9s, on peut donc sur la machine physique avoir de nombreux serveurs virtuels dans la limite des ressources mat\u00e9rielles.<\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/proxmox\/\" data-type=\"page\" data-id=\"120\" target=\"_blank\" rel=\"noreferrer noopener\">Proxmox<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Documentation r\u00e9alis\u00e9e dans le cadre de cours d&rsquo;informatique que je propose en distanciel. Le probl\u00e8me quand on veut travailler l\u2019installation de serveurs est que tout le monde ne dispose pas de machines d\u00e9di\u00e9es \u00e0 cela. Je vous propose donc d\u2019utiliser, du moins au d\u00e9but, la virtualisation avec VirtualBox. Cet hyperviseur peut \u00eatre install\u00e9 sous Windows [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-875","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/pages\/875","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/comments?post=875"}],"version-history":[{"count":81,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/pages\/875\/revisions"}],"predecessor-version":[{"id":2155,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/pages\/875\/revisions\/2155"}],"wp:attachment":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/media?parent=875"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}