NixUser

NixUser.com | Unix User | Linux User | NixUser

Update VPS Timezone – OpenVZ

Your OpenVZ will have the host server’s time settings by default.

But it is possible to configure your VPS to use a custom timezone which you are on or your user is on.

Log in as the root user via ssh and run the following command to list all available timezones:

$ ls /usr/share/zoneinfo/

and note the region where you reside

Once you have selected a timezone, create a symbolic link to /etc/localtime:

$ ln -sf /usr/share/zoneinfo/<region>/<timezone>  /etc/localtime

Then use date command to verify the time zone.