Provision Local Virtual Machine

type
status
date
slug
summary
tags
category
icon
password

Install Vagrant

notion image
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.
notion image

Create a folder

  1. Create a folder named vagrant in the Documents folder
  1. Create a folder nginx-handbook in the vagrant folder
  1. Create a folder Vagrantfile in the nginx-handbook folder
 
I recommend using Notepad++ to open the Vagrantfile, and then input the content below.

Start the virtual machine

Open PowerShell

Check 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

 
Database Table ManagementInstall Nginx
Loading...
Catalog