Setting Up the Time Zone and NTP on Ubuntu 14.04

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.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How do I manage my VPS Server?

We provide you with a very simple interface for controlling your VPS hosting with unmetered...

How to install MySQL

Here is a step by step how to install MySQL and secure it for your unlimited bandwidth VPS. You...

How to Install Apache2 and PHP5 on Ubuntu

Installing Apache2 and PHP5 is super simple on Ubuntu: # apt-get install apache2# apt-get...

How to Install MySQL on Ubuntu

Learn how to install MySQL on your DDoS protected dedicated server or DDoS protected VPS if...

Installing Node.js on CentOs 5

Installing node.js on a cheap VPS with unlimited bandwidth is pretty simple. For more information...