Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
vps:incorrect-time [2009-12-03 17:17:07] garrett.plasky |
vps:incorrect-time [2011-07-11 23:10:43] (current) garrett.plasky Approved |
||
---|---|---|---|
Line 3: | Line 3: | ||
The VPS system clock is synced with the dom0 (host) clock unless an independent " | The VPS system clock is synced with the dom0 (host) clock unless an independent " | ||
- | <code console># echo 1 > / | + | <sxh shell>echo 1 > / |
To make this change persist on boot, edit / | To make this change persist on boot, edit / | ||
- | <q> | + | <sxh plain> |
Then you may set the time as you desire, or sync it with an NTP server, e.g.: | Then you may set the time as you desire, or sync it with an NTP server, e.g.: | ||
- | <code console># rdate -s rdate.cpanel.net</code> | + | <sxh shell>ntpdate ntp1.ndchost.com</sxh> |
+ | |||
+ | Syncing your time via NTP is considered good practice to ensure proper server functionality. By default the < | ||
+ | |||
+ | <sxh shell> | ||
+ | |||
+ | For Ubuntu/ | ||
+ | |||
+ | <sxh shell> | ||
+ | |||
+ | For **cPanel servers**: | ||
+ | |||
+ | Log into the WHM and go to Main >> Server Configuration >> Server Time and select //Sync with Time Server//. | ||
{{tag> | {{tag> |