Linux & Apache Server – Set Local Time to London, UK, Europe

Robin ScottTutorials1 Comment

A quick and simple command you might need from time-to-time if you’re running apache webservers in one or other linux flavour.

We often grab EC2 instances on Amazon, for example, for our clients and, for various reasons, we want the server to know what time it is here in the UK!

So here’s the command to do so:

ln -sf /usr/share/zoneinfo/Europe/London localtime

Leave a comment below if you’d like to know more, or something related to this.

One Comment on “Linux & Apache Server – Set Local Time to London, UK, Europe”

  1. As ever, if you’re using Amazon Linux, which is mainly CentOS, you’ll need to sudo before that command. Type “sudo -i” and hit enter before doing anything from PuTTy to do this for all your commands…

Leave a Reply

Your email address will not be published. Required fields are marked *