Skip to content

Setup Timezone in Ubuntu & Sync your clock

When you install a brand new NIX server, We need to make sure your time zone is accurate, At least I do - I am in EST NY Time zone, I will show you how to set this up. I am assuming you've root shell access sudo…

Sohaib Khan1 min read
Setup Timezone in Ubuntu & Sync your clock

When you install a brand new *NIX server, We need to make sure your time zone is accurate, At least I do - I am in EST NY Time zone, I will show you how to set this up.

I am assuming you've root shell access

Shell2 lines
sudo timedatectl set-timezone America/New_York
sudo timedatectl set-ntp on
PLAINTEXT1 line
timedatectl

Above command will show you , You're exact server time

PLAINTEXT8 lines
root@NS1:~# timedatectl<br>
               Local time: Tue 2019-11-05 22:26:42 EST<br>
           Universal time: Wed 2019-11-06 03:26:42 UTC<br>
                 RTC time: Wed 2019-11-06 03:26:43<br>
                Time zone: America/New_York (EST, -0500)<br>
System clock synchronized: yes<br>
              NTP service: active<br>
          RTC in local TZ: no

Was this worth your time?

Continue reading

Full archive

17 min read

Automating Proxmox VM Deployment

In the world of virtualization and infrastructure management, efficiency is everything. Today, I'm excited to share our latest automation script that transforms the traditionally manual process of creating virtual…

5 min read

DocFlux 2.0: A PDF Knowledge Base

In this post, I’ll walk you through the journey of building DocFlux 2.0, a robust PDF knowledge base application using Python, FastAPI, and cutting-edge NLP tools like OpenAI’s API. We’ll also cover how the frontend…