Setting Up the Time Zone and NTP on Ubuntu 14.04 Print

  • 0

Why is setting the time zone important?

Setting up your server's clock and time zone properly is to ensure that your server is operating under the correct time zone and is essential in ensuring the healthy operation of your system.

1. Configuring the Time Zone

# sudo dpkg-reconfigure tzdata

By using this command, you will be asked to change your geographic region. After selecting an area, you will have the ability to choose the specific time zone for your system. The results will be printed to the screen.

Current default time zone: 'Asia/Manila'
Local time is now: Sun Jan 15 15:05:24 PHT 2017
Universal Time is now: Sun Jan 15 07:05:24 UTC 2017

2. Install NTP

# sudo apt-get update
# sudo apt-get install ntp

Note: NTP will start automatically each boot to adjust the system time.

Was this answer helpful?

« Back