How to Configure Time Zone and System Clock in Linux

Published on:

|

Categories: ,

|

Modified Date:

In this video, we will look at how to change your time zone settings in Linux and how to use NTP to sync the Linux system clock to your time zone.




Commands:
date
sudo dpkg-reconfigure tzdata
sudo ln -sf /usr/share/zoneinfo/
sudo ln -sf /usr/share/zoneinfo/your-geographic-area/your-city /etc/localtime
timedatectl
timedatectl set-local-rtc 0
timedatectl set-local-rtc 1
sudo timedatectl set-ntp true
timedatectl status
sudo systemctl status systemd-timesyncd
sudo systemctl enable –now chrony
sudo systemctl status chrony



Chapters:
0:00 Intro
0:23 Check Time Zone Settings
0:39 Change Time Zone on Debian-based Linux Distros
1:10 A Distro-Agnostic Way to Change Time Zone Settings
1:58 Real-Time Clock
2:44 Synchronize System Clock to Your Time Zone
3:25 Chrony
4:25 End screen



What you will learn:
1. Check Time Zone Settings
a. How to Check the current time zone settings
2. Change Time Zone on Debian-based Linux Distros
a. How to change your time zone settings
b. How to change your system clock to your time zone clock
3. A Distro-Agnostic Way to Change Time Zone Settings
a. How to make a list of geographical areas appear
b. How to make a list of city appear
c. How to create a symbolic link pointing /etc/localtime file to your specific time zone file
d. How to update your system clock immediately
4. Real-Time Clock
a. How to find out RTC time on your computer
b. How to fix if the RTC time is inaccurate
c. How To make your system read RTC time in UTC standard
d. How To let your system read RTC time in the local time zone
5. Synchronize System Clock to Your Time Zone
a. How to provide accurate time on your network
b. How to enable NTP synchronization
c. How to enable the systemd-timesyncd service
d. How to see if the system clock is synchronized and NTP service is enabled
e. How to check the status of timesyncd
6. Chrony
a. What to do if system clock can’t be synced to an NTP server
b. How to install chrony
c. How to start and check the status of chrony















Song: Jean Anns Santiago – Sad (Vlog No Copyright Music)
Music provided by Vlog No Copyright Music.
Video Link: https://youtu.be/Z17YZNM79lw

#computereverywhere #howto #configure #timezone #system #clock #linux

Posted by

in

,

Leave a Reply

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