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 ~]#
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 ~]#