For people pulling their hair out trying to get their Virtuozzo VPS to display the time they want and can’t figure out why the usual commands are not working, it is because the time is managed by Virtuozzo from the hardware node. So no matter what you try to do to change the time through the date command or even trying to install ntp the time will never be what you want it to be if the hardware node is different. In order to change your timezone, you should setup the correct symbolic link to the timezone you want to the /etc/localtime file To start, you should create a backup of your /etc/localtime file by running this command:

cp /etc/localtime /etc/localtime.bk

To set the timezone for EST, add a symbolic link:

ln -s /usr/share/zoneinfo/EST /etc/localtime

You can also directly copy the proper timezone file and overwrite the /etc/localtime file.

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

cp /usr/share/zoneinfo/EST /etc/localtime

Sorry, comments are closed.