- A nginx web server
- serving default web page
- A fully updated and upgraded ubuntu server 22.04 LTS
- target x86_64 architecture
- fully automated in shell scripts
- local dev environment in multipass VM
- fully documented process (THE BEST)
- ubuntu server 22.04 LTS
- hypervisor: multipass (virtualbox, QEMU)
- web server (nginx)
- package manager (apt, brew, chocolatey)
- text editor (nano)
First we create a vm. using our create script. second we deploy our webserver script. The create and destroy vm scripts are divided by operating system.
Mac:
zsh darwin-create-vm.sh
Linux:
bash linux-create-vm.sh
Windows:
set-executionpolicy bypass -scope process -force; .\windows-create-vm.ps1
bash webserver.sh
on the VM
curl localhost
from your local workstation (not the VM) open http://VMIP in your browser
Mac
zsh destroy-vm.sh
Linux
bash destroy-vm.sh
Windows
./destroy-vm.ps1