You can read these articles. Install Ubuntu Server · How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 16.04 …

Ubuntu VPS Hosting via Ubuntu Server complete installation.