By default, our OS templates when you create your server come with a full LAMP stack. To update it to the latest version, you may use the following commands, depending on the Linux distribution you have chosen:
CentOS: yum update
Ubuntu: sudo apt-get upgrade