<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	 xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>ubuntu &#8211; PhalconHost Blog</title>
	<atom:link href="https://blog.phalconhost.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.phalconhost.com</link>
	<description>PhalconHost Blog</description>
	<lastBuildDate>Wed, 02 Nov 2022 06:41:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>การติดตั้ง NTP เพื่อ Sync เวลาบน Linux (Cent OS 6/7, Ubuntu)</title>
		<link>https://blog.phalconhost.com/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-ntp-%e0%b9%80%e0%b8%9e%e0%b8%b7%e0%b9%88%e0%b8%ad-sync-%e0%b9%80%e0%b8%a7%e0%b8%a5%e0%b8%b2%e0%b8%9a%e0%b8%99/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 03 Nov 2016 14:24:54 +0000</pubDate>
				<category><![CDATA[Server, VPS]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[ntp]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://blog.phalconhost.com/?p=420</guid>

					<description><![CDATA[<p>การติดตั้ง NTP เพื่อ Sync เวลาบน Linux เพื่อทำให้เวลาของเครื่องตรงมากที่สุด โดยสามารถติดตั้งง่ายๆ โดยใช้คำสั่งดังต่อไปนี้ CentOS 6 CentOS 7 Ubuntu เรียบร้อยครับ สามารถตรวจสอบว่า เวลาถูกต้องหรือไม่ โดยใช้คำสั่ง</p>
<p>The post <a rel="nofollow" href="https://blog.phalconhost.com/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-ntp-%e0%b9%80%e0%b8%9e%e0%b8%b7%e0%b9%88%e0%b8%ad-sync-%e0%b9%80%e0%b8%a7%e0%b8%a5%e0%b8%b2%e0%b8%9a%e0%b8%99/">การติดตั้ง NTP เพื่อ Sync เวลาบน Linux (Cent OS 6/7, Ubuntu)</a> appeared first on <a rel="nofollow" href="https://blog.phalconhost.com">PhalconHost Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>การติดตั้ง NTP เพื่อ Sync เวลาบน Linux เพื่อทำให้เวลาของเครื่องตรงมากที่สุด โดยสามารถติดตั้งง่ายๆ โดยใช้คำสั่งดังต่อไปนี้</p>



<span id="more-420"></span>



<h3 class="wp-block-heading">CentOS 6</h3>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
yum install ntp ntpdate -y 
chkconfig ntpd on 
/etc/init.d/ntpd start 
mv /etc/localtime /etc/localtime.bak 
ln -s /usr/share/zoneinfo/Asia/Bangkok /etc/localtime 
hwclock --systohc  
</pre></div>


<h3 class="wp-block-heading">CentOS 7</h3>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
yum -y install ntp
timedatectl set-timezone Asia/Bangkok
timedatectl
service ntpd restart
systemctl enable ntpd.service

</pre></div>


<h3 class="wp-block-heading">Ubuntu</h3>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
apt-get install ntp
timedatectl set-timezone Asia/Bangkok
timedatectl
service ntpd restart
</pre></div>


<p>เรียบร้อยครับ สามารถตรวจสอบว่า เวลาถูกต้องหรือไม่ โดยใช้คำสั่ง</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
date
</pre></div><p>The post <a rel="nofollow" href="https://blog.phalconhost.com/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-ntp-%e0%b9%80%e0%b8%9e%e0%b8%b7%e0%b9%88%e0%b8%ad-sync-%e0%b9%80%e0%b8%a7%e0%b8%a5%e0%b8%b2%e0%b8%9a%e0%b8%99/">การติดตั้ง NTP เพื่อ Sync เวลาบน Linux (Cent OS 6/7, Ubuntu)</a> appeared first on <a rel="nofollow" href="https://blog.phalconhost.com">PhalconHost Blog</a>.</p>
]]></content:encoded>
					
		
		
		
	</item>
	</channel>
</rss>
