build Nyrdex

設定時區

指令

sudo timedatectl set-timezone Asia/Taipei # 設定時區

timedatectl # 檢查現在所在時區

timedatectl list-timezones | grep Taipei # 列出所有可用的時區

使用情境

在 AlmaLinux 中修改系統時區,最推薦且最快的方式是透過命令列使用 timedatectl 指令。 VPS 在安裝系統時, 會使用當地的時區當作預設值

← 所有 AlmaLinux 指令