How to set a timezone in CentOS?

centos
unix
(Dmitry Fedyuk) #1

Step 1

ln -s /usr/share/zoneinfo/Asia/Almaty /etc/localtime

Step 2

touch /etc/sysconfig/clock

I have set the following content to the file:

ZONE="Asia/Almaty"
UTC=true
ARC=false

Step 3

reboot
0 Likes