Php:laravel:homestaed

De Les Tutoriaux du WebMestre
Aller à : navigation, rechercher

Récupérer Vagrant

  • La version livrée avec Ubuntu par apt n'est pas suffisante ...
  • La télécharger apt-get install vagrant nous permet de récupérer toute la pile Ruby dont il dépend ...
jpmena@jpmena-HP-ProDesk-600-G2-MT ~ $ sudo apt-get install vagrant
...........................................................................
Dépaquetage de vagrant (1.8.1+dfsg-1) ...
Traitement des actions différées (« triggers ») pour man-db (2.7.5-1) ...
Paramétrage de vagrant (1.8.1+dfsg-1) ...
# Suppression de la version de vagrant installée par défaut par Ubuntu
## Il s'agit de la 1.8.1 alors que celle du site est la 1.8.6 !!!
jpmena@jpmena-HP-ProDesk-600-G2-MT ~ $ sudo dpkg --remove vagrant
(Lecture de la base de données... 225519 fichiers et répertoires déjà installés.)
Suppression de vagrant (1.8.1+dfsg-1) ...
Traitement des actions différées (« triggers ») pour man-db (2.7.5-1) ...
# on a tééchargé la dernière version pour Debian 64Bits sous $HOME
## on lance l'installation du paquet seul:
jpmena@jpmena-HP-ProDesk-600-G2-MT ~ $ sudo dpkg -i vagrant_1.8.6_x86_64.deb
Sélection du paquet vagrant précédemment désélectionné.
(Lecture de la base de données... 224482 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de vagrant_1.8.6_x86_64.deb ...
Dépaquetage de vagrant (1:1.8.6) ...
Paramétrage de vagrant (1:1.8.6) ...
  • Ce qui donne :
jpmena@jpmena-P34 ~ $ vagrant version
Installed Version: 1.8.6
Latest Version: 1.8.6
 
You're running an up-to-date version of Vagrant!

Installer la machine virtuelle Laravel/Homestead via vagrant

  • si la box a déjà été créée, la supprimer :
jpmena@jpmena-HP-ProDesk-600-G2-MT ~/.vagrant.d/data/machine-index $ ll
total 8
drwxrwxr-x 2 jpmena jpmena 4096 sept. 30 18:41 ./
drwxrwxr-x 3 jpmena jpmena 4096 sept. 30 18:41 ../
-rw-rw-r-- 1 jpmena jpmena    0 sept. 30 18:41 index.lock
jpmena@jpmena-HP-ProDesk-600-G2-MT ~/.vagrant.d/data/machine-index $ cat index.lock 
jpmena@jpmena-HP-ProDesk-600-G2-MT ~/.vagrant.d/data/machine-index $ rm index.lock
jpmena@jpmena-HP-ProDesk-600-G2-MT ~/.vagrant.d $ ll ll boxes/
ls: impossible d'accéder à 'll': Aucun fichier ou dossier de ce type
boxes/:
total 12
drwxrwxr-x 3 jpmena jpmena 4096 sept. 30 19:01 ./
drwxrwxr-x 7 jpmena jpmena 4096 sept. 30 18:41 ../
drwxrwxr-x 3 jpmena jpmena 4096 sept. 30 19:01 laravel-VAGRANTSLASH-homestead/
jpmena@jpmena-HP-ProDesk-600-G2-MT ~/.vagrant.d $ rm -rf boxes/laravel-VAGRANTSLASH-homestead
jpmena@jpmena-P34 ~ $ vagrant box add laravel/homestead
==> box: Loading metadata for box 'laravel/homestead'
    box: URL: https://atlas.hashicorp.com/laravel/homestead
==> box: Adding box 'laravel/homestead' (v0.5.0) for provider: virtualbox
The box you re attempting to add already exists. Remove it before
adding it again or add it with the `--force` flag.

Name: laravel/homestead
Provider: virtualbox
Version: 0.5.0
jpmena@jpmena-P34 ~ $ vagrant box add laravel/homestead --force
==> box: Loading metadata for box 'laravel/homestead'
    box: URL: https://atlas.hashicorp.com/laravel/homestead
==> box: Adding box 'laravel/homestead' (v0.5.0) for provider: virtualbox
    box: Downloading: https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.5.0/providers/virtualbox.box
==> box: Successfully added box 'laravel/homestead' (v0.5.0) for 'virtualbox'!
# mais où a été installée la box virtualbox ...
jpmena@jpmena-P34 ~ $ cd .vagrant.d/
jpmena@jpmena-P34 ~/.vagrant.d $ ll
total 36
drwxrwxr-x  7 jpmena jpmena 4096 oct.   8 12:24 ./
drwxr-xr-x 51 jpmena jpmena 4096 oct.   8 12:22 ../
drwxrwxr-x  3 jpmena jpmena 4096 sept. 30 09:24 boxes/
drwxrwxr-x  3 jpmena jpmena 4096 oct.   7 10:30 data/
drwxrwxr-x  3 jpmena jpmena 4096 sept. 30 09:07 gems/
-rw-------  1 jpmena jpmena 1675 sept. 30 09:07 insecure_private_key
drwxrwxr-x  2 jpmena jpmena 4096 sept. 30 09:07 rgloader/
-rw-rw-r--  1 jpmena jpmena    3 sept. 30 09:07 setup_version
drwxrwxr-x  2 jpmena jpmena 4096 oct.   8 12:40 tmp/
jpmena@jpmena-P34 ~/.vagrant.d $ cd boxes/
jpmena@jpmena-P34 ~/.vagrant.d/boxes $ ll
total 12
drwxrwxr-x 3 jpmena jpmena 4096 sept. 30 09:24 ./
drwxrwxr-x 7 jpmena jpmena 4096 oct.   8 12:24 ../
drwxrwxr-x 3 jpmena jpmena 4096 sept. 30 09:24 laravel-VAGRANTSLASH-homestead/
jpmena@jpmena-P34 ~/.vagrant.d/boxes $ cd laravel-VAGRANTSLASH-homestead/
jpmena@jpmena-P34 ~/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead $ ll
total 16
drwxrwxr-x 3 jpmena jpmena 4096 sept. 30 09:24 ./
drwxrwxr-x 3 jpmena jpmena 4096 sept. 30 09:24 ../
drwxrwxr-x 3 jpmena jpmena 4096 oct.   8 12:40 0.5.0/
-rw-rw-r-- 1 jpmena jpmena   45 oct.   8 12:40 metadata_url
jpmena@jpmena-P34 ~/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead $ cat metadata_url 
https://atlas.hashicorp.com/laravel/homesteadjpmena@jpmena-P34 ~/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead $
# finalement le chemin de la box reprend l'url de téléchargement :
jpmena@jpmena-P34 ~/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead $ ll 0.5.0/virtualbox/
total 1211812
drwxrwxr-x 2 jpmena jpmena       4096 oct.   8 12:40 ./
drwxrwxr-x 3 jpmena jpmena       4096 oct.   8 12:40 ../
-rw------- 1 jpmena jpmena 1240857088 oct.   8 12:40 box-disk1.vmdk
-rw------- 1 jpmena jpmena      12637 oct.   8 12:40 box.ovf
-rw-rw-r-- 1 jpmena jpmena         25 oct.   8 12:40 metadata.json
-rw-r--r-- 1 jpmena jpmena        505 oct.   8 12:40 Vagrantfile
# côté Vagrant Tout se passe dans la VagrantFile:
jpmena@jpmena-P34 ~/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead $ cat 0.5.0/virtualbox/Vagrantfile 
Vagrant::Config.run do |config|
  # This Vagrantfile is auto-generated by `vagrant package` to contain
  # the MAC address of the box. Custom configuration should be placed in
  # the actual `Vagrantfile` in this box.
  config.vm.base_mac = "08002746F3A1"
end

# Load include vagrant file if it exists after the auto-generated
# so it can override any of the settings
include_vagrantfile = File.expand_path("../include/_Vagrantfile", __FILE__)
load include_vagrantfile if File.exist?(include_vagrantfile)
#côté VirtualBox, on a 
## et le disque
jpmena@jpmena-P34 ~/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead $ ll 0.5.0/virtualbox/box-disk1.vmdk 
-rw------- 1 jpmena jpmena 1240857088 oct.   8 12:40 0.5.0/virtualbox/box-disk1.vmdk
## et le fichier de configuration:
jpmena@jpmena-P34 ~/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead $ cat 0.5.0/virtualbox/box.ovf 
<?xml version="1.0"?>
<Envelope ovf:version="1.0" xml:lang="en-US" xmlns="http://schemas.dmtf.org/ovf/envelope/1" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:vbox="http://www.virtualbox.org/ovf/machine">
  <References>
    <File ovf:href="box-disk1.vmdk" ovf:id="file1"/>
  </References>
  ......................................................
  </VirtualSystem>
</Envelope>

Mettre en place La configuration Homestead pour Laravel

Procédure d'initialisation

jpmena@jpmena-P34 ~ $ git clone https://github.com/laravel/homestead.git Homestead
Clonage dans 'Homestead'...
remote: Counting objects: 1641, done.
remote: Total 1641 (delta 0), reused 0 (delta 0), pack-reused 1641
Réception d'objets: 100% (1641/1641), 255.31 KiB | 0 bytes/s, fait.
Résolution des deltas: 100% (969/969), fait.
Vérification de la connectivité... fait.
jpmena@jpmena-P34 ~ $ cd Homestead/
jpmena@jpmena-P34 ~/Homestead (master=) $ ll
total 68
drwxrwxr-x  5 jpmena jpmena 4096 oct.   8 13:57 ./
drwxr-xr-x 52 jpmena jpmena 4096 oct.   8 13:57 ../
-rw-rw-r--  1 jpmena jpmena  331 oct.   8 13:57 CHANGELOG.md
-rw-rw-r--  1 jpmena jpmena  603 oct.   8 13:57 composer.json
-rw-rw-r--  1 jpmena jpmena 6245 oct.   8 13:57 composer.lock
drwxrwxr-x  8 jpmena jpmena 4096 oct.   8 13:57 .git/
-rw-rw-r--  1 jpmena jpmena   14 oct.   8 13:57 .gitattributes
-rw-rw-r--  1 jpmena jpmena   18 oct.   8 13:57 .gitignore
-rwxrwxr-x  1 jpmena jpmena  317 oct.   8 13:57 homestead*
-rw-rw-r--  1 jpmena jpmena  311 oct.   8 13:57 init.bat
-rw-rw-r--  1 jpmena jpmena  270 oct.   8 13:57 init.sh
-rw-rw-r--  1 jpmena jpmena 1077 oct.   8 13:57 LICENSE.txt
-rw-rw-r--  1 jpmena jpmena  151 oct.   8 13:57 readme.md
drwxrwxr-x  2 jpmena jpmena 4096 oct.   8 13:57 scripts/
drwxrwxr-x  3 jpmena jpmena 4096 oct.   8 13:57 src/
-rw-rw-r--  1 jpmena jpmena 1158 oct.   8 13:57 Vagrantfile
  • Initialiser
#la commmande
jpmena@jpmena-P34 ~/Homestead (master=) $ bash init.sh
Homestead initialized!
# ce qui donne
jpmena@jpmena-P34 ~/Homestead (master=) $ ls -ltr ~/.homestead/
total 12
-rw-rw-r-- 1 jpmena jpmena  487 oct.   8 14:01 Homestead.yaml
-rw-rw-r-- 1 jpmena jpmena 1474 oct.   8 14:01 aliases
-rw-rw-r-- 1 jpmena jpmena  177 oct.   8 14:01 after.sh
## et plus précisément le fichier de configuration principal de la machine virtuelle
jpmena@jpmena-P34 ~/Homestead (master=) $ cat ~/.homestead/Homestead.yaml 
---
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox

authorize: ~/.ssh/id_rsa.pub

keys:
    - ~/.ssh/id_rsa

folders:
    - map: ~/Code
      to: /home/vagrant/Code

sites:
    - map: homestead.app
      to: /home/vagrant/Code/Laravel/public

databases:
    - homestead

# blackfire:
#     - id: foo
#       token: bar
#       client-id: foo
#       client-token: bar

# ports:
#     - send: 50000
#       to: 5000
#     - send: 7777
#       to: 777
#       protocol: udp
  • On est particulièrement intéressé par les liens entre hôte et Machine virtuelle (invité):
    • But développer le code (avec Netbeans par exemple) sur l'hôte et application du code sur l'invité
.................
folders:
    - map: ~/Code
      to: /home/vagrant/Code
................
  • La configuration se termine en ajoutant dans Homestead.yaml que virtualbox est le gestionaire de notre machine virtuelle:
    • maiss cc'estt déjà précisé:
#pour des adaptations ultérieures, on met de coté la configuration initiale
jpmena@jpmena-P34 ~/.homestead $ cp -pv Homestead.yaml Homestead.ori08102016.yaml 
'Homestead.yaml' -> 'Homestead.ori08102016.yaml'
# virtualbox est déjà défini comme provider:
jpmena@jpmena-P34 ~/.homestead $ cat Homestead.yaml | grep virt
provider: virtualbox

Lancer et utiliser la machine virtuelle pour Laravel

Les commmandes

Lancer la box

  • La commande est à lancer depuis le répertoire d'installation ~/Homestead:
    • elle prend quelques minutes à s'exécuter
jpmena@jpmena-P34 ~/Homestead (master=) $ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'laravel/homestead'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'laravel/homestead' is up to date...
==> default: Setting the name of the VM: homestead-7
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 80 (guest) => 8000 (host) (adapter 1)
    default: 443 (guest) => 44300 (host) (adapter 1)
    default: 3306 (guest) => 33060 (host) (adapter 1)
    default: 5432 (guest) => 54320 (host) (adapter 1)
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Remote connection disconnect. Retrying...
    default: 
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default: 
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
    default: /vagrant => /home/jpmena/Homestead
    default: /home/vagrant/Code => /home/jpmena/Code
==> default: Running provisioner: file...
==> default: Running provisioner: shell...
    default: Running: inline script
==> default: 
==> default: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDdoo3y358pKGF3y1aAyzsvk/GQKV6/uV7fx7cM6jNjX3urm1QD5qo4KrdhrXHrN1esIDHcge2Fug+ROyVp4zZKDM4CNoq4c+o45nhvEMzVg1MFHSzP3tc7KnqppZyYIfDaV86AQnbUaKYGvX4+ASZv9/kR7QoC6JSeOS8bA123DJbj+uPCvjQ+pqAfw188dDgyNemW7/QMUy3kUuflJaOA9rm0g5XWsDB2rAzRz8U8y5rdXN/ApMxIbXxig+qx7EC58IEqBy+oaEZX33Y9K/N4MpCArg95bv62CJyfEr/rg057TbFBLX6LjGTtuhdUoOalmOtZvVbWIqYYII3SLCrH jpmena@jpmena-P34
==> default: Running provisioner: shell...
    default: Running: inline script
==> default: Running provisioner: shell...
    default: Running: /tmp/vagrant-shell20161008-10538-17htmpn.sh
==> default: Running provisioner: shell...
    default: Running: script: Creating Site: homestead.app
==> default: Running provisioner: shell...
    default: Running: script: Restarting Nginx
==> default: Running provisioner: shell...
    default: Running: script: Creating MySQL Database
==> default: Running provisioner: shell...
    default: Running: script: Creating Postgres Database
==> default: Running provisioner: shell...
    default: Running: script: Clear Variables
==> default: Running provisioner: shell...
    default: Running: inline script
==> default: Updating to version 1.2.1 (stable channel).
==> default:     Downloading: Connecting...
    Downloading: 100%         
==> default: Use composer self-update --rollback to return to version 1.1.3
==> default: Running provisioner: shell...
    default: Running: /tmp/vagrant-shell20161008-10538-enw3k2.sh
Conséquence
  • L'interface graphique de VirtualBox été automatiquement lancée avec une nouvelle machine virtuelle importée et en démarré:
    • Sur l'image ci-après, on voit la machine une nouvelle machine virtuelle de nom Homestead dans un état En Fonction
Fichier:Homestead.jpg
Suite à la commande vagrant up

Accéder à la machine virtuelle en ssh

  • Dans le tutoriel, on nous propose la commande '
    • Elle est à lancer (comme toutes les autres) depuis la racine de l'installation/configuration de Homestead:
jpmena@jpmena-P34 ~ $ cd Homestead/
jpmena@jpmena-P34 ~/Homestead (master=) $ vagrant ssh
Welcome to Ubuntu 16.04 LTS (GNU/Linux 4.4.0-22-generic x86_64)

 * Documentation:  https://help.ubuntu.com/
vagrant@homestead:$ ll /var/www/html/
total 12
drwxr-xr-x 2 root root 4096 Jun 27 16:55 ./
drwxr-xr-x 3 root root 4096 Jun 27 16:55 ../
-rw-r--r-- 1 root root  612 Jun 27 16:55 index.nginx-debian.html
#on a bien un mysql 5.7
vagrant@homestead:/etc/apache2$ mysql --version
mysql  Ver 14.14 Distrib 5.7.15, for Linux (x86_64) using  EditLine wrapper
#on a bien un php7
vagrant@homestead:~$ php --version
PHP 7.0.8-2+deb.sury.org~xenial+1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.8-2+deb.sury.org~xenial+1, Copyright (c) 1999-2016, by Zend Technologies
    with blackfire v1.10.6, https://blackfire.io, by Blackfireio Inc.
vagrant@homestead:~$ mysql --version
mysql  Ver 14.14 Distrib 5.7.15, for Linux (x86_64) using  EditLine wrapper
#ce n'est pas Apache mais nginx  qui est le serveur Web !!!
vagrant@homestead:~$ ll /var/www/html/
total 12
drwxr-xr-x 2 root root 4096 Jun 27 16:55 ./
drwxr-xr-x 3 root root 4096 Jun 27 16:55 ../
-rw-r--r-- 1 root root  612 Jun 27 16:55 index.nginx-debian.html
PHP 7.0.8-2+deb.sury.org~xenial+1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.8-2+deb.sury.org~xenial+1, Copyright (c) 1999-2016, by Zend Technologies
    with blackfire v1.10.6, https://blackfire.io, by Blackfireio Inc.
#l'adresse IP de la machine vue par l'hôte
## cf enp0s; c'est l'adresse que nous avion dans le Homestead.yaml
vagrant@homestead:~$ ifconfig 
enp0s3    Link encap:Ethernet  HWaddr 08:00:27:46:f3:a1  
          inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fe46:f3a1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:87125 errors:0 dropped:0 overruns:0 frame:0
          TX packets:42396 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:68491160 (68.4 MB)  TX bytes:2663190 (2.6 MB)

enp0s8    Link encap:Ethernet  HWaddr 08:00:27:c3:3e:40  
          inet addr:192.168.10.10  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fec3:3e40/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:552 (552.0 B)  TX bytes:648 (648.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:372 errors:0 dropped:0 overruns:0 frame:0
          TX packets:372 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:142321 (142.3 KB)  TX bytes:142321 (142.3 KB)
Pour rappel côté Hôte
  • Dans le Homestead.yaml, on fixe l'adresse IP de la machine virtuelle Homestead-7 à 192.168.10.10 (ensp0s8 ci dessus):
jpmena@jpmena-P34 ~/.homestead $ cat Homestead.yaml | grep ip
ip: "192.168.10.10"
  • Donc on accède depuis l'hôte au serveur apache de l'invité par l'url après avoir cconfiguré le fichier des hôtes:
    • cf. lignes 13 et 14 de la sortie console ci après
 1 root@jpmena-P34:~# diff -u /etc/hosts.ori15082016 /etc/hosts
 2 --- /etc/hosts.ori15082016	2016-08-11 10:29:19.486041719 +0200
 3 +++ /etc/hosts	2016-10-08 15:31:22.632395285 +0200
 4 @@ -7,3 +7,11 @@
 5  ff00::0 ip6-mcastprefix
 6  ff02::1 ip6-allnodes
 7  ff02::2 ip6-allrouters
 8 +
 9 +#personal websites
10 +##My Blog
11 +127.0.1.1	www.jpmena.and jpmena.and
12 +127.0.1.1	dru8rif.ovh www.dru8rif.ovh
13 +##Tests Laravel
14 +192.168.56.102	homestead.app

Arrêter (et supprimer) la machine virtuelle

jpmena@jpmena-P34 ~/Homestead (master=) $ vagrant destroy
    default: Are you sure you want to destroy the 'default' VM? [y/N] y
==> default: Forcing shutdown of VM...
==> default: Destroying VM and associated drives...
  • Cela a pour effet compélmentaire à l'arrêt de la VM:
    • de retirer Homestead-7 de l'interface de VirtualBox:
  • Cela ne supprime pas la machine VirtualBox prête à être configurée puis importée:
jpmena@jpmena-P34 ~ $ ll .vagrant.d/boxes/laravel-VAGRANTSLASH-homestead/0.5.0/virtualbox/
total 1211812
drwxrwxr-x 2 jpmena jpmena       4096 oct.   8 12:40 ./
drwxrwxr-x 3 jpmena jpmena       4096 oct.   8 12:40 ../
-rw------- 1 jpmena jpmena 1240857088 oct.   8 12:40 box-disk1.vmdk
-rw------- 1 jpmena jpmena      12637 oct.   8 12:40 box.ovf
-rw-rw-r-- 1 jpmena jpmena         25 oct.   8 12:40 metadata.json
-rw-r--r-- 1 jpmena jpmena        505 oct.   8 12:40 Vagrantfile

Les commandes et scripts utiles

Les commandes utiles