Sync Time with NTP Linux Server

0 Comments

How To Set or Change Timezone on Ubuntu 20.0

Using the correct timezone is essential for many systems related tasks and processes. For example, the cron daemon uses the system’s timezone for executing cron jobs, and the timestamps in the log files are based on the same system’s timezone.

On Ubuntu, the system’s timezone is set during the install, but it can be easily changed at a later time.

Follow bellow commands in order to activate time sync and set time zone:

timedatectl
cat /etc/timezone
sudo timedatectl set-timezone Europe/Berlin
timedatectl
sudo timedatectl set-ntp off
sudo timedatectl set-ntp on
Categories:

Leave a Reply

Your email address will not be published. Required fields are marked *