Question: first things to do after installing ubuntu server?
Answer: Secure the Root User. This should be the very first thing you do when setting up a fresh install of Ubuntu server. ... 
Secure SSH Access. ... 
Install a Firewall. ... 
Understand What You Are Trying to Accomplish. ... 
Keep the File System Up-To-Date.