How to install WordPress on VPS with SSH

The most common way of installing WordPress is by downloading the zip file and uploading it to your server using an FTP client. But this is not the safest way, in this tutorial I teach how to install WordPress via SSH. There are many tutorials teaching how to connect via SSH so I’ll skip this step.