Previously I already got my VPS registered on linode, got the domain from namecheap, and DNS configured.
I rebuilt the linode VPS from Ubuntu 18.04 LTS Image, and then following some tutorials linked below:
To add a sudoer user, I did the following to skip entering password when executing sudo:
# useradd <user> # passwd <user> # echo "<user> ALL=(ALL) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/<user>
Then to install WordPress:
Also as the tutorial mentioned, I set up the LEMP stack and SSL with Let’s Encrypt first.