Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
vps:incorrect-time [2009-12-03 17:16:56]
garrett.plasky created
vps:incorrect-time [2010-05-24 17:36:15]
garrett.plasky
Line 7: Line 7:
 To make this change persist on boot, edit /etc/sysctl.conf and add the following on a new blank line: To make this change persist on boot, edit /etc/sysctl.conf and add the following on a new blank line:
  
-<quote>xen.independent_wallclock = 1</quote>+<q>xen.independent_wallclock = 1</q>
  
 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>+<code console># ntpdate ntp1.ndchost.com</code> 
 + 
 +Syncing your time via NTP is considered good practice to ensure proper server functionality. By default the <c>ntpdate</c> command is not installed, so you will need to add it. The process dependson your distro. For CentOS/RedHat/Fedora Core: 
 + 
 +<code console># yum -y install ntp</code> 
 + 
 +For Ubuntu/Debian: 
 + 
 +<code console># apt-get install ntp</code> 
 + 
 +For **cPanel servers**: 
 + 
 +Log into the WHM and go to Main >> Server Configuration >> Server Time and select //Sync with Time Server//.
 {{tag>vps how-to}} {{tag>vps how-to}}