<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Sync | Chia-An Lee</title><link>https://calee0219.github.io/tag/sync/</link><atom:link href="https://calee0219.github.io/tag/sync/index.xml" rel="self" type="application/rss+xml"/><description>Sync</description><generator>HugoBlox Kit (https://hugoblox.com)</generator><language>en-us</language><copyright>©</copyright><lastBuildDate>Mon, 09 Aug 2021 07:48:37 +0800</lastBuildDate><image><url>https://calee0219.github.io/media/icon_hu_da05098ef60dc2e7.png</url><title>Sync</title><link>https://calee0219.github.io/tag/sync/</link></image><item><title>時間問題</title><link>https://calee0219.github.io/blog/note_time/</link><pubDate>Mon, 09 Aug 2021 07:48:37 +0800</pubDate><guid>https://calee0219.github.io/blog/note_time/</guid><description>&lt;h2 id="雙系統時間同步問題"&gt;雙系統時間同步問題&lt;/h2&gt;
&lt;p&gt;
可選擇 linux 解法 or windows 解法，則一即可&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;windows
&lt;ul&gt;
&lt;li&gt;win + R 進入 regedit&lt;/li&gt;
&lt;li&gt;找到 &lt;code&gt;HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/TimeZoneInformation/&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;添加一项类型为 &lt;code&gt;REG_DWORD&lt;/code&gt; 的键值，命名为 &lt;code&gt;RealTimeIsUniversal&lt;/code&gt;，值为 &lt;code&gt;1&lt;/code&gt; 然后重启&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Linux
&lt;ul&gt;
&lt;li&gt;Ubuntu 16 down (not systemd)
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;sudo vim /etc/default/rcS&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;調整 &lt;code&gt;UTC=no&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;reboot&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Ubuntu 16 up (used systemd)
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-shell" data-lang="shell"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;timedatectl set-local-rtc &lt;span class="m"&gt;1&lt;/span&gt; --adjust-system-clock
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;reboot
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>