{"id":2391,"date":"2024-10-09T14:35:03","date_gmt":"2024-10-09T13:35:03","guid":{"rendered":"https:\/\/ve2cuy.com\/420-3c3\/?page_id=2391"},"modified":"2024-12-19T00:07:29","modified_gmt":"2024-12-18T23:07:29","slug":"projet-01-a2024","status":"publish","type":"page","link":"https:\/\/ve2cuy.com\/420-3c3\/?page_id=2391","title":{"rendered":"Projet 01 &#8211; A2024"},"content":{"rendered":"\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-vivid-cyan-blue-color has-text-color\">\u00c9NONC\u00c9<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"536\" src=\"https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/PngItem_526575-1024x536.png\" alt=\"\" class=\"wp-image-2396\" style=\"aspect-ratio:1.8966565349544073;width:560px;height:auto\" srcset=\"https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/PngItem_526575-1024x536.png 1024w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/PngItem_526575-300x157.png 300w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/PngItem_526575-768x402.png 768w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/PngItem_526575.png 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">Pond\u00e9ration<\/mark><\/strong> : <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">30%<\/mark><br><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">Date de remise<\/mark><\/strong> : <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">Jeudi, 24 octobre<\/mark><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">, <strong>au plus tard 8h05<\/strong><\/mark>  <\/h2>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">NOTE:<\/mark><\/strong> Les projets remis apr\u00e8s 8h05 seront refus\u00e9s.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-vivid-cyan-blue-color has-text-color\">Mise en situation<\/h2>\n\n\n\n<p>Mettre en place une infrastructure <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">LAMP<\/mark><\/strong> qui permet la publication de trois (3) sites Web r\u00e9pondant \u00e0 un nom de domaine sp\u00e9cifique.  Certains d\u00e9tails de configuration du serveur Linux seront pr\u00e9cis\u00e9s.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-vivid-purple-color has-text-color\">1 \u2013 Sp\u00e9cification de la VM VirtualBox:<\/h2>\n\n\n\n<ul>\n<li>Nom de la VM:&nbsp;<strong>TP01_2024<\/strong><\/li>\n\n\n\n<li>Nom du serveur:&nbsp;<strong>serveur3c3<\/strong><\/li>\n\n\n\n<li>2 CPU<\/li>\n\n\n\n<li>4 Go Ram<\/li>\n\n\n\n<li>Disque de 16 Go \u2013&nbsp;<strong>Attention<\/strong>&nbsp;de ne pas renseigner une taille fixe. Cela utilisera de l\u2019espace inutile lors de la copie de la VM sur la cl\u00e9 USB.<\/li>\n\n\n\n<li>R\u00e9seau: Pont (bridge)<\/li>\n\n\n\n<li>Ubuntu server&nbsp;<strong>24.04.1 LTS (\u00e0 t\u00e9l\u00e9charger au besoin du site ubuntu)<\/strong>\n<ul>\n<li>Compte de l&rsquo;installation:&nbsp;<strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">sysadmin<\/mark><\/strong>, mot de passe <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">&lsquo;password<\/mark><\/strong>&lsquo;<\/li>\n\n\n\n<li>Installer open&nbsp;<strong>ssh<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Ajouter<\/strong> un compte <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">webadmin<\/mark><\/strong> (mot de passe: <strong>password<\/strong>)  et ajouter le au groupe <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">sudo<\/mark><\/strong><\/li>\n\n\n\n<li><strong>Installer<\/strong> une pile&nbsp;<strong>A.M.P.<\/strong>\n<ul>\n<li><strong>mysql<\/strong>&nbsp;-&gt; mot de passe du compte&nbsp;<strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">root<\/mark><\/strong>&nbsp;=&nbsp;&lsquo;<strong>password&rsquo;<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Apache2 <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">NE DOIT PAS D\u00c9MARRER<\/mark><\/strong> de fa\u00e7on automatique au d\u00e9marrage du serveur.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Le service <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">apache2 va publier trois (3) sites web;<\/mark><\/strong><\/p>\n\n\n\n<ul>\n<li>le site par <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">d\u00e9faut<\/mark><\/strong> (http:\/\/mon-projet.com &#8211; <a href=\"https:\/\/github.com\/ve2cuy\/420-3C3-TP01.2024\">fichiers de d\u00e9part<\/a>)<\/li>\n\n\n\n<li>le site <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-luminous-vivid-orange-color\">http:\/\/portfolio.com<\/mark><\/strong> (WordPress <a href=\"https:\/\/wordpress.org\/wordpress-6.6.2.tar.gz\">6.6.2<\/a>)<\/li>\n\n\n\n<li>le site <strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#156c4c\" class=\"has-inline-color\">http:\/\/babillard.com<\/mark><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-pale-pink-color\"> <\/mark><\/strong>(<a href=\"https:\/\/www.phpbb.com\">phpBB<\/a>)<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-vivid-cyan-blue-color has-text-color\">2 &#8211; Le site par d\u00e9faut<\/h2>\n\n\n\n<p>Voici le d\u00e9tail du site par <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">d\u00e9faut<\/mark><\/strong>.<\/p>\n\n\n\n<p>\u00c9tant donn\u00e9 une entr\u00e9e DNS (fichier hosts) &lsquo;<strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">mon-projet.com<\/mark><\/strong>&lsquo;  vers l&rsquo;adresse IP du serveur, saisir <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">mon-projet.com<\/mark><\/strong> ou bien l&rsquo;adresse IP du serveur dans un fureteur, devrait afficher la page suivante: <\/p>\n\n\n\n<h2 class=\"wp-block-heading has-vivid-cyan-blue-color has-text-color\">2.1 &#8211; Capture d&rsquo;\u00e9cran du site par d\u00e9faut<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"801\" src=\"https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-11.59.41-1024x801.png\" alt=\"\" class=\"wp-image-2414\" style=\"aspect-ratio:1.2848180677540777;width:704px;height:auto\" srcset=\"https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-11.59.41-1024x801.png 1024w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-11.59.41-300x235.png 300w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-11.59.41-768x601.png 768w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-11.59.41-1536x1202.png 1536w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-11.59.41.png 1840w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<p><span><mark style=\"background-color: rgba(0, 0, 0, 0);\" class=\"has-inline-color has-vivid-red-color\"><b>2.1.2 &#8211; IMPORTANT<\/b><\/mark><\/span>:  Il faut \u00e9diter le fichier html pour y inscrire votre nom au bas de la page.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-vivid-cyan-blue-color has-text-color\">2.1.3 &#8211; Dossier d&rsquo;installation<\/h3>\n\n\n\n<p>Les fichiers du site web par d\u00e9faut doivent-\u00eatre install\u00e9s dans le dossier <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">\/var\/www\/html\/public_html<\/mark><\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading has-vivid-cyan-blue-color has-text-color\">2.1.4 &#8211; Les fichiers requis pour d\u00e9ployer ce site sont &#8211;&gt; <a href=\"https:\/\/github.com\/ve2cuy\/420-3C3-TP01.2024\">ici<\/a><\/h3>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-vivid-cyan-blue-color has-text-color\">2.2 &#8211; Erreur 404 (page non trouv\u00e9e)<\/h2>\n\n\n\n<p>Si l&rsquo;URL du site web par d\u00e9faut contient le nom d&rsquo;un document invalide, par exemple, <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">http:\/\/mon-projet.com\/document-invalide.html<\/mark>, la page suivante sera affich\u00e9e:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"772\" src=\"https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-12.13.02-1024x772.png\" alt=\"\" class=\"wp-image-2416\" style=\"aspect-ratio:1.3264248704663213;object-fit:cover;width:700px\" srcset=\"https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-12.13.02-1024x772.png 1024w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-12.13.02-300x226.png 300w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-12.13.02-768x579.png 768w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-12.13.02-1536x1158.png 1536w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-12.13.02.png 1982w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<p class=\"has-vivid-red-color has-text-color\"><strong>Astuce<\/strong> \ud83d\ude09<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">AllowOverride All<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-vivid-cyan-blue-color has-text-color\">2.3 &#8211; Erreur 403, acc\u00e8s non autoris\u00e9<\/h2>\n\n\n\n<p>Le site par d\u00e9faut doit <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">autoriser les acc\u00e8s qu&rsquo;\u00e0 partir<\/mark> des plages d&rsquo;adresses IP suivantes:<\/p>\n\n\n\n<ul>\n<li>192.168.2<\/li>\n\n\n\n<li>10.10.0<\/li>\n\n\n\n<li>Votre adresse IP (celle de votre poste de travail et non pas l&rsquo;adresse du serveur).<\/li>\n<\/ul>\n\n\n\n<p>Un requ\u00eate \u00e0 partir d&rsquo;une adresse autre que celles autoris\u00e9es affichera la page suivante:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"717\" src=\"https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-12.38.45-1024x717.png\" alt=\"\" class=\"wp-image-2420\" style=\"aspect-ratio:1.4281729428172942;object-fit:cover;width:700px\" srcset=\"https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-12.38.45-1024x717.png 1024w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-12.38.45-300x210.png 300w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-12.38.45-768x538.png 768w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-12.38.45-1536x1075.png 1536w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-12.38.45.png 1966w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-vivid-cyan-blue-color has-text-color\">2.4 &#8211; Redirection vers information.html<\/h2>\n\n\n\n<p>Pour toutes requ\u00eates qui d\u00e9butent par <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">http:\/\/mon-projet\/inf<\/mark>, il faut programmer, dans le fichier <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">.htaccess<\/mark>, une redirection vers le document &lsquo;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">information.html<\/mark>&lsquo;.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"791\" src=\"https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-15.05.32-1024x791.png\" alt=\"\" class=\"wp-image-2444\" style=\"width:700px\" srcset=\"https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-15.05.32-1024x791.png 1024w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-15.05.32-300x232.png 300w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-15.05.32-768x593.png 768w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-15.05.32-1536x1187.png 1536w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-15.05.32.png 1786w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\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\"><strong>Astuces<\/strong> \ud83d\ude09<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$ a2enmod rewrite\n---\nRewriteEngine On\nRewriteRule ... information.html [L]\n<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-luminous-vivid-orange-color has-text-color\">3 \u2013 Mise en place de&nbsp;portfolio.com<\/h2>\n\n\n\n<p>En utilisant WordPress, d\u00e9ployer un site pour votre portfolio<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Version de WordPress<\/td><td>latest<\/td><\/tr><tr><td>Dossier d\u2019installation<\/td><td>\/tp01\/portfolio<br><br><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">ATTENTION<\/mark><\/strong> &#8211; Ne pas installer dans le dossier <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">\/var\/www<\/mark><br>mais bien \u00e0 la racine dans \/tp01\/portfolio<\/td><\/tr><tr><td>Fichier de l\u2019h\u00f4te virtuel<\/td><td>portfolio.420.conf<\/td><\/tr><tr><td><strong>Base de donn\u00e9es:<\/strong><br>Utilisateur,&nbsp;<br>Mot de passe<br>Nom de la base de donn\u00e9es<\/td><td><br>portfolio<br>password<br>portfolio<\/td><\/tr><tr><td>Compte de gestion du site WP<\/td><td><strong>admin<\/strong>&nbsp;:&nbsp;<strong>password<\/strong><\/td><\/tr><tr><td>Th\u00e8me WordPress (\u00e0 installer)<\/td><td>Un th\u00e8me de votre choix, autre que le th\u00e8me par d\u00e9faut<\/td><\/tr><tr><td>Nom de domaine<\/td><td>portfolio.com<\/td><\/tr><tr><td>URL pour l\u2019installation<\/td><td><strong>http:\/\/portfolio.com<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Saisir <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">http:\/\/portfolio.com <\/mark><\/strong>dans un fureteur devrait afficher ceci:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"546\" src=\"http:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-13.47.24-1024x546.png\" alt=\"\" class=\"wp-image-2427\" style=\"width:700px\" srcset=\"https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-13.47.24-1024x546.png 1024w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-13.47.24-300x160.png 300w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-13.47.24-768x410.png 768w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-13.47.24-1536x819.png 1536w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-13.47.24.png 1916w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<p>Le th\u00e8me s\u00e9lectionn\u00e9 aura peut-\u00eatre besoin de fichiers m\u00e9dias suppl\u00e9mentaires, il faut les installer.  <\/p>\n\n\n\n<p>Pour le th\u00e8me que j&rsquo;ai s\u00e9lectionn\u00e9 dans cet exemple, j&rsquo;ai d\u00fb installer l&rsquo;extension &lsquo;Mesmerize&rsquo; pour que les images s&rsquo;affichent.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img decoding=\"async\" loading=\"lazy\" width=\"602\" height=\"680\" src=\"https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-13.37.01.png\" alt=\"\" class=\"wp-image-2434\" style=\"aspect-ratio:0.8852941176470588;width:261px;height:auto\" srcset=\"https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-13.37.01.png 602w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-13.37.01-266x300.png 266w\" sizes=\"(max-width: 602px) 100vw, 602px\" \/><\/figure><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-text-color\" style=\"color:#156c4c\">4 \u2013 Mise en place du babillard<\/h2>\n\n\n\n<p>En utilisant l&rsquo;application <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">phpBB<\/mark><\/strong>, qui est de type A.M.P, d\u00e9ployer un site pour <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">babillard.420<\/mark><\/strong><\/p>\n\n\n\n<p>Les codes sources de <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">phpBB<\/mark><\/strong> sont disponibles &#8211;&gt; <a href=\"https:\/\/www.phpbb.com\/downloads\/\">ici<\/a>.<\/p>\n\n\n\n<p>Astuces:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo apt install unzip\n\ngit clone ...\nunzip ...\nmv .. \/phpbb\n\nhttp:\/\/mon-projet.com\/phpmyadmin ...\n\nhttp:\/\/babillard\n...\n\n# Apr\u00e8s l'installation\nrm -R \/phpbb\/install<\/pre>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Version de phpBB<\/td><td>3.3.13<\/td><\/tr><tr><td>Dossier d\u2019installation<\/td><td>\/phpbb<br><br><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">ATTENTION<\/mark><\/strong> &#8211; Ne pas installer dans le dossier <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">\/var\/www<\/mark><br>mais bien \u00e0 la racine dans <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">\/phpbb<\/mark>.<\/td><\/tr><tr><td>Fichier de l\u2019h\u00f4te virtuel<\/td><td>babillard.420.conf<\/td><\/tr><tr><td><strong>Base de donn\u00e9es:<\/strong><br>Utilisateur,&nbsp;<br>Mot de passe<br>Nom de la base de donn\u00e9es<\/td><td><br>phpbb<br>password<br>phpbb<\/td><\/tr><tr><td>Compte de gestion du site babillard.420<\/td><td><strong>admin<\/strong>&nbsp;:&nbsp;<strong>password<\/strong><\/td><\/tr><tr><td>Nom de domaine<\/td><td>babillard.com<\/td><\/tr><tr><td>URL pour l\u2019installation<\/td><td><strong>http:\/\/<\/strong>babillard.com<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>4.1 &#8211; Saisir <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">http:\/\/babillard.com<\/mark><\/strong> dans un fureteur devrait afficher ceci:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"851\" src=\"https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-14.36.36-1024x851.png\" alt=\"\" class=\"wp-image-2438\" style=\"width:700px\" srcset=\"https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-14.36.36-1024x851.png 1024w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-14.36.36-300x249.png 300w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-14.36.36-768x638.png 768w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-14.36.36-1536x1277.png 1536w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-14.36.36.png 1600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">NOTE<\/mark><\/strong>: Les \u00e9l\u00e9ments d&rsquo;interface sont en anglais.<\/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-color\" style=\"color:#156c4c\">4.2 &#8211; Francisation du site<\/h2>\n\n\n\n<p>Il faut installer le module d&rsquo;interface, phpBB, de langage fran\u00e7aise.<\/p>\n\n\n\n<p>Le module est disponible <a href=\"https:\/\/github.com\/qiaeru\/phpbb-language-fr\">ici<\/a><\/p>\n\n\n\n<p class=\"has-vivid-red-color has-text-color\"><strong>Astuces \ud83d\ude09<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">git clone https:\/\/github.com\/qiaeru\/phpbb-language-fr\n\n...\n\nsudo mv fr\/ \/var\/www\/html\/phpBB3\/language\n<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"459\" src=\"https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-13.28.44-1024x459.png\" alt=\"\" class=\"wp-image-2441\" srcset=\"https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-13.28.44-1024x459.png 1024w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-13.28.44-300x134.png 300w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-13.28.44-768x344.png 768w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-13.28.44-1536x688.png 1536w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-13.28.44.png 1746w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>4.2.1 &#8211; Avec une installation et une configuration correctes, le babillard devrait s&rsquo;afficher ainsi: <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"744\" src=\"https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-13.30.38-1024x744.png\" alt=\"\" class=\"wp-image-2424\" style=\"width:707px;height:488px\" srcset=\"https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-13.30.38-1024x744.png 1024w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-13.30.38-300x218.png 300w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-13.30.38-768x558.png 768w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-13.30.38-1536x1116.png 1536w, https:\/\/ve2cuy.com\/420-3c3\/wp-content\/uploads\/2024\/10\/Capture-decran-le-2024-10-09-a-13.30.38.png 1864w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">NOTE<\/mark><\/strong>:  Vous devrez probablement faire quelques recherches pour r\u00e9aliser cette \u00e9tape.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-vivid-red-color has-text-color\">5 &#8211; Remise<\/h2>\n\n\n\n<p>Il faut remettre, AU PLUS TARD, le <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">jeudi 24 octobre 2024 &#8211; <strong>8h05<\/strong><\/mark>, sur un cl\u00e9 de m\u00e9moire &#8211; de type USB 3, <\/p>\n\n\n\n<ul>\n<li>Le dossier de la VM<\/li>\n\n\n\n<li>Les fichiers:\n<ul>\n<li> hosts, <\/li>\n\n\n\n<li>.htaccess (du site par d\u00e9faut), <\/li>\n\n\n\n<li>apache2.conf (les sections que vous avez ajout\u00e9es),<\/li>\n\n\n\n<li>portfolio.420.conf,<\/li>\n\n\n\n<li>babillard.420.conf,<\/li>\n\n\n\n<li>000-default.conf <\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading has-pale-pink-color has-text-color\">6 &#8211; Grille de correction (\u00e0 compl\u00e9ter)<\/h2>\n\n\n\n<figure class=\"wp-block-table aligncenter is-style-stripes\"><table><thead><tr><th>Crit\u00e8re<\/th><th>Pond\u00e9ration<\/th><th>Auto correction<\/th><\/tr><\/thead><tbody><tr><td>Respect des spec de la VM<\/td><td>0<\/td><td><\/td><\/tr><tr><td>Version d&rsquo;Ubuntu<\/td><td>0<\/td><td><\/td><\/tr><tr><td>Compte <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">sysadmin<\/mark><\/strong><\/td><td>0<\/td><td><\/td><\/tr><tr><td>Compte <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">webadmin<\/mark><\/strong> + groupe sudo<\/td><td>0<\/td><td><\/td><\/tr><tr><td>Installation de open ssh server<\/td><td>0<\/td><td><\/td><\/tr><tr><td>Mise en place de la pile A.M.P.<\/td><td>0<\/td><td><\/td><\/tr><tr><td>&lsquo;apache2&rsquo; en mode &lsquo;disable&rsquo;<\/td><td>0<\/td><td><\/td><\/tr><tr><td>Mise en place du site web par d\u00e9faut<br> &#8211; page d&rsquo;accueil <br> &#8211; erreur 404<br> &#8211; erreur 403 (adresses IP)<br> &#8211; Redirection vers information.html<\/td><td><br><br>0<br>0<br>0<br>0<br><\/td><td><\/td><\/tr><tr><td>Fonctionnalit\u00e9 du site portfolio <br> &#8211; Dossier d&rsquo;installation<br> &#8211; Fonctionnalit\u00e9<\/td><td><br>0<br>0<\/td><td><\/td><\/tr><tr><td>Fonctionnalit\u00e9 du site babillard <br> &#8211; Dossier d&rsquo;installation<br> &#8211; Francisation<br> &#8211; Fonctionnalit\u00e9<\/td><td><br><br>0<br>0<br>0<br><\/td><td><\/td><\/tr><tr><td>Fichiers de remise<\/td><td>0<\/td><td><\/td><\/tr><tr><td>Cl\u00e9 USB de type 3 et fonctionnelle<\/td><td>30<\/td><td><\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Total sur 30<\/figcaption><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>D\u00e9mo \u00e0 192.168.138.226 mon-projet.com portfolio.com babillard.com<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u00c9NONC\u00c9 Pond\u00e9ration : 30%Date de remise : Jeudi, 24 octobre, au plus tard 8h05 NOTE: Les projets remis apr\u00e8s 8h05 seront refus\u00e9s. Mise en situation Mettre en place une infrastructure LAMP qui permet la publication de trois (3) sites Web r\u00e9pondant \u00e0 un nom de domaine sp\u00e9cifique. Certains d\u00e9tails de configuration du serveur Linux seront [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"_links":{"self":[{"href":"https:\/\/ve2cuy.com\/420-3c3\/index.php?rest_route=\/wp\/v2\/pages\/2391"}],"collection":[{"href":"https:\/\/ve2cuy.com\/420-3c3\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ve2cuy.com\/420-3c3\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ve2cuy.com\/420-3c3\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ve2cuy.com\/420-3c3\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2391"}],"version-history":[{"count":43,"href":"https:\/\/ve2cuy.com\/420-3c3\/index.php?rest_route=\/wp\/v2\/pages\/2391\/revisions"}],"predecessor-version":[{"id":2769,"href":"https:\/\/ve2cuy.com\/420-3c3\/index.php?rest_route=\/wp\/v2\/pages\/2391\/revisions\/2769"}],"wp:attachment":[{"href":"https:\/\/ve2cuy.com\/420-3c3\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}