hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting : Web Hosting Tutorials : how to config Server Time in directadmin
Reply

Web Hosting Tutorials Tutorials related to shared hosting.
Forum Jump

how to config Server Time in directadmin

Reply Post New Thread In Web Hosting Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 05-08-2012, 07:06 AM
primrose primrose is offline
Disabled
 
Join Date: May 2010
Location: iran-zanjan
Posts: 160

how to config Server Time in directadmin


To set the system clock, use the date command.

For Redhat Systems, use the following format:
Code:
date --set="Mmm DD HH:MM:SS YYYY"
Example:
Code:
date --set="May 08 15:52:29 2012"
For FreeBSD systems, use the following format:
Quote:
date YYMMDDHHMM
Example:
Quote:
date 1205081552
Will set the date/time to 2012, May 8th, 15:52 (3:52pm).

For any operating system, if you have the rdate program, you can simply type:
Code:
rdate -s rdate.directadmin.com
to sync your server with the atomic clock in Boulder, Colorado. Note that if the value set by rdate isn't correct, then you likely have a wrong timezone specified. Commands like system-config-date or redhat-config-date can set it up for you. Else you'd need to create a symbolic link from one of the timezones in /usr/shared/zoneinfo to /etc/localtime, eg:
Code:
mv /etc/localtime /etc/localtime.moved
ln -s /usr/share/zoneinfo/Canada/Mountain /etc/localtime

Reply With Quote


Sponsored Links
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
CSF Config Issues with DirectAdmin chasebug Hosting Security and Technology 1 08-05-2010 01:40 PM
Email arrive with -2 hours difference from server time config. sh4ka Hosting Security and Technology 12 06-16-2009 07:41 AM
SSH Down on DirectAdmin after playing around with sshd config snguyen Hosting Security and Technology 9 01-16-2006 03:45 PM
DirectAdmin Initial Config datruesurfer Hosting Software and Control Panels 5 10-23-2005 01:04 PM
One time Server Config Needed satelliteCiti Employment / Job Offers 3 09-18-2005 06:17 AM

Related posts from TheWhir.com
Title Type Date Posted
SSHD Rootkit in the Wild Blog 2013-02-22 16:44:08
GlobalSign OneClickSSL Plug-in Available with DirectAdmin Web Hosting Control Panel Web Hosting News 2012-08-02 14:21:17
Linux OS CloudLinux Releases Virtualized File System for Shared Web Hosts Web Hosting News 2012-02-16 14:22:51
Hosting Automation Software Provider 1H.com Adds Debian Support Web Hosting News 2011-11-15 21:53:57
Web Hosting Software Firm CloudLinux Releases CloudLinux OS Version 6.1 Web Hosting News 2011-09-13 14:08:49


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?