Configuring the time zone

Lastly, we should configure all our servers to use the UTC time zone. Using a single time zone prevents us from having to keep track of which server is on which time zone when accessing multiple servers at the same time:

hobnob@hobnob:$ sudo dpkg-reconfigure tzdata

After you have run the command, you'll be presented with the following screen. Use your up/down arrow keys to select None of the above. Then, use your left/right arrow keys to select OK and press Return:

On the next screen, select UTC, which stands for Universal Time Coordinated:

You should get a confirmation on your Terminal:

Current default time zone: ...

Get Building Enterprise JavaScript Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.