+1-416-474-9676 +1-416-474-9676
BUY ONLINE
  • Car Tracking
  • Magnetic GPS Tracker
  • Fleet Tracking
  • Community
    • COVID-19
    • Offers
    • Support
      • Support
      • System Status
      • Issues and Maintenance
    • Partner Program
    • Projects
    • Knowledge Centre
    • Tutorials
    • Blog
    • Hardware
      • GPS Tracker Manufacturers
      • GPS Trackers
      • GPS Tracker Protocols
  • Company
    • Contact
    • About us
    • Location
    • Careers
    • Press Release
    Checkout or continue shopping!

View Cart Checkout My Account

  • flagen

How to set up timezone on Ubuntu 18.04

Thursday, July 23rd, 2020James

We at YodiYil believe in trying new ideas and sharing our learning, data and results. We proactively document and share our resources in the form of tutorials for anyone to use or contribute to.

It is very important to set your server's time and timezone correct to ensure that your application or services work seamlessly with accurate timestamps. In this tutorial we will show you how to configure and set the timezone on an Ubuntu 18.04 server.

Step 1 Get the list of timezones

timedatectl list-timezones

Step 2 Set the timezone

sudo timedatectl set-timezone America/New_York (replace America/New_York with your preferred timezone)

If you work with GPS Trackers and are setting up a GPS Tracking or IOT server that will collect data from multiple IOT devices or trackers, most trackers requires the timezone for your server to be set to UTC you can do so with the following command.

sudo timedatectl set-timezone UTC

Step 3 Verify or check the timezone that has been set

timedatectl

Example Output:

root@server:~# timedatectl
                      Local time: Thu 2020-07-23 21:30:05 UTC
                  Universal time: Thu 2020-07-23 21:30:05 UTC
                        RTC time: Thu 2020-07-23 21:30:06
                       Time zone: UTC (UTC, +0000)
       System clock synchronized: yes
systemd-timesyncd.service active: yes
                 RTC in local TZ: no

Additionally you can also enable NTP Synchronization by running the following commands

sudo apt-get update

sudo apt-get install ntp


Recent Posts

  • Four Uses Of Magnetic GPS Trackers
  • Is it time for you to get a Dashcam?
  • Difference between Cat-M1 (or LTE-M) and NB-IoT
  • What is GPS?
  • COVID-19 and its effects on supply chain management

Menu

  • Home
  • Contact
  • Locations
  • Team members
  • Company

More

  • Support
  • Press Release
  • Blog
  • Partnerships
  • GPS Knowledge Centre

Legal

  • Terms & Conditions
  • Privacy Policy
  • Refund Policy

We are 24/7

We are available 24/7, Reach out to us anytime via chat, email, call!.

YodiYil Logo

6060 Hwy 7, Unit 201A,
Markham, L3P 3A9, Ontario, Canada.

support@yodiyil.com+1 416 880-5654

© 2020 YODIYIL - Advance GPS Tracking Software by YodiYil