ServerTune cPanel and DirectAdmin LicensingServer Management PlansVirtual Private ServersDedicated Servers
Line HomeAbout ServerTuneContact usTechnical SupportKBResellersSpecial Promotions
Space
Login |
Space
Accessing ServerTune's Knowledgebase

Serious about business? check this out:

Issues, Tips, and Solutions
Space
Search:    Advanced search
Browse by category:
| Glossary |
How can I change my VPS time or timezone?
Printer Friendly
email to a friend
Add comment Add comment
Views: 278
Votes: 0
Comments: 0
Posted: 03 Jun, 2007
by: Support T.
* * * * *
Updated: 03 Jun, 2007
by: Support T.
  1. Stop VPS:
    /usr/sbin/vzctl stop 12345
  2. in HD node, run:
    /usr/sbin/vzctl set 12345 --capability sys_time:on --save
  3. Start VPS:
    /usr/sbin/vzctl start 12345
  4. 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!

Other articles in this Category
document Downloads
document Documentation and HowTo
document Technical Support
document Can I install two VPSs with two different Operation Systems such as: Windows OS and Linux OS on the same dedicate server?
document HowTo :: change or add an IP for a VPS
document HowTo :: change the hostname
document HowTo :: starting, stopping, restarting, and querying status of VPS
document HowTo :: Listing existing VPSs
document HowTo: determine load and memory usage for your VPS
document Unable to open pty: No such file or directory



RSS