Provision Local Virtual Machine
type
status
date
slug
summary
tags
category
icon
password
Install Vagrant

Restart the computer after installation, then open
PowerShell and type vagrant to check if it is installed.Install Virtual Box
Clicking on
Windows hosts will automatically start the download.
Create a folder
- Create a folder named
vagrantin theDocumentsfolder
- Create a folder
nginx-handbookin thevagrantfolder
- Create a folder
Vagrantfilein thenginx-handbookfolder
I recommend using
Notepad++ to open the Vagrantfile, and then input the content below.Start the virtual machine
Open
PowerShellCheck the virtual machine status
Enter the virtual machine
Customize the virtual machine domain
Add the following content to the end of the document
Stop the virtual machine
Destroy the virtual machine
More Vagrant commands
The next step
Now that you have a functioning Ubuntu virtual machine on your system, all that is left to do is install NGINX.
Reference articles
Loading...
Last update: 2024-08-22

