{"id":1898,"date":"2015-02-20T01:56:56","date_gmt":"2015-02-20T01:56:56","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=1898"},"modified":"2015-02-20T01:56:56","modified_gmt":"2015-02-20T01:56:56","slug":"server-time-off-in-ubuntu-14-04","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2015\/02\/20\/server-time-off-in-ubuntu-14-04\/","title":{"rendered":"Server time off in Ubuntu 14.04"},"content":{"rendered":"<p>To install ntp on Ubuntu, Linux or debian based distribitions<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n# apt-get update\n# apt-get install ntp\n\n<\/pre>\n<p>To install ntp on Fedora, Centos or redhat based distribitions<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n# yum install ntp\nAfter you set your timezone correcly, you should be able to synce your date and time with ntp command\n\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n# ntpdate pool.ntp.org\n\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n# ntpdate 0.ubuntu.pool.ntp.org\n19 Feb 18:42:09 \n<\/pre>\n<p>You can edit the file \/etc\/ntp.conf to control certain variables with the NTP service, and can start and stop the file using &#8220;\/etc\/init.d\/ntp [status|start|stop]&#8221;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To install ntp on Ubuntu, Linux or debian based distribitions # apt-get update # apt-get install ntp To install ntp on Fedora, Centos or redhat based distribitions # yum install ntp After you set your timezone correcly, you should be able to synce your date and time with ntp command # ntpdate pool.ntp.org # ntpdate &#8230; <a title=\"Server time off in Ubuntu 14.04\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2015\/02\/20\/server-time-off-in-ubuntu-14-04\/\" aria-label=\"Read more about Server time off in Ubuntu 14.04\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[117],"tags":[],"class_list":["post-1898","post","type-post","status-publish","format-standard","hentry","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/1898","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=1898"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/1898\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=1898"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=1898"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=1898"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}