Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2012
    Posts
    40

    How to config Server Time in Directadmin

    FatCow Web Hosting
    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="November 08 15:52:29 2012"
    For FreeBSD systems, use the following format:

    Code:
    date 1205081552
    Will set the date/time to 2012, November 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

  2. #2
    Join Date
    Dec 2012
    Posts
    25
    Thank you, was searching for that

  3. #3
    Nice post man, I was looking for this!

  4. #4
    Join Date
    Jun 2013
    Location
    http://www.hostforlife.eu
    Posts
    133
    Thank you for your nice tutorial.
    HostForLIFE.eu - Premier European Windows Hosting
    Windows Hosting | Shared Hosting | Cloud Hosting
    SPOTLIGHT Award from Microsoft

  5. #5
    Excellent tutorial. Thumbs up

Similar Threads

  1. Replies: 0
    Last Post: 09-17-2013, 07:31 PM
  2. Replies: 0
    Last Post: 09-14-2013, 04:27 AM
  3. Replies: 0
    Last Post: 07-17-2013, 07:13 PM
  4. RAID config query
    By LadyMO in forum VPS, Dedicated & Colocation Hosting
    Replies: 0
    Last Post: 10-03-2012, 02:23 AM
  5. Synchronize Your Red Hat Linux Server/System Clock/Time using rdate
    By jackjones in forum Hosting Security and Technology
    Replies: 0
    Last Post: 09-08-2012, 01:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Footer

Powered by vBulletin® Version 4.2.2
Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.
Webhosting Market 2012 - 2016