• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Michele Neylon :: Pensieri

Michele Neylon :: Pensieri

Technology, Marketing, Domains, Thoughts

Changing Server Timezone On Ubuntu

March 17, 2008 by Michele Neylon 4 Comments

This is another one of those “I know this, but I can never remember how” type things.

I’m currently reconfiguring a machine on the other side of the globe, so I want to get it to work to IST instead of EST.

A quick google brought up a rather complex way of doing it which sounded really wrong to me, so I refined my query and found the sane solution in the Ubuntu documentation.

Simply run the following command as root (or using “su”):
dpkg-reconfigure tzdata

And just follow the instructions.

No silly reboots or other craziness required.

To keep your server's time in sync with the rest of civilisation setup a cronjob to poll an ntp server once every 24 hours:
 /usr/sbin/ntpdate yourfavouritentpserveraddress

Problem solved 🙂

Related Posts:

  • rhubarb-strawberry-crumble
    Enjoying the Harvest From my Garden Already
  • 287022274_1210906719659909_5337755996671210927_n
    A Glut of Cucumbers
  • Video thumbnail for youtube video zbg4wxpkje4
    Irish Around the World for St Patrick's Day
  • computer-code-screens
    Dodgy WordPress Developer Tactics
  • Photo of old hand written letters on a desk with some pencils and pens
    I Sometimes Yearn For Simpler Times
  • Video thumbnail for youtube video 564u39pjfui
    Thunderstruck Cover

Filed Under: Linux, Open Source, Techie :: Techno ::, Ubuntu Tagged With: Ubuntu

Michele is founder and CEO of Irish hosting provider and domain name registrar Blacknight. Read More…

Reader Interactions

Comments

  1. Steve Burke says

    March 18, 2008 at 9:33 am

    tzconfig does the job too.

  2. Donncha O Caoimh says

    March 18, 2008 at 10:32 am

    Nice tip. Last time I did that I went editing files in /etc/

  3. Michele Neylon says

    March 18, 2008 at 11:23 am

    @Steve – I’d forgotten about that option
    @Donncha – that would fall into the “in”sane type of solution in my book 🙂

  4. Rahood says

    March 18, 2008 at 2:17 pm

    “To keep your server’s time in sync with the rest of civilisation setup a cronjob to poll an ntp server once every 24 hours:”
    The Tardis hurt Trinity hard in that we had to push those requests off into /null
    Have a look at
    /etc/ntp.conf
    Ubuntu knows about this …you are not the 1st.
    http://www.pool.ntp.org/
    Take your pick

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

dotblog founder

Mastodon

Archives

  • Bluesky
  • Instagram
  • Threads
  • Twitter

Pages

  • About Me
  • About This Site
  • Archives
  • Comments Policy
  • Contact Me
  • Newsletter
  • Privacy

Blogroll

  • Paul Savage – BlackDog SEO
  • Tom Doyle
  • Grandad
  • Technology.ie Podcast
  • Stewart Curry

Stalking Links

Subscribe to Michele Neylon :: Pensieri

Blogroll

  • Blacknight Blog
  • Damien Mulley
  • Gianni Ponzi
  • Gordon Hudson
  • Grandad
  • My Mastodon
  • Paul Savage – BlackDog SEO
  • Stewart Curry
  • Technology.ie Podcast
  • Tom Doyle

Sites

  • Business Travel Tips
  • Discount Coupon Codes
  • Domain News
  • Fat.ie – my diet blog
  • Film Posters
  • Film Reviews
  • Films
  • Free Desktop Wallpapers
  • Irish Blogger Discussion Forum
  • Irish Stamps
  • Movie Trailers and News
  • Paste.ie

Footer

Site hosted in Ireland by Blacknight - Content copyright Michele Neylon

Copyright © 2025 · Magazine Pro on Genesis Framework · WordPress · Log in