{"id":871,"date":"2022-02-23T16:57:03","date_gmt":"2022-02-23T16:57:03","guid":{"rendered":"http:\/\/prof-tim.cstj.qc.ca\/cours\/assemblage\/wp\/?page_id=871"},"modified":"2024-03-18T15:38:29","modified_gmt":"2024-03-18T15:38:29","slug":"ajout-dune-pile-amp-au-serveur-linux","status":"publish","type":"page","link":"https:\/\/ve2cuy.com\/420-21e\/index.php\/installation-ubuntu-desktop-2\/ajout-dune-pile-amp-au-serveur-linux\/","title":{"rendered":"Ajout d\u2019une pile AMP au serveur Linux"},"content":{"rendered":"<h1>Contenu<\/h1>\n<p><a href=\"http:\/\/prof-tim.cstj.qc.ca\/cours\/assemblage\/wp\/page-d-exemple\/mamp\/\" rel=\"attachment wp-att-182\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-182\" src=\"http:\/\/ve2cuy.com\/420-21e\/wp-content\/uploads\/2017\/11\/mamp.png\" alt=\"\" width=\"342\" height=\"342\" srcset=\"https:\/\/ve2cuy.com\/420-21e\/wp-content\/uploads\/2017\/11\/mamp.png 256w, https:\/\/ve2cuy.com\/420-21e\/wp-content\/uploads\/2017\/11\/mamp-150x150.png 150w\" sizes=\"auto, (max-width: 342px) 100vw, 342px\" \/><\/a><\/p>\n<ul>\n<li>Connexion au serveur (ssh)<\/li>\n<li>sudo apt-get update<\/li>\n<li>sudo apt-get upgrade<\/li>\n<li>sudo apt-get install apache2<\/li>\n<li>sudo apache2ctl configtest<\/li>\n<li>sudo nano \/etc\/apache2\/apache2.conf<\/li>\n<li>sudo systemctl restart apache2<\/li>\n<li>http:\/\/localhost<\/li>\n<li>sudo apt-get install mysql-server<\/li>\n<li>mysql_secure_installation<\/li>\n<li>sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql<\/li>\n<li>sudo nano \/var\/www\/html\/info.php<\/li>\n<\/ul>\n<h1><\/h1>\n<h1><\/h1>\n<hr \/>\n<h1>Objectif g\u00e9n\u00e9ral<\/h1>\n<p>\u00c0 la suite de cet atelier le participant sera en mesure, sur <span style=\"color: #ff0000;\"><strong>L<\/strong><\/span>inux, d&rsquo;installer, d\u2019utiliser et d&rsquo;effectuer des tests de fonctionnalit\u00e9s des services <span style=\"color: #ff0000;\"><strong>A<\/strong><\/span>(pache), <span style=\"color: #ff0000;\"><strong>M<\/strong><\/span>(MySQL) et <span style=\"color: #ff0000;\"><strong>P<\/strong><\/span>(PHP).<\/p>\n<h1>Pr\u00e9requis<\/h1>\n<ul>\n<li>Avoir compl\u00e9t\u00e9 l\u2019atelier \u2018<a href=\"http:\/\/prof-tim.cstj.qc.ca\/cours\/assemblage\/wp\/installation-ubuntu-desktop-2\/\">Installation d\u2019Ubuntu-Desktop<\/a>\u2018<\/li>\n<\/ul>\n<hr \/>\n<h1>Voici les \u00e9tapes d&rsquo;une installations LAMP<\/h1>\n<p><strong>Mise en contexte<\/strong><br \/>\nUne fois le serveur Linux install\u00e9, les op\u00e9rations de mise \u00e0 jour, d&rsquo;installation de services et de configuration sont habituellement effectu\u00e9es \u00e0 distance, c-a-d, pas directement sur l&rsquo;ordinateur physique sur lequel roule le syst\u00e8me mais plut\u00f4t \u00e0 partir d&rsquo;une session (ssh) qui peut \u00eatre \u00e0 des kilom\u00e8tres du serveur.<br \/>\nLe serveur Ubuntu que nous avons install\u00e9 \u00e0 l&rsquo;<a href=\"http:\/\/prof-tim.cstj.qc.ca\/cours\/assemblage\/wp\/installation-ubuntu-desktop-2\/\">atelier pr\u00e9c\u00e9dent<\/a>\u00a0ne permet pas, pour l&rsquo;instant, de connexion \u00e0 partir d&rsquo;une autre station r\u00e9seau.<br \/>\nSi c&rsquo;\u00e9tait le cas, il serait alors possible de s&rsquo;y connecter de la fa\u00e7on suivante:<br \/>\n<span style=\"color: #ff0000;\"><strong>Action 1a<\/strong><\/span> &#8211; \u00c0 partir d&rsquo;un terminal de votre poste de travail , connexion <strong>ssh<\/strong> au serveur Linux<\/p>\n<pre class=\"toolbar:2 lang:default decode:true\">$ ssh utilisateur@SERVER_IP<\/pre>\n<hr \/>\n<h2>D\u00e9but de l&rsquo;installation<\/h2>\n<p><span style=\"color: #ff0000;\"><strong>Action 2<\/strong><\/span> &#8211; Avant de commencer, il est pr\u00e9f\u00e9rable de v\u00e9rifier la pr\u00e9sence de mises \u00e0 jour g\u00e9n\u00e9rales du syst\u00e8me:<\/p>\n<pre class=\"toolbar:2 lang:default decode:true\">$ sudo apt-get update<\/pre>\n<p>Si c&rsquo;est le cas, les installer:<br \/>\n<span style=\"color: #ff0000;\"><strong>Action 3<\/strong><\/span> &#8211; Installer les mises \u00e0 jour:<\/p>\n<pre class=\"toolbar:2 lang:default decode:true\">$ sudo apt-get upgrade -y<\/pre>\n<h3><\/h3>\n<hr \/>\n<h2><span style=\"color: #008000;\">A &#8211; Installation \u00a0du serveur Web<\/span><\/h2>\n<p><span style=\"color: #ff0000;\"><strong>Action 4<\/strong><\/span> &#8211; Installer le serveur Apache, \u00e0 partir des d\u00e9p\u00f4ts Ubuntu:<\/p>\n<pre class=\"toolbar:2 lang:default decode:true\">$ sudo apt-get install apache2 -y<\/pre>\n<p><span style=\"color: #ff0000;\"><strong>Action 9<\/strong> <\/span><span style=\"font-size: revert;\">&#8211; Ouvrir un fureteur, \u00e0 partir de votre poste de travail, et tester le serveur web en utilisant l&rsquo;adresse IP du serveur Linux:<\/span><\/p>\n<p><span style=\"color: #ff0000;\"><strong>Note<\/strong><\/span>: Il faut utiliser la commande &lsquo;<em><strong>ip a<\/strong><\/em>&lsquo;, \u00e0 partir de la console Linux, pour obtenir l&rsquo;adresse IP du serveur. \u00a0Il faudra utiliser l&rsquo;adresse obtenue, \u00e0 m\u00eame l&rsquo;URL : <strong>http:\/\/192.168.c.d<\/strong>\u00a0du fureteur.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-50253 td-animation-stack-type0-2\" src=\"https:\/\/www.unixmen.com\/wp-content\/uploads\/2017\/05\/Schermata-da-2017-05-11-09-35-12.png\" sizes=\"auto, (max-width: 851px) 100vw, 851px\" srcset=\"https:\/\/www.unixmen.com\/wp-content\/uploads\/2017\/05\/Schermata-da-2017-05-11-09-35-12.png 851w, https:\/\/www.unixmen.com\/wp-content\/uploads\/2017\/05\/Schermata-da-2017-05-11-09-35-12-768x534.png 768w, https:\/\/www.unixmen.com\/wp-content\/uploads\/2017\/05\/Schermata-da-2017-05-11-09-35-12-100x70.png 100w, https:\/\/www.unixmen.com\/wp-content\/uploads\/2017\/05\/Schermata-da-2017-05-11-09-35-12-696x484.png 696w, https:\/\/www.unixmen.com\/wp-content\/uploads\/2017\/05\/Schermata-da-2017-05-11-09-35-12-604x420.png 604w\" alt=\"Schermata da 2017-05-11 09-35-12\" width=\"851\" height=\"592\" \/><\/p>\n<h3>Dossier racine du serveur Apache<\/h3>\n<p>La localisation dossier racine du serveur Apache d\u00e9pend de la distribution Linux ou de l&rsquo;application xAMP utilis\u00e9e.<br \/>\nSur Ubuntu, ce dossier est:<\/p>\n<blockquote><p>\/var\/www\/html<\/p><\/blockquote>\n<p>Par d\u00e9faut, les fichiers et dossiers copi\u00e9s \u00e0 cet endroit seront disponibles \u00e0 partir d&rsquo;un fureteur web.<\/p>\n<hr \/>\n<h3><span style=\"color: #ff0000;\">Laboratoire<\/span><\/h3>\n<ol>\n<li>Cr\u00e9er, dans le bon dossier, une nouvelle page web &#8211; <strong>hello.html<\/strong> &#8211; qui affiche \u00ab\u00a0Bonjour \u00e0 vous\u00a0\u00bb en &lt;h1\/&gt; et tester dans le fureteur.<\/li>\n<li>Retirer \u00e0 &lsquo;<strong>other<\/strong>&lsquo; le droit de lecture au fichier <strong>hello.html<\/strong> et tester dans le fureteur<\/li>\n<li>Changer le groupe du fichier <strong>hello.html<\/strong> pour <strong>www-data<\/strong> et tester dans le fureteur.<\/li>\n<\/ol>\n<hr \/>\n<h3>Renseigner un DNS local pour le serveur Web<\/h3>\n<p><span style=\"color: #ff0000;\"><strong>Action 9.1<\/strong><\/span>\u00a0&#8211; \u00c9diter le fichier &lsquo;hosts&rsquo; du poste de travail:<\/p>\n<p><span style=\"color: #ff0000;\"><strong>ATTENTION<\/strong><\/span> &#8211; &gt;&gt;&gt; Sous <span style=\"color: #ff0000;\"><strong>Windows<\/strong><\/span> il faut \u00e9diter le fichier en tant qu&rsquo;<span style=\"color: #ff0000;\"><strong>administrateur<\/strong><\/span>.<\/p>\n<ul>\n<li>Sous Windows: \/windows\/system32\/drivers\/etc\/hosts<\/li>\n<li>Sous Linux et MacOS: \/etc\/hosts<\/li>\n<\/ul>\n<pre class=\"lang:default decode:true\" data-url=\" \">192.168.c.d  nom01 nom02 ...\n\n# Par exemple,\n192.168.1.77  serveur01 srv01 serveur01.local\n10.10.10.1    serveur02 srv02\n<\/pre>\n<p><strong><span style=\"color: #ff0000;\">Action 9.2<\/span><\/strong> &#8211; Enregistrer le fichier &lsquo;hosts&rsquo; et tester le DNS<\/p>\n<p>Fichier hosts:<\/p>\n<pre class=\"lang:default decode:true\">127.0.0.1     localhost\nserveur01     192.168.0.2<\/pre>\n<p>Tester le DNS:<\/p>\n<pre class=\"EnlighterJSRAW crayon-selected\" data-enlighter-language=\"generic\">ping serveur01\n\n# Dans un fureteur:\nhttp:\/\/srv01\/<\/pre>\n<hr \/>\n<h2><span style=\"color: #666699;\">B &#8211; Installer MySQL<\/span><\/h2>\n<p>\u00c0 cette \u00e9tape, nous avons un serveur web en fonction.<br \/>\nNous allons maintenant installer le gestionnaire de base de donn\u00e9es \u00a0&#8211; SGBD &#8211; <a href=\"https:\/\/dev.mysql.com\/downloads\/\">MySQL<\/a>.<br \/>\nMySQL est disponible dans le d\u00e9pot Ubuntu , nous allons dons utiliser la commande<code>apt<\/code><br \/>\n<strong><span style=\"color: #ff0000;\">Action 10<\/span><\/strong> &#8211; Installer Mysql<\/p>\n<pre class=\"toolbar:2 lang:default decode:true\">$ sudo apt-get install mysql-server -y\n\n<\/pre>\n<p><strong><span style=\"color: #ff0000;\">Action 10.1 &#8211; Changer le mot de passe du compte &lsquo;root&rsquo; sur mySQL:<\/span><\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">$ sudo mysql \nALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'; \nFLUSH PRIVILEGES; \nexit<\/pre>\n<p>Nous avons maintenant un serveur MySQL fonctionnel!<\/p>\n<p>R\u00e9f\u00e9rences:\u00a0<a href=\"https:\/\/dev.mysql.com\/doc\/refman\/5.7\/en\/sql-syntax.html\">Syntaxe SQL<\/a><\/p>\n<hr \/>\n<h2><span style=\"color: #ff9900;\">C &#8211; Installer PHP<\/span><\/h2>\n<p>La prochaine partie de l&rsquo;installation de notre pile LAMP est php:<br \/>\n<strong>Mise en contexte<\/strong><br \/>\nDans la mesure o\u00f9 l&rsquo;on nous demande de mettre en place un site Web utilisant WordPress il faudra alors s&rsquo;assurer que le module du language PHP est install\u00e9 sur le serveur web. \u00a0Wordpress est essentiellement programm\u00e9 en PHP.<br \/>\n<span style=\"color: #ff0000;\"><strong>Action 12<\/strong> <\/span>&#8211; Installer php:<\/p>\n<pre class=\"toolbar:2 lang:default decode:true\">$ sudo apt-get install php -y<\/pre>\n<p class=\"toolbar:2 lang:default decode:true\"><span style=\"font-size: revert; color: #000000; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;\">PHP propose une multitude de modules permettant d&rsquo;enrichir ses fonctionnalit\u00e9s .<\/span><br \/>\nVoici comment en obtenir la liste:<\/p>\n<pre class=\"toolbar:2 lang:default decode:true\">$ apt-cache search php- | less<\/pre>\n<pre class=\"toolbar:2 lang:default decode:true\">libnet-libidn-perl - Perl bindings for GNU Libidn\nphp-all-dev - package depending on all supported PHP development packages\nphp-cgi - server-side, HTML-embedded scripting language (CGI binary) (default)\nphp-cli - command-line interpreter for the PHP scripting language (default)\nphp-common - Common files for PHP packages\nphp-curl - CURL module for PHP [default]\nphp-dev - Files for PHP module development (default)\nphp-gd - GD module for PHP [default]\nphp-gmp - GMP module for PHP [default]\nphp-ldap - LDAP module for PHP [default]\nphp-mysql - MySQL module for PHP [default]\nphp-odbc - ODBC module for PHP [default]\nphp-pear - PEAR Base System\nphp-pgsql - PostgreSQL module for PHP [default]\nphp-pspell - pspell module for PHP [default]\nphp-recode - recode module for PHP [default]\nphp-snmp - SNMP module for PHP [default]\nphp-sqlite3 - SQLite3 module for PHP [default]\nphp-tidy - tidy module for PHP [default]\nphp-xmlrpc - XMLRPC-EPI module for PHP [default]\nphp7.0-cgi - server-side, HTML-embedded scripting language (CGI binary)\nphp7.0-cli - command-line interpreter for the PHP scripting language\nphp7.0-common - documentation, examples and common module for PHP\n...<\/pre>\n<p><span style=\"color: #ff0000;\"><strong>Note<\/strong><\/span>: \u00a0Pour quitter la liste il faut appuyer sur &lsquo;q&rsquo;<\/p>\n<hr \/>\n<h4><span style=\"color: #ff0000;\">Au besoin<\/span>, tester PHP<\/h4>\n<p>Nous allons maintenant v\u00e9rifier si le module PHP fonctionne correctement<br \/>\n<span style=\"color: #ff0000;\"><strong>Action 13<\/strong><\/span> &#8211; Cr\u00e9er le fichier <code>info.php<\/code>\u00a0dans le dossier racine d&rsquo;Apache web root &#8211; pour Ubuntu il est dans\u00a0<code>\/var\/www\/html<\/code>:<\/p>\n<pre class=\"toolbar:2 lang:default decode:true\">$ sudo nano \/var\/www\/html\/info.php<\/pre>\n<p><span style=\"color: #ff0000;\"><strong>Action 14<\/strong><\/span> &#8211; Ajouter le code suivant dans le fichier:<\/p>\n<pre class=\"toolbar:2 lang:default decode:true\">&lt;?php\n   phpinfo();\n?&gt;<\/pre>\n<p><span style=\"color: #ff0000;\"><strong>Action 15<\/strong><\/span> &#8211; Enregistrer le fichier et fermer\u00a0l&rsquo;\u00e9diteur.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>Action 16<\/strong><\/span> &#8211; Tester le script dans un fureteur:<\/p>\n<pre class=\"lang:default decode:true \">http:\/\/adresse_IP_du_serveur\/info.php<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-50255 td-animation-stack-type0-2\" src=\"https:\/\/www.unixmen.com\/wp-content\/uploads\/2017\/05\/Schermata-da-2017-05-11-10-02-46.png\" sizes=\"auto, (max-width: 1085px) 100vw, 1085px\" srcset=\"https:\/\/www.unixmen.com\/wp-content\/uploads\/2017\/05\/Schermata-da-2017-05-11-10-02-46.png 1085w, https:\/\/www.unixmen.com\/wp-content\/uploads\/2017\/05\/Schermata-da-2017-05-11-10-02-46-768x422.png 768w, https:\/\/www.unixmen.com\/wp-content\/uploads\/2017\/05\/Schermata-da-2017-05-11-10-02-46-696x382.png 696w, https:\/\/www.unixmen.com\/wp-content\/uploads\/2017\/05\/Schermata-da-2017-05-11-10-02-46-1068x587.png 1068w, https:\/\/www.unixmen.com\/wp-content\/uploads\/2017\/05\/Schermata-da-2017-05-11-10-02-46-765x420.png 765w\" alt=\"Schermata da 2017-05-11 10-02-46\" width=\"1085\" height=\"596\" \/><\/p>\n<h3><\/h3>\n<hr \/>\n<h3>Voila, nous avons install\u00e9 une pile Apache, Php, MySQL sur notre serveur Linux.<\/h3>\n<h3><span style=\"color: #008080;\">Nous allons en tirer profit en installant l&rsquo;application &lsquo;phpmyadmin&rsquo;<\/span><\/h3>\n<p><span style=\"color: #ff0000;\"><strong>Action 17<\/strong><\/span> &#8211; Installer &lsquo;<em><strong>phpmyadmin<\/strong><\/em>&lsquo;<br \/>\nPHPMyAdmin est disponible dans le d\u00e9p\u00f4t Ubuntu. Pour l&rsquo;installer il suffit de tapper:<\/p>\n<pre class=\"lang:default decode:true \">sudo apt install phpmyadmin -y<\/pre>\n<p><strong><span style=\"color: #ff0000;\">Action 18<\/span><\/strong> &#8211; Suivre les directives du programme d&rsquo;installation. Au mot de passe, fournir &lsquo;password&rsquo;<br \/>\n<span style=\"color: #ff0000;\"><strong>Action 19<\/strong><\/span> &#8211; Tester phpmyadmin \u00e0 l&rsquo;aide d&rsquo;un fureteur Web: http:\/\/adresse_IP_du_serveur\/phpmyadmin (utiliser l&rsquo;adresse priv\u00e9e de l&rsquo;invit\u00e9)<\/p>\n<p><strong><span style=\"color: #ff0000;\">Note<\/span><\/strong>: En cas de probl\u00e8me:<\/p>\n<pre class=\"lang:default decode:true\">sudo apt remove --purge phpmyadmin -y<\/pre>\n<p>et r\u00e9installer!<br \/>\n<span style=\"color: #ff0000;\"><strong>Action 19.1 &#8211; Erreur possible<\/strong><\/span> sur mot de passe: <a href=\"https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-install-and-secure-phpmyadmin-on-ubuntu-20-04-fr\">solution<\/a><br \/>\n<strong><span style=\"color: #ff0000;\">Action 19.2.1 &#8211; Erreur Possible<\/span><\/strong>: \u00a0<strong>Page not found<\/strong>, solution 01:<\/p>\n<pre class=\"lang:default decode:true \">1 - \u00c9diter le fichier: \/etc\/apache2\/apache2.conf\n    $ sudo nano \/etc\/apache2\/apache2.conf\n2 - Ajouter la ligne suivante \u00e0 la fin du fichier:\n    Include \/etc\/phpmyadmin\/apache.conf\n3 - Red\u00e9marrer le service apache:\n    $ sudo systemctl restart apache2\n\n<\/pre>\n<p><strong><span style=\"color: #ff0000;\">Action 19.2.2 &#8211; Erreur Possible<\/span><\/strong>: \u00a0<strong>Page not found<\/strong>, solution 02:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sudo ln -s \/etc\/phpmyadmin\/apache.conf \/etc\/apache2\/conf-available\/phpmyadmin.conf\nsudo a2enconf phpmyadmin.conf\nsudo systemctl restart apache2\n\n<\/pre>\n<pre class=\"lang:default decode:true\"><\/pre>\n<hr \/>\n<h2>D &#8211; R\u00e9sum\u00e9 des commandes pour installer la pile AMP + WP<\/h2>\n<pre class=\"lang:default decode:true \">sudo apt-get update &amp;&amp; sudo apt-get upgrade\n\u200bsudo apt-get install lamp-server^\nsudo mysql\n   ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';\n   FLUSH PRIVILEGES;\n   exit\nwget -c https:\/\/wordpress.org\/latest.tar.gz\ntar -xzvf latest.tar.gz\nsudo mv wordpress\/* \/var\/www\/html\nsudo chown www-data:www-data \/var\/www\/html -R\nsudo rm \/var\/www\/html\/index.html\nsudo apt install phpmyadmin -y\nAvec phpmyadmin: Cr\u00e9er un user et une BD pour WP\nLancer l'installation de WP: http:\/\/adr-ip\n\n<\/pre>\n<hr \/>\n<p><span style=\"color: #666699;\"><strong>Astuce:\u00a0<\/strong><\/span><br \/>\nCertaines distributions Linux proposent une installation LAMP en quelques commandes. \u00a0Par exemple, sur Ubuntu il suffit de suivre les \u00e9tapes suivantes:<\/p>\n<pre class=\"lang:default decode:true \">sudo apt-get update &amp;&amp; apt-get upgrade\n\u200bsudo apt-get install lamp-server^<\/pre>\n<p>Prochain atelier &#8211; <a href=\"http:\/\/ve2cuy.com\/420-3c3\/?page_id=926\">Installation de WordPress<\/a><\/p>\n<p>FIN du document<\/p>\n<hr \/>\n<h5 style=\"text-align: right;\">Document r\u00e9dig\u00e9 par Alain Boudreault &#8211; version 2022.09.30.02<\/h5>\n","protected":false},"excerpt":{"rendered":"<p>Contenu Connexion au serveur (ssh) sudo apt-get update sudo apt-get upgrade sudo apt-get install apache2 sudo apache2ctl configtest sudo nano \/etc\/apache2\/apache2.conf sudo systemctl restart apache2 http:\/\/localhost sudo apt-get install mysql-server mysql_secure_installation sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql sudo nano \/var\/www\/html\/info.php Objectif g\u00e9n\u00e9ral \u00c0 la suite de cet atelier le participant sera en mesure, sur [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":525,"menu_order":19,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-871","page","type-page","status-publish","hentry"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Alain","author_link":"https:\/\/ve2cuy.com\/420-21e\/index.php\/author\/alain\/"},"uagb_comment_info":0,"uagb_excerpt":"Contenu Connexion au serveur (ssh) sudo apt-get update sudo apt-get upgrade sudo apt-get install apache2 sudo apache2ctl configtest sudo nano \/etc\/apache2\/apache2.conf sudo systemctl restart apache2 http:\/\/localhost sudo apt-get install mysql-server mysql_secure_installation sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql sudo nano \/var\/www\/html\/info.php Objectif g\u00e9n\u00e9ral \u00c0 la suite de cet atelier le participant sera en mesure, sur&hellip;","_links":{"self":[{"href":"https:\/\/ve2cuy.com\/420-21e\/index.php\/wp-json\/wp\/v2\/pages\/871","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ve2cuy.com\/420-21e\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ve2cuy.com\/420-21e\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ve2cuy.com\/420-21e\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ve2cuy.com\/420-21e\/index.php\/wp-json\/wp\/v2\/comments?post=871"}],"version-history":[{"count":27,"href":"https:\/\/ve2cuy.com\/420-21e\/index.php\/wp-json\/wp\/v2\/pages\/871\/revisions"}],"predecessor-version":[{"id":2393,"href":"https:\/\/ve2cuy.com\/420-21e\/index.php\/wp-json\/wp\/v2\/pages\/871\/revisions\/2393"}],"up":[{"embeddable":true,"href":"https:\/\/ve2cuy.com\/420-21e\/index.php\/wp-json\/wp\/v2\/pages\/525"}],"wp:attachment":[{"href":"https:\/\/ve2cuy.com\/420-21e\/index.php\/wp-json\/wp\/v2\/media?parent=871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}