﻿# 修正 Linux 時區的方式

之前在安裝 Ubuntu 的時候不知道怎麼選的，時區選錯了，導致怎麼校時都不對，且都沒有現成的工具程式可以幫我切換。

其實只有三行指令要下而已，底下的範例是將時區切換到 Asia/Taipei 的時區：

```
cd /etc
mv localtime localtime.OLD
cp /usr/share/zoneinfo/Asia/Taipei /etc/localtime
```

調整完時區之後在做一次時間校正就可以了：

```
root@server:~# ntpdate tick.stdtime.gov.tw
29 Apr 19:09:41 ntpdate[7660]: adjust time server 220.130.158.51 offset 0.447079 sec
```

**相關連結**

-   [How to Change the Timezone in Linux](http://www.wikihow.com/Change-the-Timezone-in-Linux)
