12 Feb

Linux: setting timezone to GMT

cp /etc/localtime /etc/localtime.default
ln -s /usr/share/zoneinfo/GMT-0 /etc/localtime

Here’s an example:

[root@d1 ~]# date
Sun Feb 12 10:24:25 CST 2017
[root@d ~]#

[root@d1 ~]# date
Sun Feb 12 16:24:51 GMT 2017
[root@d1 ~]#



Leave a Reply

Your email address will not be published. Required fields are marked *