CrownCloud Wiki

CrownCloud - Internet Services

User Tools

Site Tools


To change the timezone in OpenVZ, you will need to create a symbolic link from /usr/share/zoneinfo to the /etc/localtime file on your server.

Note: These will need to be run as the root user

Firstly, you will need to remove /etc/localtime:

rm -rf /etc/localtime

Secondly, all you need to do is create a symbolic link to your timezone replacing /etc/localtime. For example, if you live in Chicago you will need to run:

ln -s /usr/share/zoneinfo/America/Chicago /etc/localtime

Or, if you live in Amsterdam:

ln -s /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime

After that, you should have your local timezone synced with your OpenVZ server.

change_timezone_openvz.txt · Last modified: 2016/09/04 18:24 by jordan