| How can I change my VPS time or timezone? |
 |
|
 |
|
 |
Add comment
|
|
|
|
Views: 278
Votes: 0
Comments: 0
|
Posted: 03 Jun, 2007
by: Support T.
* * * * *
Updated: 03 Jun, 2007
by: Support T. |
|
- Stop VPS:
/usr/sbin/vzctl stop 12345
- in HD node, run:
/usr/sbin/vzctl set 12345 --capability sys_time:on --save
- Start VPS:
/usr/sbin/vzctl start 12345
- Enter VPS:
/usr/sbin/vzctl enter 12345
mv /etc/localtime /etc/localtime.old
ln -s /usr/share/zoneinfo/America/Chicago /etc/localtime
date 092115442006 (09 = Month, 21 = day, 15 = hour, 44=minutes, 2006 = year)
At the VPS prompt, run the command: date to check your time is right. That's all!
|