How to Change a Time Zone on a VPS Server?
When you buy a new VPS server, it usually comes with a default time zone, which is used in whole Node. It is very hard to read log files when the default time zone differs from your local one. The solution is to change the time zone for your VPS server.
Log in as root and type the following command:
Now you are going to get a list of available time zones:
For example, if you want to change your time zone to London, United Kingdom, you will have to run the following command:
Afterwards, your time zone will be changed. Let’s check:
That’s it for today!