Results 1 to 5 of 5

Thread: Setting the clock

  1. #1
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528

    Setting the clock

    I received the following as a Private Message, and it seems like a useful general question for the forum. It's posted here without attribution, as I don't have the sender's permission.
    I think i accidentally set the clock incorrectly... now i don't know how to change it back >.<
    It's easily done, with root permissions. First set the System Time (from the lxterm):
    Code:
    sudo time-admin
    You'll probably want to set the TimeZone as well as the time where you live. The sudo means that the system admin ("root") is authorizing this, rather than a less-privileged user ("knoppix"). Second, set the Hardware Clock to the System Clock time:
    Code:
    sudo hwclock -w 
    or 
    sudo hwclock --systohc
    This will cause the system to keep the clock setting from the current session in future "boots."

    Cheers!
    Krishna
    Last edited by krishna.murphy; 07-25-2010 at 03:03 PM. Reason: Clarity

  2. #2
    Junior Member
    Join Date
    Jul 2010
    Posts
    22
    Thanks
    I will try this right away

  3. #3
    Junior Member
    Join Date
    Jul 2010
    Posts
    22
    hmm... it says... time-admin: command not found... hwclock works... tho... still trying to set to the correct time zone...

  4. #4
    Junior Member
    Join Date
    Jul 2010
    Posts
    22
    $ ln -sf /usr/share/zoneinfo/America/Los_Angeles /etc/localtime

    this worked !!!! haha... didn't think of using a command line to fix it... thought there would be some kind of UI for that >.<

  5. #5
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    private messages don't reach me as I don't read them.

Posting Permissions

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


Dell R730 w/ 2x E5-2650v3 10c, 192GB (12x16GB) RAM, H730 Mini, 2x 750W PSU picture

Dell R730 w/ 2x E5-2650v3 10c, 192GB (12x16GB) RAM, H730 Mini, 2x 750W PSU

$499.99



Dell EMC NX3230 Server picture

Dell EMC NX3230 Server

$449.99



Dell PowerEdge R340 w/ 1x Xeon E-2126G, 16GB (2x8) RAM,  H730P picture

Dell PowerEdge R340 w/ 1x Xeon E-2126G, 16GB (2x8) RAM, H730P

$500.00



Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS picture

Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS

$712.98



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$89.99



HP Proliant DL160 GEN9 2x Xeon E5-2620 V4 2.10GHZ 32GB DDR4-2133MHZ 2x 550W PSU picture

HP Proliant DL160 GEN9 2x Xeon E5-2620 V4 2.10GHZ 32GB DDR4-2133MHZ 2x 550W PSU

$100.95



Dell R630 Server 2x E5-2620 V4 2.1GHz =16 Cores 128GB DDR4 1x 960GB 2x 1G 2x 10G picture

Dell R630 Server 2x E5-2620 V4 2.1GHz =16 Cores 128GB DDR4 1x 960GB 2x 1G 2x 10G

$210.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$284.00



HP ProLiant ML350 Gen 9 Server 64GB RAM 2.4GHz Xeon 12-Core E5-2667 v3 picture

HP ProLiant ML350 Gen 9 Server 64GB RAM 2.4GHz Xeon 12-Core E5-2667 v3

$399.99