GN Latest News

How do I set my server Time Zone.

There are currently 34 “Frequently Asked Questions”
Post Reply
Rob Swan
Site Admin
Posts: 73
Joined: Tue Oct 31, 2017 3:03 pm
Location: UK
Contact:

How do I set my server Time Zone.

Post by Rob Swan »

NOTE:-
You should have been able to set your server time zone during the EHCP force install process, however if for some reason this failed, here is how to do it manually.

First login to your server using your PC and PuTTY.

Enter this command to find out what time zone your server has set.
sudo timedatectl

As always you may have to re-enter your password.

Image

In this example, the server local time is set to Europe/London (GMT, +0000).

If your time zone is wrong, you should change it!

Each time zone available has a specific name, we need to know the exact syntax for Ubuntu. We will have to scroll through all the available time zones until we find the correct one. Don’t worry this is less time consuming than it sounds.

Ok, to list all the available time zones enter this command.
sudo timedatectl list-timezones

Image

As you can see the list starts with Africa, in order to move through the list, keep pressing the down arrow on your keyboard.

Image

When you find the one that you need, simply highlight it with the mouse (this is the same as pressing Copy in Windows).

My time zone is: - Europe/London

Image

Once your time zone is highlighted (like in the picture) you can press CTRL + C to exit the list.

Next type this command but do not press enter.
sudo timedatectl set-timezone

Followed by a space.

Image

Now right click on the green cursor (this will paste in your time zone).

Image

Now you can press Enter!

That should be it done, we can check by entering this command again.

sudo timedatectl

Image


Last bumped by Rob Swan on Wed Feb 28, 2018 4:01 pm.
Post Reply