Installazione di Vagrant and Virtual Box su Ubuntu 17.04

Installazione, configurazione e uso di programmi e strumenti.
anto2017
Prode Principiante
Messaggi: 6
Iscrizione: sabato 22 aprile 2017, 7:33
Sesso: Maschile

Installazione di Vagrant and Virtual Box su Ubuntu 17.04

Messaggio da anto2017 »

Buongiorno,
sto cercando di gestire una VM sulla quale far girare un web server per le esercitazioni di un corso online. Sto cercando di usare vagrant per configurare questa virtual machine.
Ho clonato la virtual machine da un repo git e ho tentato di lanciare il comando vagrant up.
Quello che ho ottenuto dopo un po' di process è un msg piuttosto criptico in ROSSO che parla di BIos. COs'è che non è andato? Grazie per l'aiuto

Codice: Seleziona tutto

antonellocorsi@antonello-ThinkPad-X250:~/fullstack/vagrant$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/xenial32' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Loading metadata for box 'ubuntu/xenial32'
    default: URL: https://atlas.hashicorp.com/ubuntu/xenial32
==> default: Adding box 'ubuntu/xenial32' (v20170423.0.0) for provider: virtualbox
    default: Downloading: https://atlas.hashicorp.com/ubuntu/boxes/xenial32/versions/20170423.0.0/providers/virtualbox.box
==> default: Successfully added box 'ubuntu/xenial32' (v20170423.0.0) for 'virtualbox'!
==> default: Importing base box 'ubuntu/xenial32'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'ubuntu/xenial32' is up to date...
==> default: Setting the name of the VM: vagrant_default_1493019494625_87947
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 8000 (guest) => 8000 (host) (adapter 1)
    default: 8080 (guest) => 8080 (host) (adapter 1)
    default: 5000 (guest) => 5000 (host) (adapter 1)
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "a1dcbfcd-5f14-4b28-9696-fcd081c59641", "--type", "headless"]

Stderr: VBoxManage: error: VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole
Avatar utente
trekfan1
Moderatore Globale
Moderatore Globale
Messaggi: 23402
Iscrizione: domenica 21 maggio 2006, 10:51
Desktop: Gnome
Distribuzione: Ubuntu 23.10 e 24.04 (dev)
Sesso: Maschile
Località: Formigine (MO) | Accecante Asceta

Re: Installazione di Vagrant and Virtual Box su Ubuntu 17.04

Messaggio da trekfan1 »

Devi abilitare le caratteristiche di virtualizzazione nel BIOS della macchina REALE
Scrivi risposta

Ritorna a “Applicazioni”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 24 ospiti