Change the timezone on a Virtuzzo VPS (Linux)

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?

 Print this Article

Also Read

Install DNS server (bind9) on VPS or Cloud – Windows

IF YOU ARE NOT FAMILIAR WITH MANUALLY INSTALL AND EDIT OF NAMESERVERS, WE SUGGEST YOU TO GET...

VPS advantages as compared to personal/shared hosting

A VPS or Virtual Private Server has various advantages in comparison to a personal or shared...

I can’t access my VPS, what do I do?

If for whatever reason you are unable to access your VPS we do recommend that the first thing you...

How to install PEAR at CHROMEIS VPS?

For more information on how you can install PEAR for your account please, check the following...

Repairing or Re-installing a VPS through Virtuzzo Panel

Please do NOT perform any of the maintenance operations in your Virtuozzo Panel. Do NOT use...