Change the timezone on a Virtuzzo VPS (Linux) Print

  • 0

You cannot change system time in a VE because all VEes on the hardware node have the same system time.

However, it is possible to change the default system timezone inside a VE, for example, by replacing /etc/localtime with the file from /usr/share/zoneinfo which contains a description of your timezone.

To change the timezone using SSH directly on the VPS follow these guideliness

To set the timezone for GMT, add the following symbolic link:ln -sf /usr/share/zoneinfo/GMT /etc/localtime

Other way is to directly copy the proper timezone file and overwrite the /etc/localtime file

To set the timezone for GMT, run the following command:

cp /usr/share/zoneinfo/GMT /etc/localtime


Was this answer helpful?

« Back

["\r\n