Set Time of your server right

Safaetul Ahasan
Oct 23, 2023

Install this package to get the clock of your server right:

sudo apt install aptitude
sudo aptitude install ntp

Then define your time zone (the one where your server is located):

sudo dpkg-reconfigure tzdata

After you see following window.

Step 01
Step 02
Step 03
date
timedatectl

--

--