Skip to research

Installer ubuntu dans une machine virtuelle vagrant avec nginx en mode provision

Temps de lecture
Environ 11 minutes

1 - Création du fichier Vagrantfile.rb à la racine de notre projet.

# -*- mode: ruby -*-
# vi: set ft=ruby :

# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
  # The most common configuration options are documented and commented below.
  # For a complete reference, please see the online documentation at
  # https://docs.vagrantup.com.

  # Every Vagrant development environment requires a box. You can search for
  # boxes at https://vagrantcloud.com/search.
  config.vm.box = "bento/ubuntu-17.10"

  # Disable automatic box update checking. If you disable this, then
  # boxes will only be checked for updates when the user runs
  # `vagrant box outdated`. This is not recommended.
  # config.vm.box_check_update = false

  # Create a forwarded port mapping which allows access to a specific port
  # within the machine from a port on the host machine. In the example below,
  # accessing "localhost:8080" will access port 80 on the guest machine.
  # NOTE: This will enable public access to the opened port
  # config.vm.network "forwarded_port", guest: 80, host: 8080

  # Create a forwarded port mapping which allows access to a specific port
  # within the machine from a port on the host machine and only allow access
  # via 127.0.0.1 to disable public access
  config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"

  # Create a private network, which allows host-only access to the machine
  # using a specific IP.
  # config.vm.network "private_network", ip: "192.168.33.10"

  # Create a public network, which generally matched to bridged network.
  # Bridged networks make the machine appear as another physical device on
  # your network.
  # config.vm.network "public_network"

  # Share an additional folder to the guest VM. The first argument is
  # the path on the host to the actual folder. The second argument is
  # the path on the guest to mount the folder. And the optional third
  # argument is a set of non-required options.
  #  config.vm.synced_folder "../data", "/vagrant_data"

  # Provider-specific configuration so you can fine-tune various
  # backing providers for Vagrant. These expose provider-specific options.
  # Example for VirtualBox:
  #
  # config.vm.provider "virtualbox" do |vb|
  #   # Display the VirtualBox GUI when booting the machine
  #   vb.gui = true
  #
  #   # Customize the amount of memory on the VM:
  #   vb.memory = "1024"
  # end
  #
  # View the documentation for the provider you are using for more
  # information on available options.

  # Enable provisioning with a shell script. Additional provisioners such as
  # Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
  # documentation for more information about their specific syntax and use.
  config.vm.provision "shell", path: "provisionners/nginx-install.sh"
  #   apt-get update
  #   apt-get install -y apache2
  # SHELL
end

 

1a - On initialise une box ubuntu

 

config.vm.box = "bento/ubuntu-17.10"

 

1b - On mappe le port de notre application en mode forwarded_port

 

config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"

 

1c - On provisionne en mode path notre machine avec nginx

 

config.vm.provision "shell", path: "provisionners/nginx-install.sh"

 

2 - Créons un dossier provisionners à la racine de notre projet. Puis le fichier nginx-install.sh.
Le .sh renvoie a un fichier bash.

 

sudo apt-get update
sudo apt-get install -y nginx


3 - On lance le processus avec un vagrant up

 

C:\Users\mm\Documents\tdb\workspace\work_vagrant
λ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'bento/ubuntu-17.10'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'bento/ubuntu-17.10' is up to date...
==> default: Setting the name of the VM: work_vagrant_default_1529869174247_71810
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 80 (guest) => 8080 (host) (adapter 1)
    default: 22 (guest) => 2222 (host) (adapter 1)
==> 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: Connection reset. Retrying...
    default: Warning: Connection aborted. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Connection aborted. Retrying...
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    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] GuestAdditions versions on your host (5.1.36) and guest (5.2.12) do not match.
Reading package lists...
Building dependency tree...
Reading state information...
dkms is already the newest version (2.3-3ubuntu3).
The following NEW packages will be installed:
  linux-headers-4.13.0-21 linux-headers-4.13.0-21-generic
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.6 MB of archives.
After this operation, 83.1 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 linux-headers-4.13.0-21 all 4.13.0-21.24 [10.9 MB]
Get:2 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 linux-headers-4.13.0-21-generic amd64 4.13.0-21.24 [706 kB]
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 11.6 MB in 7s (1,471 kB/s)
Selecting previously unselected package linux-headers-4.13.0-21.
(Reading database ... 39242 files and directories currently installed.)
Preparing to unpack .../linux-headers-4.13.0-21_4.13.0-21.24_all.deb ...
Unpacking linux-headers-4.13.0-21 (4.13.0-21.24) ...
Selecting previously unselected package linux-headers-4.13.0-21-generic.
Preparing to unpack .../linux-headers-4.13.0-21-generic_4.13.0-21.24_amd64.deb ...
Unpacking linux-headers-4.13.0-21-generic (4.13.0-21.24) ...
Setting up linux-headers-4.13.0-21 (4.13.0-21.24) ...
Setting up linux-headers-4.13.0-21-generic (4.13.0-21.24) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.13.0-21-generic /boot/vmlinuz-4.13.0-21-generic
Copy iso file C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso
Mounting Virtualbox Guest Additions ISO to: /mnt
mount: /mnt: WARNING: device write-protected, mounted read-only.
Installing Virtualbox Guest Additions 5.1.36 - guest version is 5.2.12
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.1.36 Guest Additions for Linux...........
VirtualBox Guest Additions installer
Removing installed version 5.2.12 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
vboxadd.sh: Starting the VirtualBox Guest Additions.

Could not find the X.Org or XFree86 Window System, skipping.
An error occurred during installation of VirtualBox Guest Additions 5.1.36. Some functionality may not work as intended.
In most cases it is OK that the "Window System drivers" installation failed.
Job for vboxadd-service.service failed because the control process exited with error code.
See "systemctl  status vboxadd-service.service" and "journalctl  -xe" for details.
Unmounting Virtualbox Guest Additions ISO from: /mnt
Got different reports about installed GuestAdditions version:
Virtualbox on your host claims:   5.2.12
VBoxService inside the vm claims: 5.1.36
Going on, assuming VBoxService is correct...
Got different reports about installed GuestAdditions version:
Virtualbox on your host claims:   5.2.12
VBoxService inside the vm claims: 5.1.36
Going on, assuming VBoxService is correct...
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 5.2.12
    default: VirtualBox Version: 5.1
==> default: [vagrant-hostsupdater] Checking for host entries
==> default: Mounting shared folders...
    default: /vagrant => C:/Users/mm/Documents/tdb/workspace/work_vagrant
==> default: Running provisioner: shell...
    default: Running: C:/Users/mm/AppData/Local/Temp/vagrant-shell20180624-7036-1ds8g77.sh
==> default: Hit:1 http://archive.ubuntu.com/ubuntu artful InRelease
==> default: Get:2 http://security.ubuntu.com/ubuntu artful-security InRelease [83.2 kB]
==> default: Get:3 http://archive.ubuntu.com/ubuntu artful-updates InRelease [88.7 kB]
==> default: Get:4 http://archive.ubuntu.com/ubuntu artful-backports InRelease [74.6 kB]
==> default: Get:5 http://security.ubuntu.com/ubuntu artful-security/main amd64 Packages [187 kB]
==> default: Get:6 http://archive.ubuntu.com/ubuntu artful-updates/main i386 Packages [277 kB]
==> default: Get:7 http://security.ubuntu.com/ubuntu artful-security/main i386 Packages [182 kB]
==> default: Get:8 http://security.ubuntu.com/ubuntu artful-security/main Translation-en [80.9 kB]
==> default: Get:9 http://security.ubuntu.com/ubuntu artful-security/universe i386 Packages [68.4 kB]
==> default: Get:10 http://security.ubuntu.com/ubuntu artful-security/universe amd64 Packages [68.8 kB]
==> default: Get:11 http://security.ubuntu.com/ubuntu artful-security/universe Translation-en [41.9 kB]
==> default: Get:12 http://security.ubuntu.com/ubuntu artful-security/multiverse i386 Packages [1,980 B]
==> default: Get:13 http://security.ubuntu.com/ubuntu artful-security/multiverse amd64 Packages [1,820 B]
==> default: Get:14 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 Packages [283 kB]
==> default: Get:15 http://archive.ubuntu.com/ubuntu artful-updates/main Translation-en [125 kB]
==> default: Get:16 http://archive.ubuntu.com/ubuntu artful-updates/universe i386 Packages [119 kB]
==> default: Get:17 http://archive.ubuntu.com/ubuntu artful-updates/universe amd64 Packages [120 kB]
==> default: Get:18 http://archive.ubuntu.com/ubuntu artful-updates/universe Translation-en [68.1 kB]
==> default: Get:19 http://archive.ubuntu.com/ubuntu artful-updates/multiverse i386 Packages [4,272 B]
==> default: Get:20 http://archive.ubuntu.com/ubuntu artful-updates/multiverse amd64 Packages [4,124 B]
==> default: Fetched 1,878 kB in 1s (949 kB/s)
==> default: Reading package lists...
==> default: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: The following additional packages will be installed:
==> default:   fontconfig-config fonts-dejavu-core libfontconfig1 libgd3 libjbig0
==> default:   libjpeg-turbo8 libjpeg8 libnginx-mod-http-geoip
==> default:   libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter
==> default:   libnginx-mod-mail libnginx-mod-stream libtiff5 libwebp6 libx11-6 libx11-data
==> default:   libxcb1 libxpm4 nginx-common nginx-core
==> default: Suggested packages:
==> default:   libgd-tools fcgiwrap nginx-doc ssl-cert
==> default: The following NEW packages will be installed:
==> default:   fontconfig-config fonts-dejavu-core libfontconfig1 libgd3 libjbig0
==> default:   libjpeg-turbo8 libjpeg8 libnginx-mod-http-geoip
==> default:   libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter
==> default:   libnginx-mod-mail libnginx-mod-stream libtiff5 libwebp6 libx11-6 libx11-data
==> default:   libxcb1 libxpm4 nginx nginx-common nginx-core
==> default: 0 upgraded, 21 newly installed, 0 to remove and 16 not upgraded.
==> default: Need to get 3,157 kB of archives.
==> default: After this operation, 11.2 MB of additional disk space will be used.
==> default: Get:1 http://archive.ubuntu.com/ubuntu artful/main amd64 libjpeg-turbo8 amd64 1.5.2-0ubuntu5 [110 kB]
==> default: Get:2 http://archive.ubuntu.com/ubuntu artful/main amd64 libjbig0 amd64 2.1-3.1 [26.6 kB]
==> default: Get:3 http://archive.ubuntu.com/ubuntu artful/main amd64 libxcb1 amd64 1.12-1ubuntu1 [45.2 kB]
==> default: Get:4 http://archive.ubuntu.com/ubuntu artful/main amd64 libx11-data all 2:1.6.4-3 [114 kB]
==> default: Get:5 http://archive.ubuntu.com/ubuntu artful/main amd64 libx11-6 amd64 2:1.6.4-3 [572 kB]
==> default: Get:6 http://archive.ubuntu.com/ubuntu artful/main amd64 fonts-dejavu-core all 2.37-1 [1,041 kB]
==> default: Get:7 http://archive.ubuntu.com/ubuntu artful/main amd64 fontconfig-config all 2.11.94-0ubuntu2 [49.9 kB]
==> default: Get:8 http://archive.ubuntu.com/ubuntu artful/main amd64 libfontconfig1 amd64 2.11.94-0ubuntu2 [131 kB]
==> default: Get:9 http://archive.ubuntu.com/ubuntu artful/main amd64 libjpeg8 amd64 8c-2ubuntu8 [2,194 B]
==> default: Get:10 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 libtiff5 amd64 4.0.8-5ubuntu0.1 [150 kB]
==> default: Get:11 http://archive.ubuntu.com/ubuntu artful/main amd64 libwebp6 amd64 0.6.0-3 [181 kB]
==> default: Get:12 http://archive.ubuntu.com/ubuntu artful/main amd64 libxpm4 amd64 1:3.5.12-1 [34.0 kB]
==> default: Get:13 http://archive.ubuntu.com/ubuntu artful/main amd64 libgd3 amd64 2.2.5-3 [119 kB]
==> default: Get:14 http://archive.ubuntu.com/ubuntu artful/main amd64 nginx-common all 1.12.1-0ubuntu2 [39.0 kB]
==> default: Get:15 http://archive.ubuntu.com/ubuntu artful/main amd64 libnginx-mod-http-geoip amd64 1.12.1-0ubuntu2 [11.5 kB]
==> default: Get:16 http://archive.ubuntu.com/ubuntu artful/main amd64 libnginx-mod-http-image-filter amd64 1.12.1-0ubuntu2 [14.9 kB]
==> default: Get:17 http://archive.ubuntu.com/ubuntu artful/main amd64 libnginx-mod-http-xslt-filter amd64 1.12.1-0ubuntu2 [13.4 kB]
==> default: Get:18 http://archive.ubuntu.com/ubuntu artful/main amd64 libnginx-mod-mail amd64 1.12.1-0ubuntu2 [42.1 kB]
==> default: Get:19 http://archive.ubuntu.com/ubuntu artful/main amd64 libnginx-mod-stream amd64 1.12.1-0ubuntu2 [63.9 kB]
==> default: Get:20 http://archive.ubuntu.com/ubuntu artful/main amd64 nginx-core amd64 1.12.1-0ubuntu2 [393 kB]
==> default: Get:21 http://archive.ubuntu.com/ubuntu artful/main amd64 nginx all 1.12.1-0ubuntu2 [3,578 B]
==> default: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> default: Fetched 3,157 kB in 2s (1,227 kB/s)
==> default: Selecting previously unselected package libjpeg-turbo8:amd64.
==> default: (Reading database ...
==> default: (Reading database ... 5%
==> default: (Reading database ... 10%
==> default: (Reading database ... 15%
==> default: (Reading database ... 20%
==> default: (Reading database ... 25%
==> default: (Reading database ... 30%
==> default: (Reading database ... 35%
==> default: (Reading database ... 40%
==> default: (Reading database ... 45%
==> default: (Reading database ... 50%
==> default: (Reading database ... 55%
==> default: (Reading database ... 60%
==> default: (Reading database ... 65%
==> default: (Reading database ... 70%
==> default: (Reading database ... 75%
==> default: (Reading database ... 80%
==> default: (Reading database ... 85%
==> default: (Reading database ... 90%
==> default: (Reading database ... 95%
==> default: (Reading database ... 100%
==> default: (Reading database ...
==> default: 67974 files and directories currently installed.)
==> default: Preparing to unpack .../00-libjpeg-turbo8_1.5.2-0ubuntu5_amd64.deb ...
==> default: Unpacking libjpeg-turbo8:amd64 (1.5.2-0ubuntu5) ...
==> default: Selecting previously unselected package libjbig0:amd64.
==> default: Preparing to unpack .../01-libjbig0_2.1-3.1_amd64.deb ...
==> default: Unpacking libjbig0:amd64 (2.1-3.1) ...
==> default: Selecting previously unselected package libxcb1:amd64.
==> default: Preparing to unpack .../02-libxcb1_1.12-1ubuntu1_amd64.deb ...
==> default: Unpacking libxcb1:amd64 (1.12-1ubuntu1) ...
==> default: Selecting previously unselected package libx11-data.
==> default: Preparing to unpack .../03-libx11-data_2%3a1.6.4-3_all.deb ...
==> default: Unpacking libx11-data (2:1.6.4-3) ...
==> default: Selecting previously unselected package libx11-6:amd64.
==> default: Preparing to unpack .../04-libx11-6_2%3a1.6.4-3_amd64.deb ...
==> default: Unpacking libx11-6:amd64 (2:1.6.4-3) ...
==> default: Selecting previously unselected package fonts-dejavu-core.
==> default: Preparing to unpack .../05-fonts-dejavu-core_2.37-1_all.deb ...
==> default: Unpacking fonts-dejavu-core (2.37-1) ...
==> default: Selecting previously unselected package fontconfig-config.
==> default: Preparing to unpack .../06-fontconfig-config_2.11.94-0ubuntu2_all.deb ...
==> default: Unpacking fontconfig-config (2.11.94-0ubuntu2) ...
==> default: Selecting previously unselected package libfontconfig1:amd64.
==> default: Preparing to unpack .../07-libfontconfig1_2.11.94-0ubuntu2_amd64.deb ...
==> default: Unpacking libfontconfig1:amd64 (2.11.94-0ubuntu2) ...
==> default: Selecting previously unselected package libjpeg8:amd64.
==> default: Preparing to unpack .../08-libjpeg8_8c-2ubuntu8_amd64.deb ...
==> default: Unpacking libjpeg8:amd64 (8c-2ubuntu8) ...
==> default: Selecting previously unselected package libtiff5:amd64.
==> default: Preparing to unpack .../09-libtiff5_4.0.8-5ubuntu0.1_amd64.deb ...
==> default: Unpacking libtiff5:amd64 (4.0.8-5ubuntu0.1) ...
==> default: Selecting previously unselected package libwebp6:amd64.
==> default: Preparing to unpack .../10-libwebp6_0.6.0-3_amd64.deb ...
==> default: Unpacking libwebp6:amd64 (0.6.0-3) ...
==> default: Selecting previously unselected package libxpm4:amd64.
==> default: Preparing to unpack .../11-libxpm4_1%3a3.5.12-1_amd64.deb ...
==> default: Unpacking libxpm4:amd64 (1:3.5.12-1) ...
==> default: Selecting previously unselected package libgd3:amd64.
==> default: Preparing to unpack .../12-libgd3_2.2.5-3_amd64.deb ...
==> default: Unpacking libgd3:amd64 (2.2.5-3) ...
==> default: Selecting previously unselected package nginx-common.
==> default: Preparing to unpack .../13-nginx-common_1.12.1-0ubuntu2_all.deb ...
==> default: Unpacking nginx-common (1.12.1-0ubuntu2) ...
==> default: Selecting previously unselected package libnginx-mod-http-geoip.
==> default: Preparing to unpack .../14-libnginx-mod-http-geoip_1.12.1-0ubuntu2_amd64.deb ...
==> default: Unpacking libnginx-mod-http-geoip (1.12.1-0ubuntu2) ...
==> default: Selecting previously unselected package libnginx-mod-http-image-filter.
==> default: Preparing to unpack .../15-libnginx-mod-http-image-filter_1.12.1-0ubuntu2_amd64.deb ...
==> default: Unpacking libnginx-mod-http-image-filter (1.12.1-0ubuntu2) ...
==> default: Selecting previously unselected package libnginx-mod-http-xslt-filter.
==> default: Preparing to unpack .../16-libnginx-mod-http-xslt-filter_1.12.1-0ubuntu2_amd64.deb ...
==> default: Unpacking libnginx-mod-http-xslt-filter (1.12.1-0ubuntu2) ...
==> default: Selecting previously unselected package libnginx-mod-mail.
==> default: Preparing to unpack .../17-libnginx-mod-mail_1.12.1-0ubuntu2_amd64.deb ...
==> default: Unpacking libnginx-mod-mail (1.12.1-0ubuntu2) ...
==> default: Selecting previously unselected package libnginx-mod-stream.
==> default: Preparing to unpack .../18-libnginx-mod-stream_1.12.1-0ubuntu2_amd64.deb ...
==> default: Unpacking libnginx-mod-stream (1.12.1-0ubuntu2) ...
==> default: Selecting previously unselected package nginx-core.
==> default: Preparing to unpack .../19-nginx-core_1.12.1-0ubuntu2_amd64.deb ...
==> default: Unpacking nginx-core (1.12.1-0ubuntu2) ...
==> default: Selecting previously unselected package nginx.
==> default: Preparing to unpack .../20-nginx_1.12.1-0ubuntu2_all.deb ...
==> default: Unpacking nginx (1.12.1-0ubuntu2) ...
==> default: Processing triggers for ufw (0.35-5) ...
==> default: Processing triggers for ureadahead (0.100.0-20) ...
==> default: Setting up libjbig0:amd64 (2.1-3.1) ...
==> default: Setting up fonts-dejavu-core (2.37-1) ...
==> default: Setting up nginx-common (1.12.1-0ubuntu2) ...
==> default: Created symlink /etc/systemd/system/multi-user.target.wants/nginx.service -> /lib/systemd/system/nginx.service.
==> default: Setting up libjpeg-turbo8:amd64 (1.5.2-0ubuntu5) ...
==> default: Processing triggers for libc-bin (2.26-0ubuntu2.1) ...
==> default: Processing triggers for systemd (234-2ubuntu12.4) ...
==> default: Setting up libnginx-mod-mail (1.12.1-0ubuntu2) ...
==> default: Processing triggers for man-db (2.7.6.1-2) ...
==> default: Setting up libnginx-mod-http-xslt-filter (1.12.1-0ubuntu2) ...
==> default: Setting up libxcb1:amd64 (1.12-1ubuntu1) ...
==> default: Setting up libnginx-mod-http-geoip (1.12.1-0ubuntu2) ...
==> default: Setting up libx11-data (2:1.6.4-3) ...
==> default: Setting up libwebp6:amd64 (0.6.0-3) ...
==> default: Setting up libjpeg8:amd64 (8c-2ubuntu8) ...
==> default: Setting up fontconfig-config (2.11.94-0ubuntu2) ...
==> default: Setting up libnginx-mod-stream (1.12.1-0ubuntu2) ...
==> default: Setting up libx11-6:amd64 (2:1.6.4-3) ...
==> default: Setting up libtiff5:amd64 (4.0.8-5ubuntu0.1) ...
==> default: Setting up libxpm4:amd64 (1:3.5.12-1) ...
==> default: Setting up libfontconfig1:amd64 (2.11.94-0ubuntu2) ...
==> default: Setting up libgd3:amd64 (2.2.5-3) ...
==> default: Setting up libnginx-mod-http-image-filter (1.12.1-0ubuntu2) ...
==> default: Setting up nginx-core (1.12.1-0ubuntu2) ...
==> default: Setting up nginx (1.12.1-0ubuntu2) ...
==> default: Processing triggers for ureadahead (0.100.0-20) ...
==> default: Processing triggers for ufw (0.35-5) ...
==> default: Processing triggers for libc-bin (2.26-0ubuntu2.1) ...

 

4 - Consultons le navigation à l'url http://localhost:8080/

Welcome to nginx!