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

close

Subscribe to my Newsletter

No spam ever

Leave a Reply

Your email address will not be published. Required fields are marked *