We all get to work with Linux servers at sometime of our development career. Configuring a newly obtained CLI server (such as - linode, digitalocean, vultr etc.) can be confusing for the new comers as well as one who already knows how to configure one. Here I will try to discuss the steps to go along while configuring a fresh server.
If its a new server and you have access to the server as a root user, then you should add a new user which will prevent direct root access.
adduser