How to host a Wordpress website on a VM simply

  • Create a Ubunutu 20.04 VM
  • Run the following commands via SSH

sudo apt-get update && sudo apt-get upgrade -y

wget -qO ee rt.cx/ee4 && sudo bash ee

sudo ee site create website.com –type=wp –admin-user=admin –admin-pass=password

sudo ee site update website.com –ssl=le
//for SSL

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store