{"id":400,"date":"2017-03-28T08:48:04","date_gmt":"2017-03-28T06:48:04","guid":{"rendered":"http:\/\/union31xh.free.fr\/?p=400"},"modified":"2017-03-28T14:44:15","modified_gmt":"2017-03-28T12:44:15","slug":"vagrant-brouillon","status":"publish","type":"post","link":"https:\/\/blogperso.union31.fr\/?p=400","title":{"rendered":"Vagrant : premi\u00e8re mise en main"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Sommaire<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/blogperso.union31.fr\/?p=400\/#I_Introduction\" >I Introduction<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/blogperso.union31.fr\/?p=400\/#I1_Resume\" >I.1 R\u00e9sum\u00e9<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/blogperso.union31.fr\/?p=400\/#I2_Ressources\" >I.2 Ressources<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/blogperso.union31.fr\/?p=400\/#II_Installation\" >II Installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/blogperso.union31.fr\/?p=400\/#III_Installation_dun_premier_environnement\" >III Installation d&rsquo;un premier environnement<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/blogperso.union31.fr\/?p=400\/#III1_Introduction\" >III.1 Introduction<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/blogperso.union31.fr\/?p=400\/#III2_Creation_dune_BOX_sappuyant_sur_VirtualBox\" >III.2 Cr\u00e9ation d&rsquo;une BOX s&rsquo;appuyant sur VirtualBox<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/blogperso.union31.fr\/?p=400\/#III21_Declaration_de_la_box\" >III.2.1 D\u00e9claration de la box<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/blogperso.union31.fr\/?p=400\/#III22_Lancement_de_la_box\" >III.2.2 Lancement de la box<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/blogperso.union31.fr\/?p=400\/#III23_Acces_de_la_box_via_ssh\" >III.2.3 Acc\u00e8s de la box via ssh<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/blogperso.union31.fr\/?p=400\/#III24_Dossier_synchronises_entre_Hote_et_Box\" >III.2.4 Dossier synchronis\u00e9s entre H\u00f4te et Box<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/blogperso.union31.fr\/?p=400\/#III25_Arret_de_la_Box\" >III.2.5 Arr\u00eat de la Box<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/blogperso.union31.fr\/?p=400\/#III26_Suppression_de_la_Box\" >III.2.6 Suppression de la Box<\/a><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/blogperso.union31.fr\/?p=400\/#IV_Informations_complementaires\" >IV Informations compl\u00e9mentaires<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/blogperso.union31.fr\/?p=400\/#IV1_Commandes_de_gestion_dune_box\" >IV.1 Commandes de gestion d&rsquo;une box<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/blogperso.union31.fr\/?p=400\/#IV2_A_voirapprofondir\" >IV.2 A voir\/approfondir<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"I_Introduction\"><\/span>I Introduction<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<h2><span class=\"ez-toc-section\" id=\"I1_Resume\"><\/span>I.1 R\u00e9sum\u00e9<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Vagrant permet de mettre en \u0153uvre un environnement de d\u00e9veloppement et de tests tr\u00e8s rapidement.<\/p>\n<p>Ce type de solution permet de travailler \u00e0 partir de bases de configurations communes. Ce qui permet, entre autres, de faciliter et de d\u00e9velopper des produits ou des process d&rsquo;industrialisation sur des plateformes qui se rapprochent au plus pr\u00e8s des celles mise en production par exemple.<\/p>\n<p>&nbsp;<\/p>\n<h2><span class=\"ez-toc-section\" id=\"I2_Ressources\"><\/span>I.2 Ressources<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Tutoriel en fran\u00e7ais : <a href=\"https:\/\/www.grafikart.fr\/tutoriels\/hebergement\/vm-vagrant-chef-solo-482\" target=\"_blank\">https:\/\/www.grafikart.fr\/tutoriels\/hebergement\/vm-vagrant-chef-solo-482<\/a><\/p>\n<p>T\u00e9l\u00e9chargement : <a href=\"https:\/\/www.vagrantup.com\/downloads.html\" target=\"_blank\">https:\/\/www.vagrantup.com\/downloads.html<\/a><\/p>\n<p>Box \u00ab\u00a0officielle\u00a0\u00bb de \u00ab\u00a0base\u00a0\u00bb sur le cloud de Vagrant : <a href=\"https:\/\/atlas.hashicorp.com\/bento\" target=\"_blank\">https:\/\/atlas.hashicorp.com\/bento<\/a><\/p>\n<h1><span class=\"ez-toc-section\" id=\"II_Installation\"><\/span>II Installation<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>Ex\u00e9cuter le MSI. Suivant &#8230; Suivant jusqu&rsquo;\u00e0 la fin. Un reboot est n\u00e9cessaire.<\/p>\n<p>Les fichiers sont localis\u00e9s dans le r\u00e9pertoire \u00ab\u00a0C:\\HashiCorp\\Vagrant\u00a0\u00bb et la structure des r\u00e9pertoires install\u00e9s doit ressembler \u00e0 celle-ci :<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-407\" src=\"http:\/\/union31xh.free.fr\/wp-content\/uploads\/2017\/03\/Vagrant_structure_install.png\" alt=\"\" width=\"335\" height=\"325\" srcset=\"https:\/\/blogperso.union31.fr\/wp-content\/uploads\/2017\/03\/Vagrant_structure_install.png 535w, https:\/\/blogperso.union31.fr\/wp-content\/uploads\/2017\/03\/Vagrant_structure_install-300x291.png 300w\" sizes=\"auto, (max-width: 335px) 100vw, 335px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h1><span class=\"ez-toc-section\" id=\"III_Installation_dun_premier_environnement\"><\/span>III Installation d&rsquo;un premier environnement<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<h2><span class=\"ez-toc-section\" id=\"III1_Introduction\"><\/span>III.1 Introduction<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Vagrant propose un cloud public d\u00e9di\u00e9 au \u00ab\u00a0box\u00a0\u00bb \u00e0 l&rsquo;adress suivante : <a href=\"https:\/\/vagrantcloud.com\/\" target=\"_blank\">https:\/\/vagrantcloud.com\/<\/a><\/p>\n<p>Cr\u00e9ation \u00e0 partir d&rsquo;un paquetage de VM d\u00e9j\u00e0 existant. Choix d&rsquo;une infrastructure comportant :<\/p>\n<ul>\n<li>centos 7<\/li>\n<li>Apache MariaDb et php<\/li>\n<\/ul>\n<p>Lien de la box : <a href=\"https:\/\/atlas.hashicorp.com\/Gigasavvy\/boxes\/centos7-LAMP\" target=\"_blank\">https:\/\/atlas.hashicorp.com\/Gigasavvy\/boxes\/centos7-LAMP<\/a><\/p>\n<ul>\n<li>Nom de la box : Gigasavvy\/centos7-LAMP<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"III2_Creation_dune_BOX_sappuyant_sur_VirtualBox\"><\/span>III.2 Cr\u00e9ation d&rsquo;une BOX s&rsquo;appuyant sur VirtualBox<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"III21_Declaration_de_la_box\"><\/span>III.2.1 D\u00e9claration de la box<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Lancer une console Powershell<\/p>\n<p>Cr\u00e9er un r\u00e9pertoire d\u00e9di\u00e9. Ici ce sera sous \u00ab\u00a0d:\\vagrant\u00a0\u00bb. Puis ce placer dans ce r\u00e9pertoire.<\/p>\n<p>Pour t\u00e9l\u00e9charger la box, il faut utiliser la commande \u00ab\u00a0vagrant init\u00a0\u00bb puis \u00ab\u00a0vagrant add <em>nom_box<\/em>\u00a0\u00bb<\/p>\n<p>un raccourci fonctionne \u00e9galement \u00ab\u00a0vagrant init nom_box\u00a0\u00bb.<\/p>\n<p>Exemple :<\/p>\n<pre>PS D:\\vagrant&gt; vagrant init Gigasavvy\/centos7-LAMP\r\nA `Vagrantfile` has been placed in this directory. You are now\r\nready to `vagrant up` your first virtual environment! Please read\r\nthe comments in the Vagrantfile as well as documentation on\r\n`vagrantup.com` for more information on using Vagrant.\r\n\r\n<\/pre>\n<p>A ce stade un fichier \u00ab\u00a0Vagrantfile\u00a0\u00bb a \u00e9t\u00e9 cr\u00e9e ainsi que le r\u00e9pertoire \u00ab\u00a0.vagrant\u00a0\u00bb \u00e0 la racine de \u00ab\u00a0d:\\vagrant\u00a0\u00bb.<\/p>\n<p>Ce r\u00e9pertoire correspond \u00e0 la box. Pour utiliser une autre box, il faut cr\u00e9er un autre r\u00e9pertoire et faire de m\u00eame.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"III22_Lancement_de_la_box\"><\/span>III.2.2 Lancement de la box<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Ensuite il faut \u00ab\u00a0monter\u00a0\u00bb la box via la commande \u00ab\u00a0vagrant up\u00a0\u00bb.<\/p>\n<p>Dans un premier temps le t\u00e9l\u00e9chargement \u00e0 partir d&rsquo;internet va s&rsquo;effectuer (qu&rsquo;au premier lancement).<\/p>\n<pre>PS D:\\vagrant&gt; vagrant up --provider virtualbox\r\nBringing machine 'default' up with 'virtualbox' provider...\r\n==&gt; default: Box 'Gigasavvy\/centos7-LAMP' could not be found. Attempting to find and install...\r\n    default: Box Provider: virtualbox\r\n    default: Box Version: &gt;= 0\r\n==&gt; default: Loading metadata for box 'Gigasavvy\/centos7-LAMP'\r\n    default: URL: https:\/\/atlas.hashicorp.com\/Gigasavvy\/centos7-LAMP\r\n==&gt; default: Adding box 'Gigasavvy\/centos7-LAMP' (v0.0.7) for provider: virtualbox\r\n    default: Downloading: https:\/\/atlas.hashicorp.com\/Gigasavvy\/boxes\/centos7-LAMP\/versions\/0.0.7\/providers\/virtualbox.box\r\n    default: Progress: 29% (Rate: 2496k\/s, Estimated time remaining: 0:07:23)<\/pre>\n<p>puis :<\/p>\n<pre>    default: Progress: 100% (Rate: 1621k\/s, Estimated time remaining: --:--:--)\r\n==&gt; default: Successfully added box 'Gigasavvy\/centos7-LAMP' (v0.0.7) for 'virtualbox'!\r\n==&gt; default: Importing base box 'Gigasavvy\/centos7-LAMP'...\r\n==&gt; default: Matching MAC address for NAT networking...\r\n==&gt; default: Checking if box 'Gigasavvy\/centos7-LAMP' is up to date...\r\n==&gt; default: Setting the name of the VM: vagrant_default_1490687314128_38791\r\n==&gt; default: Clearing any previously set network interfaces...\r\n==&gt; default: Preparing network interfaces based on configuration...\r\n    default: Adapter 1: nat\r\n==&gt; default: Forwarding ports...\r\n    default: 22 (guest) =&gt; 2222 (host) (adapter 1)\r\n==&gt; default: Booting VM...\r\n==&gt; default: Waiting for machine to boot. This may take a few minutes...\r\n    default: SSH address: 127.0.0.1:2222\r\n    default: SSH username: vagrant\r\n    default: SSH auth method: private key\r\n    default: Warning: Remote connection disconnect. Retrying...\r\n==&gt; default: Machine booted and ready!\r\n==&gt; default: Checking for guest additions in VM...\r\n    default: The guest additions on this VM do not match the installed version of\r\n    default: VirtualBox! In most cases this is fine, but in rare cases it can\r\n    default: prevent things such as shared folders from working properly. If you see\r\n    default: shared folder errors, please make sure the guest additions within the\r\n    default: virtual machine match the version of VirtualBox you have installed on\r\n    default: your host and reload your VM.\r\n    default:\r\n    default: Guest Additions Version: 5.0.14\r\n    default: VirtualBox Version: 4.3\r\n==&gt; default: Mounting shared folders...\r\n    default: \/vagrant =&gt; D:\/vagrant\r\nPS D:\\vagrant&gt;<\/pre>\n<p>La VM est mont\u00e9e.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"III23_Acces_de_la_box_via_ssh\"><\/span>III.2.3 Acc\u00e8s de la box via ssh<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>L&rsquo;acc\u00e8s peut se faire via ssh en ligne de commande via la commande \u00ab\u00a0vagrant ssh\u00a0\u00bb. Ce qui donne l&rsquo;exemple suivant :<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-417\" src=\"http:\/\/union31xh.free.fr\/wp-content\/uploads\/2017\/03\/vagrant_premier_acces_ssh.png\" alt=\"\" width=\"441\" height=\"263\" srcset=\"https:\/\/blogperso.union31.fr\/wp-content\/uploads\/2017\/03\/vagrant_premier_acces_ssh.png 645w, https:\/\/blogperso.union31.fr\/wp-content\/uploads\/2017\/03\/vagrant_premier_acces_ssh-300x179.png 300w\" sizes=\"auto, (max-width: 441px) 100vw, 441px\" \/><\/p>\n<p>Il est \u00e9galement possible de voir que la VM est pr\u00e9sente sous Virtual BOX (mais dans un premier temps \u00e0 ce niveau).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-418\" src=\"http:\/\/union31xh.free.fr\/wp-content\/uploads\/2017\/03\/vagrant_premier_vm_virtualbox.png\" alt=\"\" width=\"607\" height=\"246\" srcset=\"https:\/\/blogperso.union31.fr\/wp-content\/uploads\/2017\/03\/vagrant_premier_vm_virtualbox.png 765w, https:\/\/blogperso.union31.fr\/wp-content\/uploads\/2017\/03\/vagrant_premier_vm_virtualbox-300x122.png 300w\" sizes=\"auto, (max-width: 607px) 100vw, 607px\" \/><\/p>\n<p>Pensez dans VirtualBox \u00e0 modifier la carte r\u00e9seau et \u00e0 rajouter une redirection de port 80 par exemple pour acc\u00e9der au serveur web de la Box via un navigateur. Ceci pour tester dans un premier temps le service web de la BOX car la redirection de ce port peut se faire automatiquement via une directive du fichier de configuration \u00ab\u00a0Vagrantfile\u00a0\u00bb.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"III24_Dossier_synchronises_entre_Hote_et_Box\"><\/span>III.2.4 Dossier synchronis\u00e9s entre H\u00f4te et Box<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Tous les fichiers plac\u00e9s dans la box sous le r\u00e9pertoire \u00ab\u00a0\/vagrant\u00a0\u00bb vont se retrouver sur l&rsquo;H\u00f4te (dans mon cas windows 7) dans le r\u00e9pertoire \u00ab\u00a0d:\\vagrant\\\u00a0\u00bb.<\/p>\n<p>Ainsi il est tr\u00e8s facile de d\u00e9placer des fichiers entre H\u00f4te et Box par ce biais.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"III25_Arret_de_la_Box\"><\/span>III.2.5 Arr\u00eat de la Box<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Il faut utiliser la commande \u00ab\u00a0vagrant destroy\u00a0\u00bb<\/p>\n<p><span style=\"text-decoration: underline;\">rem :<\/span> la VM n&rsquo;est pas d\u00e9truite !!!<\/p>\n<pre>PS D:\\vagrant&gt; vagrant destroy\r\n    default: Are you sure you want to destroy the 'default' VM? [y\/N] y\r\n==&gt; default: Forcing shutdown of VM...\r\n==&gt; default: Destroying VM and associated drives...\r\nPS D:\\vagrant&gt;<\/pre>\n<h3><span class=\"ez-toc-section\" id=\"III26_Suppression_de_la_Box\"><\/span>III.2.6 Suppression de la Box<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Pour supprimer la VM il faut utiliser la commande \u00ab\u00a0vagrant box remove nom_de_la_box\u00a0\u00bb.<\/p>\n<p>Exemple :<\/p>\n<pre>PS D:\\vagrant&gt; vagrant box remove Gigasavvy\/centos7-LAMP\r\nRemoving box 'Gigasavvy\/centos7-LAMP' (v0.0.7) with provider 'virtualbox'...<\/pre>\n<p>&nbsp;<\/p>\n<h1><span class=\"ez-toc-section\" id=\"IV_Informations_complementaires\"><\/span>IV Informations compl\u00e9mentaires<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<h2><span class=\"ez-toc-section\" id=\"IV1_Commandes_de_gestion_dune_box\"><\/span>IV.1 Commandes de gestion d&rsquo;une box<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>vagrant <strong>up<\/strong> : d\u00e9mare une box<\/li>\n<li>vagrant <strong>suspend<\/strong> : g\u00e8le l&rsquo;activit\u00e9 de la box<\/li>\n<li>vagrant <strong>halt<\/strong> : \u00e9teint l&rsquo;h\u00f4te avec douceur (arr\u00eat du syst\u00e8me)<\/li>\n<li>vagrant <strong>destroy<\/strong> : arr\u00eat brutal de la box (arr\u00eat brutal de l&rsquo;OS, enregistrement dans virtual box effac\u00e9 ainsi que les fichiers temporaires associ\u00e9s)<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"IV2_A_voirapprofondir\"><\/span>IV.2 A voir\/approfondir<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>cr\u00e9er une base box :\n<ul>\n<li>doc officielle\n<ul>\n<li style=\"text-align: left;\"><a href=\"https:\/\/www.vagrantup.com\/docs\/boxes\/base.html\" target=\"_blank\">https:\/\/www.vagrantup.com\/docs\/boxes\/base.html<\/a><\/li>\n<li><a href=\"https:\/\/www.vagrantup.com\/docs\/virtualbox\/boxes.html\" target=\"_blank\">https:\/\/www.vagrantup.com\/docs\/virtualbox\/boxes.html<\/a><\/li>\n<\/ul>\n<\/li>\n<li>exemples :\n<ul>\n<li><a href=\"https:\/\/github.com\/ckan\/ckan\/wiki\/How-to-Create-a-CentOS-Vagrant-Base-Box\" target=\"_blank\">https:\/\/github.com\/ckan\/ckan\/wiki\/How-to-Create-a-CentOS-Vagrant-Base-Box<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>fichier de configuration :<a href=\"https:\/\/www.vagrantup.com\/docs\/vagrantfile\/\" target=\"_blank\"> https:\/\/www.vagrantup.com\/docs\/vagrantfile\/<\/a><\/li>\n<li>ligne de commande : <a href=\"https:\/\/www.vagrantup.com\/docs\/cli\/\" target=\"_blank\">https:\/\/www.vagrantup.com\/docs\/cli\/<\/a><\/li>\n<li>possibilit\u00e9 d&rsquo;avoir plusieurs box \u00e0 partir d&rsquo;un emplacement \u00ab\u00a0vagrant\u00a0\u00bb : <a href=\"https:\/\/www.vagrantup.com\/docs\/multi-machine\/\" target=\"_blank\">https:\/\/www.vagrantup.com\/docs\/multi-machine\/<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I Introduction I.1 R\u00e9sum\u00e9 Vagrant permet de mettre en \u0153uvre un environnement de d\u00e9veloppement et de tests tr\u00e8s rapidement. Ce type de solution permet de travailler \u00e0 partir de bases de configurations communes. Ce qui permet, entre autres, de faciliter<\/p>\n","protected":false},"author":1,"featured_media":403,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-400","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-non-classe"],"_links":{"self":[{"href":"https:\/\/blogperso.union31.fr\/index.php?rest_route=\/wp\/v2\/posts\/400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogperso.union31.fr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogperso.union31.fr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogperso.union31.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogperso.union31.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=400"}],"version-history":[{"count":35,"href":"https:\/\/blogperso.union31.fr\/index.php?rest_route=\/wp\/v2\/posts\/400\/revisions"}],"predecessor-version":[{"id":439,"href":"https:\/\/blogperso.union31.fr\/index.php?rest_route=\/wp\/v2\/posts\/400\/revisions\/439"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogperso.union31.fr\/index.php?rest_route=\/wp\/v2\/media\/403"}],"wp:attachment":[{"href":"https:\/\/blogperso.union31.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogperso.union31.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogperso.union31.fr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}