Created
March 25, 2015 03:36
-
-
Save chusiang/05d63d74cd6e7fab99ec to your computer and use it in GitHub Desktop.
Change Timezone to Taipei, Asia on CentOS.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ============================================================ | |
# Author: 凍仁翔 / chusiang.lai (at) gmail.com | |
# Blog: http://note.drx.tw | |
# Filename: change-timezone-centos.sh | |
# Modified: 2015-03-25 11:31 | |
# Description: Change Timezone to Taipei, Asia on CentOS. | |
# Reference: | |
# | |
# 1. Change Timezone in CentOS | Chris Jean | |
# - https://chrisjean.com/change-timezone-in-centos/ | |
# | |
# =========================================================== | |
sudo mv /etc/localtime /etc/localtime.ori | |
sudo ln -s /usr/share/zoneinfo/Asia/Taipei /etc/localtime |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment