{"id":223,"date":"2014-12-26T02:28:25","date_gmt":"2014-12-26T02:28:25","guid":{"rendered":"http:\/\/www.pir8geek.com\/?p=223"},"modified":"2014-12-26T02:28:25","modified_gmt":"2014-12-26T02:28:25","slug":"change-server-time-centos","status":"publish","type":"post","link":"https:\/\/www.jameseduard.com\/?p=223","title":{"rendered":"How to Change Server Time in CentOS"},"content":{"rendered":"<p>I just usually use HKT because it is the easiest and it is the same as PHT. (Philippines Time)<br \/>\n1. Open a SSH\/Terminal and type the following commands, and for windows user you can used putty to connect to server or you can access the Terminal by logging into VNC and right-clicking on the background, then select \u2018Terminal\u2019.<\/p>\n<pre>ln -sf \/usr\/share\/zoneinfo\/Hongkong \/etc\/localtime\n<\/pre>\n<p>Type in terminal to check your current time that has been setup.<\/p>\n<pre>date<\/pre>\n<p>Output on my linux CentOS VPS:<br \/>\n[root@localhost ~]#\u00a0ln -sf \/usr\/share\/zoneinfo\/Hongkong \/etc\/localtime<br \/>\n[root@localhost ~]#\u00a0date<br \/>\nFri Dec 26 10:33:32 PHT 2014<br \/>\n[root@localhost ~]#<br \/>\n<strong>Note:<\/strong><br \/>\nThe first two letters is LN in lower-case.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just usually use HKT because it is the easiest and it is the same as PHT. (Philippines Time) 1. Open a SSH\/Terminal and type the following commands, and for windows user you can used putty to connect to server or you can access the Terminal by logging into VNC and right-clicking on the background,<\/p>\n","protected":false},"author":1,"featured_media":773,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,47],"tags":[168,169],"class_list":["post-223","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-how-tos","tag-centos","tag-server-time"],"_links":{"self":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/posts\/223","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=223"}],"version-history":[{"count":0,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/posts\/223\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}