Sunday, April 15, 2012

Setting server timezone on Debian

 

The interactive way

dpkg-reconfigure tzdata

The manual way

  1. echo 'Etc/UTC' > /etc/timezone or echo 'Asia/HongKong' > /etc/timezone
  2. dpkg-reconfigure --frontend noninteractive tzdata

No comments:

Post a Comment