This guide is meant to recommend things you ought to do on a fresh ubuntu server install. These include securing the server and configuring it with the best practices.
Update the system
First things first - check if your machine is running the latest components and features provided
|
|
Install common software packages
|
|
Set hostname
|
|
Enable Firewall
UFW is the built-in Firewall for Ubuntu and it is highly reliable one. By default it is not enabled and you have to enable it manually. Simply follow these steps to enable it on your Ubuntu.
To Enable
|
|
To Manage it in GUI
|
|
To Disable
|
|
Configure timezone
Set up the server timezone
Get a list of timezones with this:
|
|
Set your timezone with this command replacing Asia/Dubai
with your timezone
|
|
Typing this command timedatectl
will display timezone display timezone details
|
|
Create a sudo user
|
|
You will be prompted to enter user info and details Add user to sudo
sudo usermod -aG sudo user