ITSupport
Saturday, January 2, 2016
Change the current timezone in CentOS
Method 1
# date
# cd /etc
# rm localtime
# cd /etc
# ln -s /usr/share/zoneinfo/Asia/Singapore localtime
Method 2
# cat /etc/timezone
Asia/Singapore
# vim /etc/timezone
Asia/Singapore
# export TZ=Asia/Singapore
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment